apiVersion: apps/v1 kind: Deployment metadata: name: auth-db-application labels: app: auth-db-application spec: replicas: 1 selector: matchLabels: app: auth-db-application template: metadata: labels: app: auth-db-application spec: containers: - name: auth-db image: slaventius/test3k_auth_db:latest imagePullPolicy: Always ports: - containerPort: 9995 envFrom: - configMapRef: name: auth-db-config livenessProbe: grpc: port: 9995 periodSeconds: 1 initialDelaySeconds: 2 failureThreshold: 3 successThreshold: 1 readinessProbe: grpc: port: 9995 periodSeconds: 1 initialDelaySeconds: 4 failureThreshold: 3 successThreshold: 1