Skip to content

Commit 485a36e

Browse files
authored
Merge pull request #61 from toolforge/multiinstance-mysql
database testing: remove failed experiments
2 parents 9fd2dd3 + 17b00ad commit 485a36e

File tree

4 files changed

+0
-98
lines changed

4 files changed

+0
-98
lines changed

paws/production.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
beta:
2-
mysql:
3-
enabled: true
4-
domain: analytics.db.svc.wikimedia.cloud
51
mysql:
62
domain: analytics.db.svc.eqiad.wmflabs
73
# TODO: remove this when the multiinstance replica proxy is removed

paws/templates/beta-db-proxy.yaml

Lines changed: 0 additions & 74 deletions
This file was deleted.

paws/templates/db-proxy.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ spec:
2525
- {{ printf "--proxy-backend-addresses=%s-mariadb.%s:3306" .Release.Name .Release.Namespace | quote }}
2626
{{- else }}
2727
- {{ printf "--proxy-backend-addresses=%s:3306" .Values.mysql.host | quote }}
28-
# TODO: enable this part when the 8 IP addresses are actually different
29-
# {{- with .Values.mysql }}
30-
# {{- $sections := untilStep 1 9 1 | toStrings }}
31-
# {{- $domain := .domain }}
32-
# {{- range $sections }}
33-
# - {{ printf "--proxy-backend-addresses=s%s.%s:3306" . $domain | quote }}
34-
# {{- end }}
35-
# {{- end }}
3628
{{- end }}
3729
- --proxy-address=0.0.0.0:3306
3830
- --proxy-skip-profiling

paws/values.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ jupyterhub:
183183
]
184184
185185
spawner.environment['MYSQL_HOST'] = os.environ['MYSQL_SERVICE_HOST']
186-
spawner.environment['BETA_MYSQL_HOST'] = os.environ['BETA_MYSQL_SERVICE_HOST']
187186
mysql_password = hmac.new(
188187
os.environ['MYSQL_HMAC_KEY'].encode('utf-8'),
189188
identity['username'].encode('utf-8'),
@@ -250,17 +249,6 @@ mysql:
250249
domain: "svc.cluster.local"
251250
username: s52771
252251
password: "iAmNotSecret0"
253-
# beta is for live testing features not ready for production use
254-
beta:
255-
mysql:
256-
enabled: false
257-
domain: "svc.cluster.local"
258-
dbProxy:
259-
image:
260-
name: quay.io/wikimedia-paws-prod/db-proxy
261-
tag: multiinstance
262-
# dbProxy.image.template safely defines image:tag name in yaml
263-
template: "{{ .Values.dbProxy.image.name}}:{{.Values.dbProxy.image.tag }}"
264252
# If not deployed for prod use, we use the Bitnami mediawiki chart for testing
265253
mediawikiHacks:
266254
image:

0 commit comments

Comments
 (0)