Steps to replace nip.io with xip.io in CDK/Minishift

Red Hat Logo

If you’re a Red Hat Container Development Kit (CDK) or upstream Minishift user, you would have been affected by the unavailability of nip.io. When you create a route for an application running in OpenShift (provided by Minishift) it uses nip.io for routing to the Minishift VM IP address. As a result, it is impossible to access the route created with nip.io suffix.

Unfortunately, it has been more than 24 hours and nip.io is not up yet. So here are the steps for using xip.io in Minishift instead of nip.io.

  1. Get the IP address of the Minishift VM.
    • $ minishift ip
  2. To set the routing suffix to xip.io, run the following command after the IP-ADDRESS with the actual IP address you found from the previous command.
    • $ minishift openshift config set –patch ‘{“routingConfig”:{“subdomain”:”<IP-ADDRESS>.xip.io”}}’

For details refer the Minishift documentation: https://docs.openshift.org/latest/minishift/openshift/openshift-client-binary.html#example-change-openshift-routing-suffix

Share