feat(flink): add readiness and liveness probe
This commit is contained in:
@@ -2,5 +2,5 @@ apiVersion: v2
|
||||
name: flink-kube-operator
|
||||
description: Helm chart for flink kube operator
|
||||
type: application
|
||||
version: 0.1.4
|
||||
version: 0.1.5
|
||||
appVersion: "0.1.0"
|
||||
|
||||
@@ -23,6 +23,14 @@ spec:
|
||||
- name: flink
|
||||
image: {{ .Values.flink.image.repository }}:{{ .Values.flink.image.tag }}
|
||||
imagePullPolicy: Always
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8081
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8081
|
||||
ports:
|
||||
- containerPort: 8081 # JobManager Web UI port
|
||||
- containerPort: 6121 # TaskManager communication port
|
||||
|
||||
Reference in New Issue
Block a user