apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -f ../docker-compose.yaml kompose.version: 1.34.0 (cbf2835db) labels: io.kompose.service: dl-db-subscription name: dl-db-subscription spec: replicas: 1 selector: matchLabels: io.kompose.service: dl-db-subscription strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -f ../docker-compose.yaml kompose.version: 1.34.0 (cbf2835db) labels: io.kompose.service: dl-db-subscription spec: containers: - env: - name: POSTGRES_DB value: dl-db-subscription - name: POSTGRES_PASSWORD value: Welcome@1 - name: POSTGRES_USER value: humbingo image: postgres:16 name: dl-db-subscription ports: - containerPort: 5432 protocol: TCP volumeMounts: - mountPath: /var/lib/postgresql/data name: dl-db-subscription-claim0 restartPolicy: Always volumes: - name: dl-db-subscription-claim0 persistentVolumeClaim: claimName: dl-db-subscription-claim0