apiVersion: apps/v1 kind: StatefulSet metadata: creationTimestamp: "2025-10-11T10:52:52Z" generation: 1 name: openstack-galera namespace: openstack ownerReferences: - apiVersion: mariadb.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: Galera name: openstack uid: e9d5f848-b97b-4ee8-b36b-67dee4500eac resourceVersion: "37379" uid: 10b6897c-289d-4519-a43d-7f10e5e2fa58 spec: persistentVolumeClaimRetentionPolicy: whenDeleted: Retain whenScaled: Retain podManagementPolicy: Parallel replicas: 3 revisionHistoryLimit: 10 selector: matchLabels: app: galera cr: galera-openstack galera/name: openstack galera/namespace: openstack galera/uid: e9d5f848-b97b-4ee8-b36b-67dee4500eac owner: mariadb-operator service: openstack-galera serviceName: openstack-galera template: metadata: creationTimestamp: null labels: app: galera cr: galera-openstack galera/name: openstack galera/namespace: openstack galera/uid: e9d5f848-b97b-4ee8-b36b-67dee4500eac owner: mariadb-operator service: openstack-galera spec: affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: - podAffinityTerm: labelSelector: matchExpressions: - key: service operator: In values: - openstack-galera topologyKey: kubernetes.io/hostname weight: 100 containers: - command: - /usr/bin/dumb-init - -- - /usr/local/bin/kolla_start env: - name: CR_CONFIG_HASH value: nc6h66dh646h565hffh699h559h596h698h5cch577h9bhb6h5c4h56fhf4h696hdh56dhc8h8ch5d5h5cchd7h589h94hb6h599hbch5d4hfh5bcq - name: KOLLA_CONFIG_STRATEGY value: COPY_ALWAYS - name: DB_ROOT_PASSWORD valueFrom: secretKeyRef: key: DbRootPassword name: osp-secret image: quay.io/podified-antelope-centos9/openstack-mariadb@sha256:56b75d97f4a48c8cf58b3a7c18c43618efb308bf0188124f6301142e61299b0c imagePullPolicy: IfNotPresent lifecycle: preStop: exec: command: - /bin/bash - /var/lib/operator-scripts/mysql_shutdown.sh livenessProbe: exec: command: - /bin/bash - /var/lib/operator-scripts/mysql_probe.sh - liveness failureThreshold: 3 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 name: galera ports: - containerPort: 3306 name: mysql protocol: TCP - containerPort: 4567 name: galera protocol: TCP readinessProbe: exec: command: - /bin/bash - /var/lib/operator-scripts/mysql_probe.sh - readiness failureThreshold: 3 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 1 resources: {} startupProbe: exec: command: - /bin/bash - /var/lib/operator-scripts/mysql_probe.sh - startup - "240" failureThreshold: 1 periodSeconds: 10 successThreshold: 1 timeoutSeconds: 250 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/lib/mysql name: mysql-db subPath: mysql - mountPath: /var/lib/config-data/default name: config-data-default readOnly: true - mountPath: /var/lib/config-data/generated name: config-data-generated - mountPath: /var/lib/secrets name: secrets readOnly: true - mountPath: /var/lib/operator-scripts name: operator-scripts readOnly: true - mountPath: /var/lib/kolla/config_files name: kolla-config readOnly: true - mountPath: /var/lib/config-data/tls/certs/galera.crt name: galera-tls-certs readOnly: true subPath: tls.crt - mountPath: /var/lib/config-data/tls/private/galera.key name: galera-tls-certs readOnly: true subPath: tls.key - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem name: combined-ca-bundle readOnly: true subPath: tls-ca-bundle.pem dnsPolicy: ClusterFirst initContainers: - command: - bash - /var/lib/operator-scripts/mysql_bootstrap.sh env: - name: KOLLA_BOOTSTRAP value: "True" - name: KOLLA_CONFIG_STRATEGY value: COPY_ALWAYS - name: DB_ROOT_PASSWORD valueFrom: secretKeyRef: key: DbRootPassword name: osp-secret image: quay.io/podified-antelope-centos9/openstack-mariadb@sha256:56b75d97f4a48c8cf58b3a7c18c43618efb308bf0188124f6301142e61299b0c imagePullPolicy: IfNotPresent name: mysql-bootstrap resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/lib/mysql name: mysql-db subPath: mysql - mountPath: /var/lib/config-data/default name: config-data-default readOnly: true - mountPath: /var/lib/config-data/generated name: config-data-generated - mountPath: /var/lib/secrets name: secrets readOnly: true - mountPath: /var/lib/operator-scripts name: operator-scripts readOnly: true - mountPath: /var/lib/kolla/config_files name: kolla-config readOnly: true restartPolicy: Always schedulerName: default-scheduler securityContext: {} serviceAccount: galera-openstack serviceAccountName: galera-openstack terminationGracePeriodSeconds: 30 volumes: - name: secrets secret: defaultMode: 420 items: - key: DbRootPassword path: dbpassword secretName: osp-secret - configMap: defaultMode: 420 items: - key: config.json path: config.json name: openstack-config-data name: kolla-config - emptyDir: {} name: config-data-generated - configMap: defaultMode: 420 items: - key: galera.cnf.in path: galera.cnf.in - key: galera_custom.cnf.in path: galera_custom.cnf.in - key: galera_tls.cnf.in path: galera_tls.cnf.in name: openstack-config-data name: config-data-default - configMap: defaultMode: 420 items: - key: mysql_bootstrap.sh path: mysql_bootstrap.sh - key: mysql_probe.sh path: mysql_probe.sh - key: mysql_shutdown.sh path: mysql_shutdown.sh - key: detect_last_commit.sh path: detect_last_commit.sh - key: detect_gcomm_and_start.sh path: detect_gcomm_and_start.sh - key: mysql_wsrep_notify.sh path: mysql_wsrep_notify.sh name: openstack-scripts name: operator-scripts - name: galera-tls-certs secret: defaultMode: 256 secretName: cert-galera-openstack-svc - name: combined-ca-bundle secret: defaultMode: 292 secretName: combined-ca-bundle updateStrategy: rollingUpdate: partition: 0 type: RollingUpdate volumeClaimTemplates: - apiVersion: v1 kind: PersistentVolumeClaim metadata: creationTimestamp: null labels: app: galera cr: galera-openstack galera/name: openstack galera/namespace: openstack galera/uid: e9d5f848-b97b-4ee8-b36b-67dee4500eac owner: mariadb-operator service: openstack-galera name: mysql-db spec: accessModes: - ReadWriteOnce resources: requests: storage: 5G storageClassName: lvms-local-storage volumeMode: Filesystem status: phase: Pending status: availableReplicas: 3 collisionCount: 0 currentReplicas: 3 currentRevision: openstack-galera-69cb64ffd7 observedGeneration: 1 readyReplicas: 3 replicas: 3 updateRevision: openstack-galera-69cb64ffd7 updatedReplicas: 3