github.com/percona/percona-xtradb-cluster-operator@v1.14.0/e2e-tests/limits/compare/statefulset_no-requests-no-limits-pxc-increased-oc.yml (about) 1 apiVersion: apps/v1 2 kind: StatefulSet 3 metadata: 4 generation: 1 5 name: no-requests-no-limits-pxc 6 ownerReferences: 7 - controller: true 8 kind: PerconaXtraDBCluster 9 name: no-requests-no-limits 10 spec: 11 podManagementPolicy: OrderedReady 12 replicas: 3 13 revisionHistoryLimit: 10 14 selector: 15 matchLabels: 16 app.kubernetes.io/component: pxc 17 app.kubernetes.io/instance: no-requests-no-limits 18 app.kubernetes.io/managed-by: percona-xtradb-cluster-operator 19 app.kubernetes.io/name: percona-xtradb-cluster 20 app.kubernetes.io/part-of: percona-xtradb-cluster 21 serviceName: no-requests-no-limits-pxc 22 template: 23 metadata: 24 labels: 25 app.kubernetes.io/component: pxc 26 app.kubernetes.io/instance: no-requests-no-limits 27 app.kubernetes.io/managed-by: percona-xtradb-cluster-operator 28 app.kubernetes.io/name: percona-xtradb-cluster 29 app.kubernetes.io/part-of: percona-xtradb-cluster 30 spec: 31 containers: 32 - args: 33 - mysqld 34 command: 35 - /var/lib/mysql/pxc-entrypoint.sh 36 env: 37 - name: PXC_SERVICE 38 value: no-requests-no-limits-pxc-unready 39 - name: MONITOR_HOST 40 value: '%' 41 - name: MYSQL_ROOT_PASSWORD 42 valueFrom: 43 secretKeyRef: 44 key: root 45 name: internal-no-requests-no-limits 46 - name: XTRABACKUP_PASSWORD 47 valueFrom: 48 secretKeyRef: 49 key: xtrabackup 50 name: internal-no-requests-no-limits 51 - name: MONITOR_PASSWORD 52 valueFrom: 53 secretKeyRef: 54 key: monitor 55 name: internal-no-requests-no-limits 56 - name: OPERATOR_ADMIN_PASSWORD 57 valueFrom: 58 secretKeyRef: 59 key: operator 60 name: internal-no-requests-no-limits 61 - name: LIVENESS_CHECK_TIMEOUT 62 value: "5" 63 - name: READINESS_CHECK_TIMEOUT 64 value: "15" 65 - name: DEFAULT_AUTHENTICATION_PLUGIN 66 value: mysql_native_password 67 envFrom: 68 - secretRef: 69 name: no-requests-no-limits-env-vars-pxc 70 optional: true 71 imagePullPolicy: Always 72 livenessProbe: 73 exec: 74 command: 75 - /var/lib/mysql/liveness-check.sh 76 failureThreshold: 3 77 initialDelaySeconds: 300 78 periodSeconds: 10 79 successThreshold: 1 80 timeoutSeconds: 5 81 name: pxc 82 ports: 83 - containerPort: 3306 84 name: mysql 85 protocol: TCP 86 - containerPort: 4444 87 name: sst 88 protocol: TCP 89 - containerPort: 4567 90 name: write-set 91 protocol: TCP 92 - containerPort: 4568 93 name: ist 94 protocol: TCP 95 - containerPort: 33062 96 name: mysql-admin 97 protocol: TCP 98 - containerPort: 33060 99 name: mysqlx 100 protocol: TCP 101 readinessProbe: 102 exec: 103 command: 104 - /var/lib/mysql/readiness-check.sh 105 failureThreshold: 5 106 initialDelaySeconds: 15 107 periodSeconds: 30 108 successThreshold: 1 109 timeoutSeconds: 15 110 resources: {} 111 terminationMessagePath: /dev/termination-log 112 terminationMessagePolicy: File 113 volumeMounts: 114 - mountPath: /var/lib/mysql 115 name: datadir 116 - mountPath: /etc/percona-xtradb-cluster.conf.d 117 name: config 118 - mountPath: /tmp 119 name: tmp 120 - mountPath: /etc/mysql/ssl 121 name: ssl 122 - mountPath: /etc/mysql/ssl-internal 123 name: ssl-internal 124 - mountPath: /etc/mysql/mysql-users-secret 125 name: mysql-users-secret-file 126 - mountPath: /etc/my.cnf.d 127 name: auto-config 128 - mountPath: /etc/mysql/vault-keyring-secret 129 name: vault-keyring-secret 130 - mountPath: /etc/mysql/init-file 131 name: mysql-init-file 132 dnsPolicy: ClusterFirst 133 initContainers: 134 - command: 135 - /pxc-init-entrypoint.sh 136 imagePullPolicy: Always 137 name: pxc-init 138 resources: 139 limits: 140 cpu: 50m 141 memory: 50M 142 terminationMessagePath: /dev/termination-log 143 terminationMessagePolicy: File 144 volumeMounts: 145 - mountPath: /var/lib/mysql 146 name: datadir 147 restartPolicy: Always 148 schedulerName: default-scheduler 149 securityContext: 150 supplementalGroups: 151 - 1001 152 serviceAccount: default 153 serviceAccountName: default 154 terminationGracePeriodSeconds: 600 155 volumes: 156 - emptyDir: {} 157 name: tmp 158 - configMap: 159 defaultMode: 420 160 name: no-requests-no-limits-pxc 161 optional: true 162 name: config 163 - name: ssl-internal 164 secret: 165 defaultMode: 420 166 optional: true 167 secretName: some-name-ssl-internal 168 - name: ssl 169 secret: 170 defaultMode: 420 171 optional: false 172 secretName: some-name-ssl 173 - configMap: 174 defaultMode: 420 175 name: auto-no-requests-no-limits-pxc 176 optional: true 177 name: auto-config 178 - name: vault-keyring-secret 179 secret: 180 defaultMode: 420 181 optional: true 182 secretName: no-requests-no-limits-vault 183 - name: mysql-users-secret-file 184 secret: 185 defaultMode: 420 186 optional: false 187 secretName: internal-no-requests-no-limits 188 - name: mysql-init-file 189 secret: 190 defaultMode: 420 191 optional: true 192 secretName: no-requests-no-limits-mysql-init 193 updateStrategy: 194 rollingUpdate: 195 partition: 0 196 type: RollingUpdate 197 volumeClaimTemplates: 198 - metadata: 199 name: datadir 200 spec: 201 accessModes: 202 - ReadWriteOnce 203 resources: 204 requests: 205 storage: 6Gi 206 status: 207 phase: Pending