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.
42 lines
1.0 KiB
42 lines
1.0 KiB
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
|
|
|