From 345d69fe1e025bce409a7fde11320052aa9c7043 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 18 Jul 2021 12:30:40 -0700 Subject: kubernetes configs --- k8s/maria-deployment.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 k8s/maria-deployment.yaml (limited to 'k8s/maria-deployment.yaml') 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: {} -- cgit v1.2.3