I have created K8S cluster with Rancher on DO(DigitalOcean) platform and behind the scene, it creates VPS(Droplet) to build the K8S cluster.
The way, how I have created on Rancher:
and choosed the DO plugin
On DO platform, you have the opportunity the create Load Balancers to add to K8S cluster, as described on https://www.digitalocean.com/docs/kubernetes/how-to/add-load-balancers/.
I have installed NGINX ingress on K8S via helm:
helm install ingress-nginx ingress-nginx/ingress-nginx --namespace nginx --set controller.publishService.enabled=true
and the status of the NGINX controller services shows:
k get service -n nginx
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
ingress-nginx-controller LoadBalancer 10.43.117.7 <pending> 80:31609/TCP,443:32247/TCP 103s
ingress-nginx-controller-admission ClusterIP 10.43.55.223 <none> 443/TCP 103s
Then I've created a load balancer with the following rules:
Afterwards I received an IP address. Therefore my question is, how to assign the IP to the ingress-nginx-controller?
asdf
and gotten the same result. You may want to edit the question to remove all those references. – Alan J Castonguay