cancel
Showing results for 
Search instead for 
Did you mean: 
ricardodacosta
Moderator
Moderator
  • 2,337 Views

Want to get started with OpenShift and Containers? Start here with minishift!

We make a number of wonderful resources avaiable at https://developers.redhat.com and the starting point for this post is to get you started with the Red Hat Container Development Kit or CDK for short.

The CDK runs on a number of Operating Systems, so getting it up and running is fairly straightforward when you follow our instructions here.

Once you have the CDK up and running, have a look at this article: https://developers.redhat.com/articles/cdk-nodejs-openshift-web-console/

2 Replies
oldbenko
Moderator
Moderator
  • 2,330 Views

I think a really clever solution to being able to use routes without a local DNS (or continuously shuffling about /etc/hosts) is the use of xip.io and nip.io!

Those DNS servers are configured in a way that will always return the IP of your local OpenShift instance by simply prepending its current address to the domain name. For example, if your cluster is currently running with an IP of 192.168.3.99, and your application is called hello-world:

$ host hello-world.192.168.3.99.nip.io
hello-world.192.168.3.99.nip.io has address 192.168.3.99

$ host hello-world.192.168.3.99.xip.io
hello-world.192.168.3.99.xip.io has address 192.168.3.99

Both CDK and Minishift use xip.io by default, but if yours isn't for some reason, the setting called routing-suffix can be used to control this:

$ cdk config get routing-suffix
192.168.3.99.xip.io
A black cat crossing the street signifies that the animal is going somewhere.
[don't forget to kudo a helpful post or mark it as a solution!]
buvaneshkumar
Mission Specialist
Mission Specialist
  • 2,317 Views

If any one don't want to install anything on their machine and want to learn openshift, don't forget to checkout this - https://learn.openshift.com 

Join the discussion
You must log in to join this conversation.