You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> kubectl -n my-namespace get svc my-service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
my-service LoadBalancer 10.43.185.136 <pending> 1234:31787/TCP 10s
If I add a selector to my service, or If I remove externalTrafficPolicy: Local, the external IP is correctly set. But I don't need a selector for egress purpose, and I need externalTrafficPolicy: Local from kube-vip documentation.
Environment (please complete the following information):
Describe the bug
I would like to set the egress IP to connect to a service outside the k8s cluster.
For this purpose, I create an endpointslice :
And a service without selector : https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors
With kube-vip egress requirements : https://kube-vip.io/docs/usage/egress/#using-kube-vip-egress
But the external-ip stay in pending state :
If I add a
selector
to my service, or If I removeexternalTrafficPolicy: Local
, the external IP is correctly set. But I don't need aselector
for egress purpose, and I needexternalTrafficPolicy: Local
from kube-vip documentation.Environment (please complete the following information):
Kube-vip.yaml
:Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: