apiVersion: apps/v1 kind: Deployment metadata: name: ${APP_NAME} namespace: ${NAMESPACE} labels: app: ${APP_NAME} spec: replicas: ${REPLICAS} selector: matchLabels: app: ${APP_NAME} template: metadata: labels: app: ${APP_NAME} annotations: armsPilotAutoEnable: "on" armsPilotCreateAppName: "${APP_NAME}" spec: containers: - name: ${APP_NAME} image: ${IMAGE} imagePullPolicy: "Always" ports: - containerPort: ${PORT} livenessProbe: httpGet: scheme: HTTP path: /actuator/health/liveness port: 1024 initialDelaySeconds: 30 periodSeconds: 10 readinessProbe: httpGet: scheme: HTTP path: /actuator/health/readiness port: 1024 initialDelaySeconds: 30 periodSeconds: 10 imagePullSecrets: - name: kp-schbrain