keycloak/operator/app/src/main/resources/base-keycloak-deployment.yaml
2022-05-26 12:07:03 -03:00

56 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ""
spec:
selector:
matchLabels:
app: ""
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: ""
spec:
containers:
- args:
- start
imagePullPolicy: Always
name: keycloak
ports:
- containerPort: 8443
protocol: TCP
- containerPort: 8080
protocol: TCP
livenessProbe:
exec:
command:
- curl
- --insecure
- --head
- --fail
- --silent
- https://127.0.0.1:8443/health/live
initialDelaySeconds: 20
periodSeconds: 2
failureThreshold: 150
readinessProbe:
exec:
command:
- curl
- --insecure
- --head
- --fail
- --silent
- https://127.0.0.1:8443/health/ready
initialDelaySeconds: 20
periodSeconds: 2
failureThreshold: 250
dnsPolicy: ClusterFirst
restartPolicy: Always
terminationGracePeriodSeconds: 30