apiVersion: apps/v1 kind: Deployment metadata: namespace: yelb-secure name: yelb-db spec: replicas: 1 selector: matchLabels: app: yelb-db tier: backenddb template: metadata: labels: app: yelb-db tier: backenddb spec: containers: - name: yelb-db image: mreferre/yelb-db:0.5 ports: - containerPort: 5432 command: ["docker-entrypoint.sh","postgres"]