hi, how can I deploy nginx to kubernetes, get exte...
# general
s
hi, how can I deploy nginx to kubernetes, get external IP from google cloud of that loadbalancer and attach a domain to that IP? Currently I deploy nginx using
kubernetes:<http://helm.sh/v3:Release|helm.sh/v3:Release>
but I can't find a way to get the IP address from within pulumi itself. I can use python or other way but I though
kubernetes.core/v1.ServiceList
or similar could describe a kubernetes service.
d
How are you creating the IP address currently?
s
I don't it's assigned automatically. I can create one in pulumi, use that in helm value and then use it again to attach to a domain? Did I just answer my own question ?
d
🙂
You'll be able to use this to create the IP in GCP: https://www.pulumi.com/registry/packages/gcp/api-docs/compute/globaladdress/
s
thank you , was just reading it 🙂