aboutsummaryrefslogtreecommitdiffstats
path: root/k8s/maria-deployment.yaml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-07-18 12:30:40 -0700
committerAdam Soltys <[email protected]>2021-07-18 12:30:40 -0700
commit345d69fe1e025bce409a7fde11320052aa9c7043 (patch)
treed03969bead13d740ab1cad698fc46f6d80fb695d /k8s/maria-deployment.yaml
parent22474406e9900af075c19e92bb38c37892da5fad (diff)
downloadcoinos-server-345d69fe1e025bce409a7fde11320052aa9c7043.tar.gz
coinos-server-345d69fe1e025bce409a7fde11320052aa9c7043.zip
kubernetes configs
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: {}