Skip to content

service annotation(kubernetes.io/elb.id) or service.spec.loadBalancerIP is not defined, skip.

You need to set elb.id as service annotation or set loadBalancerIP in specs. Example yaml:

apiVersion: v1
kind: Service
metadata:
  name: test-svc
  annotations:
    kubernetes.io/elb.id: "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXX"
spec:
  type: LoadBalancer
  selector:
    app: test-app
  ports:
  - port: 4000
    targetPort: 3000

Published inHuawei Cloud
© 2024 M.Sertaç Bayır - All Rights Reserved