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.
 
 
 
 
 

39 lines
931 B

apiVersion: apps/v1
kind: Deployment
metadata:
name: auth-db-application
labels:
app: auth-db-application
spec:
replicas: 1
selector:
matchLabels:
app: auth-db-application
template:
metadata:
labels:
app: auth-db-application
spec:
containers:
- name: auth-db
image: slaventius/test3k_auth_db:latest
imagePullPolicy: Always
ports:
- containerPort: 9995
envFrom:
- configMapRef:
name: auth-db-config
livenessProbe:
grpc:
port: 9995
periodSeconds: 1
initialDelaySeconds: 2
failureThreshold: 3
successThreshold: 1
readinessProbe:
grpc:
port: 9995
periodSeconds: 1
initialDelaySeconds: 4
failureThreshold: 3
successThreshold: 1