apiVersion: apps/v1 kind: Deployment metadata: name: auth-application labels: app: auth-application spec: replicas: 3 selector: matchLabels: app: auth-application template: metadata: labels: app: auth-application spec: containers: - name: auth-application image: slaventius/test3k_auth:latest imagePullPolicy: Always ports: - containerPort: 9994 envFrom: - secretRef: name: auth-secret - configMapRef: name: auth-config livenessProbe: tcpSocket: port: 9994 periodSeconds: 1 initialDelaySeconds: 2 failureThreshold: 3 successThreshold: 1 readinessProbe: httpGet: path: /api/v1/healthz port: 9994 periodSeconds: 1 initialDelaySeconds: 4 failureThreshold: 3 successThreshold: 1