migrated to 2 containers
This commit is contained in:
@@ -31,6 +31,7 @@ spec:
|
||||
containers:
|
||||
- image: docker-registry.lan/mariadb:arm64
|
||||
name: mariadb
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
# Use secret in real usage
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
@@ -41,6 +42,12 @@ spec:
|
||||
volumeMounts:
|
||||
- name: mariadb-persistent-storage
|
||||
mountPath: /var/lib/mysql
|
||||
- image: docker-registry.lan/mariadb-prometheus-exporter:arm64
|
||||
name: mariadb-prometheus-exporter
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 9104
|
||||
name: metrics
|
||||
volumes:
|
||||
- name: mariadb-persistent-storage
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user