aboutsummaryrefslogtreecommitdiff
path: root/50kafka.yml
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-06-27 12:26:52 +0200
committerStaffan Olsson <staffan@repos.se>2017-06-27 12:26:54 +0200
commit411192d3d6bc06984d93556fa5867225203d8aed (patch)
treea6a989483ec43ae1dc759c599478cdfe05d9aa3e /50kafka.yml
parente5ba57eba0131adb3bc7a20f1323489e63aeb715 (diff)
downloadkubernetes-kafka-411192d3d6bc06984d93556fa5867225203d8aed.tar.gz
kubernetes-kafka-411192d3d6bc06984d93556fa5867225203d8aed.tar.bz2
kubernetes-kafka-411192d3d6bc06984d93556fa5867225203d8aed.zip
Reverts to default termination period, and uses bash for "shell form"...
as Alpine's /bin/busybox (ash) does not forward signals, according to https://pracucci.com/graceful-shutdown-of-kubernetes-pods.html The reason for the termination period change is that we haven't observed any termination behavior yet so we can't know how slow it might be.
Diffstat (limited to '50kafka.yml')
-rw-r--r--50kafka.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/50kafka.yml b/50kafka.yml
index 2a3faf6..4a57f3d 100644
--- a/50kafka.yml
+++ b/50kafka.yml
@@ -14,7 +14,7 @@ spec:
prometheus.io/scrape: "true"
prometheus.io/port: "5556"
spec:
- terminationGracePeriodSeconds: 10
+ terminationGracePeriodSeconds: 30
containers:
- name: metrics
image: solsson/kafka-prometheus-jmx-exporter@sha256:1f7c96c287a2dbec1d909cd8f96c0656310239b55a9a90d7fd12c81f384f1f7d
@@ -35,7 +35,7 @@ spec:
ports:
- containerPort: 9092
command:
- - sh
+ - /bin/bash
- -c
- >
./bin/kafka-server-start.sh