Open rohullah-ramish opened 2 years ago
I had the same issue. Looks like this doesn't work if the external IP for the load balancer is in pending
state.
Hi @ttanay, thank you for reporting the issue. Will discuss with the team. Meanwhile, do share more info to reproduce the issue.
when i run This command export SERVICE_IP=$(kubectl get svc --namespace default my-release-rudderstack --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}") i am getting 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
here is the full details NAME: my-release LAST DEPLOYED: Mon Jun 20 12:00:19 2022 NAMESPACE: default STATUS: deployed REVISION: 1 NOTES: NOTE: It may take a few minutes for the URL to be available. You can watch the status of by running 'kubectl get --namespace default svc -w my-release-rudderstack'
Execute the following commands for Data plane URL: ########################## export SERVICE_IP=$(kubectl get svc --namespace default my-release-rudderstack --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}") echo "Data plane URL: http://$SERVICE_IP:80" #########################
Check /health to see the status apple@apples-MacBook-Pro-2 rudderstack-helm % export SERVICE_IP=$(kubectl get svc --namespace default my-release-rudderstack --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}") 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