Skip to content

Commit

Permalink
helm: use proxy_tablets
Browse files Browse the repository at this point in the history
The redirect leads to a 404. However, adding a /debug/status to
the redirect URL does work. So, this is still an improvement.

I'll make a separate PR to append the /debug/status to the redirect
URL, which will fix this good. Then we'll have to build another helm
image.

Signed-off-by: Sugu Sougoumarane <[email protected]>
  • Loading branch information
sougou committed Apr 26, 2020
1 parent 7517e48 commit 9177efa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions helm/vitess/templates/_vtctld.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ spec:
-grpc_port=15999
-service_map="grpc-vtctl"
-topo_global_root=/vitess/global
-proxy_tablets=true
{{- if eq ($cell.topologyProvider | default "") "etcd2" }}
-topo_implementation="etcd2"
-topo_global_server_address="etcd-global-client.{{ $namespace }}:2379"
Expand Down
10 changes: 5 additions & 5 deletions helm/vitess/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ etcd:
# Default values for vtctld resources defined in 'topology'
vtctld:
serviceType: ClusterIP
vitessTag: helm-2.0.0-0
vitessTag: helm-2.0.1-0
resources:
# requests:
# cpu: 100m
Expand All @@ -193,7 +193,7 @@ vtctld:
# Default values for vtgate resources defined in 'topology'
vtgate:
serviceType: ClusterIP
vitessTag: helm-2.0.0-0
vitessTag: helm-2.0.1-0
resources:
# requests:
# cpu: 500m
Expand All @@ -212,13 +212,13 @@ vtgate:

# Default values for vtctlclient resources defined in 'topology'
vtctlclient:
vitessTag: helm-2.0.0-0
vitessTag: helm-2.0.1-0
extraFlags: {}
secrets: [] # secrets are mounted under /vt/usersecrets/{secretname}

# Default values for vtworker resources defined in 'jobs'
vtworker:
vitessTag: helm-2.0.0-0
vitessTag: helm-2.0.1-0
extraFlags: {}
resources:
# requests:
Expand All @@ -229,7 +229,7 @@ vtworker:

# Default values for vttablet resources defined in 'topology'
vttablet:
vitessTag: helm-2.0.0-0
vitessTag: helm-2.0.1-0

# valid values are
# - mysql56 (for MySQL 8.0)
Expand Down

0 comments on commit 9177efa

Please sign in to comment.