Skip to content

Instantly share code, notes, and snippets.

@Smana
Created December 5, 2019 06:59
Show Gist options
  • Save Smana/45b382d27aaafd7ecba9588ef9b6d023 to your computer and use it in GitHub Desktop.
Save Smana/45b382d27aaafd7ecba9588ef9b6d023 to your computer and use it in GitHub Desktop.
Vitess memory issue
topology:
cells:
- name: "zone1"
etcd:
replicas: 3
vtctld:
replicas: 1
vtgate:
replicas: 2
mysqlProtocol:
enabled: true
authType: "none"
keyspaces:
- name: "my_db"
shards:
- name: "0"
tablets:
- type: "replica"
vttablet:
replicas: 3
etcd:
replicas: 3
resources:
vtctld:
serviceType: "NodePort"
resources:
vtgate:
serviceType: "NodePort"
extraFlags:
mysql_server_version: "5.7.24-Vitess"
resources:
limits:
cpu: 4
memory: 3G
vttablet:
mysqlImage: mysql:5.7.24
resources:
limits:
cpu: 3
memory: 8Gi
extraMyCnf: extra-vttablet-mycnf
mysqlResources:
limits:
cpu: 3
memory: 8Gi
dataVolumeClaimSpec:
storageClassName: "fast-extensible"
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: "300Gi"
vtworker:
resources:
pmm:
enabled: true
orchestrator:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment