apiVersion: extensions/v1beta1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert --file docker-stack-k8s.yml kompose.version: 1.11.0 (39ad614) creationTimestamp: null labels: io.kompose.service: db name: db spec: replicas: 1 strategy: type: Recreate template: metadata: creationTimestamp: null labels: io.kompose.service: db spec: containers: - image: docker-server/docker-org/postgres:9.4 name: db restartPolicy: Always imagePullSecrets: - name: regcred restartPolicy: Always status: {}