Question
configuring ssl and protocols in loadbalancer from kubernetes
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?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×