apiVersion: apps/v1 kind: Deployment metadata: name: territory-autobattler-locations namespace: territory-autobattler labels: app: territory-autobattler-locations spec: replicas: 2 selector: matchLabels: app: territory-autobattler-locations template: metadata: labels: app: territory-autobattler-locations spec: containers: - name: territory-autobattler-locations image: territory-autobattler-locations:latest imagePullPolicy: IfNotPresent ports: - containerPort: 8080 envFrom: - configMapRef: name: territory-autobattler-locations-config - secretRef: name: territory-autobattler-locations-secrets readinessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 5 periodSeconds: 10