improve config readability
@@ -11,6 +11,13 @@ spec:
pxc:
size: 3
image: perconalab/pxc-openshift:0.2.0
+# imagePullSecrets:
+# - name: private-registry-credentials
+# priorityClassName: high-priority
+# annotations:
+# iam.amazonaws.com/role: role-arn
+# labels:
+# rack: rack-22
resources:
requests:
memory: 1G
@@ -18,31 +25,39 @@ spec:
# limits:
# memory: 1G
# cpu: "1"
- volumeSpec:
- # storageClass: standard
- accessModes: [ "ReadWriteOnce" ]
- size: 6Gi
+# nodeSelector:
+# disktype: ssd
affinity:
topologyKey: "kubernetes.io/hostname"
# advanced:
- # nodeSelector:
- # disktype: ssd
+# nodeAffinity:
+# requiredDuringSchedulingIgnoredDuringExecution:
+# nodeSelectorTerms:
+# - matchExpressions:
+# - key: kubernetes.io/e2e-az-name
+# operator: In
+# values:
+# - e2e-az1
+# - e2e-az2
# tolerations:
# - key: "node.alpha.kubernetes.io/unreachable"
# operator: "Exists"
# effect: "NoExecute"
# tolerationSeconds: 6000
- # priorityClassName: high-priority
- # annotations:
- # iam.amazonaws.com/role: role-arn
- # imagePullSecrets:
- # - name: private-registry-credentials
- # labels:
- # rack: rack-22
+ volumeSpec:
+# storageClass: standard
+ accessModes: [ "ReadWriteOnce" ]
+ size: 6Gi
proxysql:
enabled: true
size: 1
image: perconalab/proxysql-openshift:0.2.0
+# imagePullSecrets:
+# - name: private-registry-credentials
+# annotations:
+# iam.amazonaws.com/role: role-arn
+# labels:
+# rack: rack-22
resources:
requests:
memory: 1G
@@ -50,20 +65,30 @@ spec:
# limits:
# memory: 1G
# cpu: 700m
- volumeSpec:
- # storageClass: standard
- accessModes: [ "ReadWriteOnce" ]
- size: 2Gi
- # affinity:
- # topologyKey: "failure-domain.beta.kubernetes.io/zone"
- # # advanced:
+# priorityClassName: high-priority
# nodeSelector:
# disktype: ssd
+ affinity:
+ topologyKey: "kubernetes.io/hostname"
+# advanced:
+# nodeAffinity:
+# requiredDuringSchedulingIgnoredDuringExecution:
+# nodeSelectorTerms:
+# - matchExpressions:
+# - key: kubernetes.io/e2e-az-name
+# operator: In
+# values:
+# - e2e-az1
+# - e2e-az2
# tolerations:
# - key: "node.alpha.kubernetes.io/unreachable"
# operator: "Exists"
# effect: "NoExecute"
# tolerationSeconds: 6000
+ volumeSpec:
+# storageClass: standard
+ accessModes: [ "ReadWriteOnce" ]
+ size: 2Gi
pmm:
enabled: false
image: perconalab/pmm-client:1.17.0
@@ -79,4 +104,5 @@ spec:
keep: 3
volume:
# storageClass: standard
+ accessModes: [ "ReadWriteOnce" ]
size: 6Gi
