I have packaged a custom helm chart and did
helm install announcements /helm
When I go to kubectl get pods
and kubectl get deploy
it shows the pods and deployments are up.
However, when I try to go to the Service IP to see the application, it hangs. I then try to do the command given by the helm install:
export SERVICE_IP=$(kubectl get svc --namespace default announcements-helm --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}")
And then I get the error:
error: error executing template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}": template: output:1:10: executing "output" at <index .status.loadBalancer.ingress 0>: error calling index: index of untyped nil
I’m very new to Helm and Kubernetes, so I’m not sure what to try to fix this. Any advice?