From 353687aeed250049ced27c862fa55421d9a68fb0 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sun, 22 Feb 2026 15:27:25 +0100 Subject: [PATCH] Disable service monitor 2 --- mbgwp/mariadb-cluster.yaml | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 mbgwp/mariadb-cluster.yaml diff --git a/mbgwp/mariadb-cluster.yaml b/mbgwp/mariadb-cluster.yaml new file mode 100644 index 0000000..fd02e6e --- /dev/null +++ b/mbgwp/mariadb-cluster.yaml @@ -0,0 +1,52 @@ +apiVersion: k8s.mariadb.com/v1alpha1 +kind: MariaDB +metadata: + name: mbgwp-mariadb + namespace: mbgwp +spec: + rootPasswordSecretKeyRef: + name: mbgwp-mariadb-credentials + key: root-password + + image: mariadb:11.4.5 + imagePullPolicy: IfNotPresent + + port: 3306 + + database: bitnami_wordpress + username: bn_wordpress + passwordSecretKeyRef: + name: mbgwp-mariadb-credentials + key: password + + storage: + size: 12Gi + storageClassName: longhorn + resizeInUseVolumes: true + waitForVolumeResize: true + + myCnf: | + [mysqld] + max_allowed_packet=64M + character-set-server=utf8mb4 + collation-server=utf8mb4_unicode_ci + innodb_buffer_pool_size=256M + innodb_log_file_size=64M + max_connections=150 + + resources: + requests: + cpu: 250m + memory: 512Mi + limits: + cpu: 1000m + memory: 1Gi + + metrics: + enabled: true + serviceMonitor: + enabled: false + interval: 30s + + updateStrategy: + type: RollingUpdate