Files
territory-autobattler/microservices/LocationsApi/k8s/deployment.yaml
T

35 lines
934 B
YAML

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