feat(flink): add readiness and liveness probe

This commit is contained in:
2024-12-20 17:57:55 +03:30
parent 8fa99f4ea8
commit b6e2838756
4 changed files with 25 additions and 7 deletions

View File

@@ -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"

View File

@@ -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