apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml kompose.version: 1.26.0 (40646f47) creationTimestamp: null labels: io.kompose.service: mysql app.kubernetes.io/part-of: CN-noNRF name: mysql spec: replicas: 1 selector: matchLabels: io.kompose.service: mysql strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -f ./docker-compose-basic-nonrf.yaml kompose.version: 1.26.0 (40646f47) k8s.v1.cni.cncf.io/networks: oai-db-net creationTimestamp: null labels: io.kompose.network/demo-oai-public-net: "true" io.kompose.service: mysql spec: serviceAccountName: oai-sa nodeSelector: kubernetes.io/hostname: ocp-w-3.lab.ocp.lan containers: - env: - name: MYSQL_DATABASE value: oai_db - name: MYSQL_PASSWORD value: test - name: MYSQL_ROOT_PASSWORD value: linux - name: MYSQL_USER value: test - name: TZ value: Europe/Paris image: mysql:8.0 livenessProbe: exec: command: - /bin/bash -c "/tmp/mysql-healthcheck.sh" failureThreshold: 30 periodSeconds: 10 timeoutSeconds: 5 name: mysql resources: {} volumeMounts: - mountPath: /docker-entrypoint-initdb.d/ name: mysql-claim0 - mountPath: /tmp/mysql-healthcheck.sh name: mysql-claim1 restartPolicy: Always volumes: - name: mysql-claim0 persistentVolumeClaim: claimName: mysql-claim0 - name: mysql-claim1 persistentVolumeClaim: claimName: mysql-claim1 status: {}