Glam Prestige Journal

Bright entertainment trends with youth appeal.

today I was reading a blog post and I discovered a service called nip.io It allows to easily resolve local domains.

I have Docker for Mac where I run Kubernetes, I am trying to run some services and be able to access from my local network

I wrote a yaml file for ingress

apiVersion: extensions/v1beta1
kind: Ingress
metadata: namespace: "localservices" name: "localservices-ingress"
spec: rules: - host: "localservices.192.168.0.101.nip.io" http: paths: - backend: serviceName: "my-service-1" servicePort: 80 path: "/service-1" - backend: serviceName: "my-service-2" servicePort: 80 path: "/service-2"

Then I applied the file

kubectl apply -f localservices.ingress.yml

It seems that there is something blocking the domain resolution

I tried adding to /etc/hosts

8.8.8.8 nip.io

and to /etc/resolv.conf

8.8.8.8

I am willing to understand why this is not working and the way to fix it

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy