aboutsummaryrefslogtreecommitdiffstats
path: root/k8s/maria-deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'k8s/maria-deployment.yaml')
-rw-r--r--k8s/maria-deployment.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/k8s/maria-deployment.yaml b/k8s/maria-deployment.yaml
new file mode 100644
index 00000000..2d2de2a1
--- /dev/null
+++ b/k8s/maria-deployment.yaml
@@ -0,0 +1,43 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria
+ name: maria
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ io.kompose.service: maria
+ strategy:
+ type: Recreate
+ template:
+ metadata:
+ annotations:
+ kompose.cmd: kompose convert
+ kompose.version: 1.22.0 (955b78124)
+ creationTimestamp: null
+ labels:
+ io.kompose.service: maria
+ spec:
+ containers:
+ - env:
+ - name: MARIADB_ROOT_PASSWORD
+ image: mariadb:10.6.1
+ name: mariadb
+ ports:
+ - containerPort: 3306
+ resources: {}
+ volumeMounts:
+ - mountPath: /var/lib/mysql
+ name: maria-claim0
+ restartPolicy: Always
+ volumes:
+ - name: maria-claim0
+ persistentVolumeClaim:
+ claimName: maria-claim0
+status: {}