Prefer local ingress endpoints behind k3s ServiceLB
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 31s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 31s
This commit is contained in:
1 parent
2a08898a23
commit
47589988bf
1 file changed
+4
@@ -16,6 +16,10 @@ spec:
|
|||||||
service:
|
service:
|
||||||
spec:
|
spec:
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
|
# ServiceLB masquerades clients as pod traffic before the NodePort hop,
|
||||||
|
# which bypasses externalTrafficPolicy. Prefer the ingress on this node
|
||||||
|
# for that cluster-policy path as well.
|
||||||
|
trafficDistribution: PreferSameNode
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: workload
|
- key: workload
|
||||||
operator: Equal
|
operator: Equal
|
||||||
|
|||||||
Reference in new issue
Block a user