Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Mixed protocols for Azure LoadBalancer is working as expected #73849
Mixed protocols LoadBalacer services are not supported by apiserver. It will decline those services with error "cannot create an external load balancer with non-TCP/UDP ports". Hence #67986 added another annotation
apiVersion: v1 kind: Service metadata: annotations: service.beta.kubernetes.io/azure-load-balancer-mixed-protocols: "true" name: web namespace: default spec: ports: - port: 80 protocol: TCP targetPort: 80 selector: app: web sessionAffinity: None type: LoadBalancer
However, this is still not working. The UDP LB rule is still not created by the above service.
What you expected to happen:
Both TCP and UDP rules created for the service.
How to reproduce it (as minimally and precisely as possible):
Create a service with above annotation.
Anything else we need to know?:
@feiskyer I tried with the above exact service config, and it works well on my k8s v1.13.3 cluster created by aks-engine, how can I repro that error?