Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the default externalTrafficPolicy to be Local for TiDB service #947

Merged
merged 2 commits into from
Sep 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deploy/modules/aliyun/tidb-cluster/values/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ tidb:
logLevel: info
service:
type: LoadBalancer
externalTrafficPolicy: Local
exposeStatus: true
annotations:
service.beta.kubernetes.io/alicloud-loadbalancer-address-type: intranet
Expand Down
1 change: 1 addition & 0 deletions deploy/modules/aws/tidb-cluster/values/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tikv:
tidb:
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
service.beta.kubernetes.io/aws-load-balancer-internal: '0.0.0.0/0'
service.beta.kubernetes.io/aws-load-balancer-type: nlb
Expand Down
1 change: 1 addition & 0 deletions deploy/modules/gcp/tidb-cluster/values/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tikv:
tidb:
service:
type: LoadBalancer
externalTrafficPolicy: Local
annotations:
cloud.google.com/load-balancer-type: "Internal"
separateSlowLog: true
Expand Down