Please how do i get the cluster host name for my application deployed on kubernetes on google cloud
You will need to get an external IP first:
kubectl get svc --all-namespaces -o jsonpath='{range .items[?(@.spec.type=="LoadBalancer")]}{.metadata.name}:{.status.loadBalancer.ingress[0].ip}{"\n"}{end}'
Once you have the IP, you can go to the website where you registered your domain and create an A record to point to that external IP.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Please how do i get the cluster host name for my application deployed on kubernetes on google cloud
You will need to get an external IP first:
Once you have the IP, you can go to the website where you registered your domain and create an A record to point to that external IP.