I am trying to get my load balancer configured from kubernetes
I have been told that the way to do this is by using annotations
I am using helm to install my load balancer and nginx ingress: stable/nginx-ingress
The way to configure that is by using the values.yaml file
I have the following in my values.yaml:
service:
annotations:
service.beta.kubernetes.io/do-loadbalancer-protocol: "https"
service.beta.kubernetes.io/do-loadbalancer-redirect-http-to-https: "true"
service.beta.kubernetes.io/do-loadbalancer-certificate-id: "cert-id-from-do-api"
labels: {}
clusterIP: ""
You can see that it has taken inside my k8s dashboard as it shows up in the annotations section for my load balancer
However, after waiting a fair amount of time the load balancer isn’t updated in my DO dashboard.
Has anyone got this working?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey friend,
Great question! I’m not an expert on this particular subject but I wanted to get you an answer. This is what I received from Nicholas on our support team:
“Can they share their full manifest or maybe open a ticket if they don’t want to do that on Community? They should only need to create a kind: Service with type: LoadBalancer, but nginx-ingress will do that automatically and update the LB based on whatever services they expose and the kind: Ingress they create.”
Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.