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
1007 B
42 lines
1007 B
2 years ago
|
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:
|
||
2 years ago
|
- secretRef:
|
||
|
name: auth-db-secret
|
||
2 years ago
|
- configMapRef:
|
||
|
name: auth-db-config
|
||
2 years ago
|
# livenessProbe:
|
||
|
# grpc:
|
||
|
# port: 9995
|
||
|
# periodSeconds: 1
|
||
|
# initialDelaySeconds: 2
|
||
|
# failureThreshold: 3
|
||
|
# successThreshold: 1
|
||
|
# readinessProbe:
|
||
|
# grpc:
|
||
|
# port: 9995
|
||
|
# periodSeconds: 1
|
||
|
# initialDelaySeconds: 4
|
||
|
# failureThreshold: 3
|
||
|
# successThreshold: 1
|