Open folago opened 6 years ago
we need to support both protocols. But given the k8s service spec and our LB spec, they don't see eye to eye. So we need to create two different service in case a single k8s service expose ports on various protocols. This is the reason for our clustername-namespace-svc-protocol
naming convention.
Apparently services of type loadBalancer can only have one protocol.
The Service "service-test" is invalid: spec.ports: Invalid value: []core.ServicePort{core.ServicePort{Name:"http", Protocol:"TCP", Port:80, TargetPort:intstr.IntOrString{Type:0, IntVal:80, StrVal:""}, NodePort:0}, core.ServicePort{Name:"unreal", Protocol:"UDP", Port:80, TargetPort:intstr.IntOrString{Type:0, IntVal:80, StrVal:""}, NodePort:0}}: cannot create an external load balancer with mix protocols