mspider/best-practice/multinet-control/ #4149
Replies: 1 comment 1 reply
-
关于多集群流量负载的用例图片中的 yaml 不正确,需要加上 outlierDetection $ kubectl --context="${CTX_PRIMARY}" apply -n sample -f - <<EOF
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
name: helloworld
spec:
host: helloworld.sample.svc.cluster.local
trafficPolicy:
loadBalancer:
localityLbSetting:
enabled: true
distribute:
- from: region1/zone1/*
to:
"region1/zone1/*": 70
"region1/zone2/*": 20
"region3/zone4/*": 10
outlierDetection:
consecutive5xxErrors: 100
interval: 1s
baseEjectionTime: 1m
EOF |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
mspider/best-practice/multinet-control/
DaoCloud Enterprise 5.0 下一代容器化平台集大成者,引领云原生浪潮,推动数字化转型。
https://docs.daocloud.io/mspider/best-practice/multinet-control/
Beta Was this translation helpful? Give feedback.
All reactions