apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.26.1 (a9d05d509) creationTimestamp: null labels: io.kompose.service: mysql name: mysql spec: replicas: 1 selector: matchLabels: io.kompose.service: mysql strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.26.1 (a9d05d509) creationTimestamp: null labels: io.kompose.service: mysql spec: containers: - env: - name: MYSQL_DATABASE value: next-terminal - name: MYSQL_PASSWORD value: next-terminal - name: MYSQL_ROOT_PASSWORD value: next-terminal - name: MYSQL_USER value: next-terminal image: mysql:8.0 name: mysql resources: {} volumeMounts: - mountPath: /var/lib/mysql name: mysql-claim0 restartPolicy: Always volumes: - name: mysql-claim0 persistentVolumeClaim: claimName: mysql-claim0 status: {}