From 3b27b26568b3b696494c7c915d98cc9c6a529093 Mon Sep 17 00:00:00 2001 From: "edward.zeng" Date: Tue, 5 Jul 2022 11:26:16 +0800 Subject: [PATCH] Refine kafka deployment (#342) Signed-off-by: Edward Zeng --- charts/milvus/Chart.yaml | 2 +- charts/milvus/values.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/milvus/Chart.yaml b/charts/milvus/Chart.yaml index ff805ae6..5584b0c5 100644 --- a/charts/milvus/Chart.yaml +++ b/charts/milvus/Chart.yaml @@ -3,7 +3,7 @@ name: milvus appVersion: "2.0.2" kubeVersion: "^1.10.0-0" description: Milvus is an open-source vector database built to power AI applications and vector similarity search. -version: 3.0.25 +version: 3.0.26 keywords: - milvus - elastic diff --git a/charts/milvus/values.yaml b/charts/milvus/values.yaml index ce3ddbf5..2f2dae67 100644 --- a/charts/milvus/values.yaml +++ b/charts/milvus/values.yaml @@ -642,6 +642,12 @@ kafka: image: repository: bitnami/kafka tag: 3.1.0-debian-10-r52 + ## Increase graceful termination for kafka graceful shutdown + terminationGracePeriodSeconds: "90" + + ## Enable startup probe to prevent pod restart during recovering + startupProbe: + enabled: true ## Kafka Java Heap size heapOpts: "-Xmx4096m -Xms4096m"