Skip to content

Ingress

Nicholas Wilde edited this page Feb 9, 2021 · 8 revisions

My charts use the nip.io wild card DNS for the Ingress addresses.

Set Ingress Host

Make sure the IP address in nip.io address match that of your ingress controller/load balancer.

Get the load balancer IP address (192.168.1.203) from the kube-system namespace.

$ kubectl get service --namespace kube-system
NAME                 TYPE           CLUSTER-IP     EXTERNAL-IP     PORT(S)                      AGE
traefik              LoadBalancer   10.43.103.59   192.168.1.203   80:31457/TCP,443:30202/TCP   52d

The ingress host will then be chartname.192.168.1.203.nip.io which can then be set in your values.yaml file or as an argument in the the helm command.

Get Ingress Host

$ kubectl get ingress --namespace chart-namespace
NAME        CLASS    HOSTS                            ADDRESS         PORTS   AGE
chartname   <none>   chartname.192.168.1.203.nip.io   192.168.1.203   80      5d

Update Ingress Host

$ kubectl edit ingress --namespace chart-namespace

Troubleshooting

See Troubleshooting

Clone this wiki locally