Good day,
I am trying to implement ingress and create a domain name for my kubernetes dashboard, unfortunately when creating my first ingress configuration file for my dashboard the IP address is not showing. I am a bit confused where the problem could be, whether it is due to different namespaces or the ingress controller is missing after installing the ingress repo. Anyone can help?
kubectl -n kubernetes-dashboard get ingress
NAME CLASS HOSTS ADDRESS PORTS AGE
dashboard-ingress <none> dashboard.com 80 37m
I have installed ingress components using chart source helm version 2
https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/
My ingress deployment are all in my default namespace
kubectl get all
NAME READY STATUS RESTARTS AGE
pod/my-release-nginx-ingress-7cf7574fbb-qlzrn 1/1 Running 0 96m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/my-release-nginx-ingress LoadBalancer 10.188.165.24 <pending> 80:31684/TCP,443:31237/TCP 96m
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/my-release-nginx-ingress 1/1 1 1 96m
NAME DESIRED CURRENT READY AGE
replicaset.apps/my-release-nginx-ingress-7cf7574fbb 1 1 1 96m
My kubernetes dashboard are in the kubernetes-dashboard namespace
kubectl -n kubernetes-dashboard get all
NAME READY STATUS RESTARTS AGE
pod/dashboard-metrics-scraper-6b4884c9d5-lcgwk 1/1 Running 1 23h
pod/kubernetes-dashboard-65ffcb7778-xrwnc 1/1 Running 0 4h23m
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/dashboard-metrics-scraper ClusterIP 10.135.465.1 <none> 8000/TCP 23h
service/kubernetes-dashboard ClusterIP 10.106.27.54 <none> 443/TCP 23h
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/dashboard-metrics-scraper 1/1 1 1 23h
deployment.apps/kubernetes-dashboard 1/1 1 1 23h
NAME DESIRED CURRENT READY AGE
replicaset.apps/dashboard-metrics-scraper-6b4884c9d5 1 1 1 23h
replicaset.apps/kubernetes-dashboard-65ffcb7778 1 1 1 4h23m
replicaset.apps/kubernetes-dashboard-67768d44c 0 0 0 23h
replicaset.apps/kubernetes-dashboard-98f9b854b 0 0 0 4h24m
Ingress YAML file
apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: dashboard-ingress namespace: kubernetes-dashboard spec: rules: - host: dashboard.com http: paths: - backend: serviceName: kubernetes-dashboard servicePort: 443
Cluster information:
Kubernetes version: v1.18.5
bare-metal being used: Ubuntu 18.04 Virtual machines
Installation method: kubeadm
Host OS: VMware workstation