You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
764 B

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:
- configMapRef:
name: auth-config
readinessProbe:
httpGet:
path: /api/v1/health
port: 9994
periodSeconds: 1
initialDelaySeconds: 3
failureThreshold: 2
successThreshold: 1