scaleway / scaleway-cloud-controller-manager

Kubernetes Cloud Controller Manager for Scaleway
Apache License 2.0
53 stars 19 forks source link

set scw-loadbalancer-certificate-ids after deployment #42

Closed spprod35 closed 4 years ago

spprod35 commented 4 years ago

Hi,

I am trying to pass a certificate ID into my loadbalancer. I have a problem: I created and then assigned the letencrypt certificate manually on the scaleway element web interface to my port 443. When horizontal scaling pod this trigger, that it needs a new node, with each new node the certificate is removed from loadbalancing. Am I doing something wrong:

# service for web
apiVersion: v1
kind: Service

metadata:
  labels:
    service: web
  name: web
  namespace: jitsi
  annotations:
    service.beta.kubernetes.io/scw-loadbalancer-certificate-ids: dc580e41-cf1f-xxxx-xxxx-5fe460885d56
spec:
  type: LoadBalancer
  ports:
    - name: "http"
      protocol: TCP
      port: 80
      nodePort: 30080
      targetPort: 80
    - name: "https"
      protocol: TCP
      port: 443
      nodePort: 30443
      targetPort: 80
    - name: "muc"
      protocol: TCP
      port: 5347
      nodePort: 30347
      targetPort: 5347
    - name: "c2s"
      protocol: TCP
      port: 5222
      nodePort: 30222
      targetPort: 5222
    - name: "5280"
      protocol: TCP
      port: 5280
      nodePort: 30280
      targetPort: 5280
  selector:
    k8s-app: jitsi-web
Sh4d1 commented 4 years ago

Hey 👋 Do you use it with Kapsule ? The latest version is not deployed yet 😅

spprod35 commented 4 years ago

Hey 👋 Do you use it with Kapsule ? The latest version is not deployed yet 😅

Hello I use this service with Kapsule but certificat does not work. I need to set certificate manually on scaleway Interface.

What is the latest version ?

Regards,

Sh4d1 commented 4 years ago

The latest version is now dpeloyed to all new clusters, you can either trigger an upgrade to the same version to get the new release, or create a new cluster 😄