DEV Community

loading...

Discussion on: Expose a Kubernetes service on your own custom domain

Collapse
peterj profile image
Peter Jausovec Author

Hi Sanjay!

Assuming you have an existing static IP, you can edit the ingress service in Kubernetes and use loadBalancerIP: 1.1.1.1 field to set a static IP address. For example:

kind: Service
...
spec: 
   type: LoadBalancer
   loadBalancerIP: 1.1.1.1
...