nginx-ingress-controller NULL endpoint

380 views
Skip to first unread message

RouR

unread,
Jan 13, 2018, 4:49:02 PM1/13/18
to Kubernetes user discussion and Q&A
Hi!

Can you check my yaml files?

Steps:
2. kubectl create -f ./
3. cd dev
4. kubectl create -f ./
5. wait deployment
6. kubectl get --all-namespaces ing -o wide

NAMESPACE   NAME          HOSTS     ADDRESS   PORTS     AGE
dev         web-ingress   *                   80        13m

There is no endpoint/address. 

I tried to change namespaces and images.


> kubectl get nodes
NAME       STATUS    ROLES     AGE       VERSION
minikube   Ready     <none>    3h        v1.8.0


> kubectl get services --all-namespaces
NAMESPACE       NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
default         kubernetes             ClusterIP   10.96.0.1       <none>        443/TCP                      4h
dev             web-service            ClusterIP   10.111.22.32    <none>        80/TCP                       3h
ingress-nginx   default-http-backend   ClusterIP   10.110.232.9    <none>        80/TCP                       3h
ingress-nginx   ingress-nginx          NodePort    10.110.64.203   <none>        80:31824/TCP,443:31181/TCP   3h
kube-system     heapster               ClusterIP   10.111.139.88   <none>        80/TCP                       3h
kube-system     kube-dns               ClusterIP   10.96.0.10      <none>        53/UDP,53/TCP                4h
kube-system     kubernetes-dashboard   NodePort    10.98.208.102   <none>        80:30000/TCP                 4h
kube-system     monitoring-grafana     NodePort    10.110.37.141   <none>        8011:30700/TCP               3h
kube-system     monitoring-influxdb    ClusterIP   10.100.177.72   <none>        8086/TCP                     3h 

Everything is green in dashboard, all pods and services is ok.

RouR

unread,
Jan 15, 2018, 11:49:16 AM1/15/18
to Kubernetes user discussion and Q&A
> kubectl exec -ti busybox -- rm healthz
> kubectl exec -ti busybox -- wget http://default-http-backend.ingress-nginx/healthz
Connecting to default-http-backend.ingress-nginx (10.110.232.9:80)
healthz              100% |*******************************|     2   0:00:00 ETA

The ingress pod is working.

Reply all
Reply to author
Forward
0 new messages