Skip to content

Commit 9bea128

Browse files
committed
More lightweight kafka probe, essentially the same thing
1 parent a98a9fa commit 9bea128

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

50kafka.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ spec:
4949
cpu: 100m
5050
memory: 512Mi
5151
readinessProbe:
52-
exec:
53-
command:
54-
- /bin/sh
55-
- -c
56-
- 'echo "" | nc -w 1 127.0.0.1 9092'
52+
tcpSocket:
53+
port: 9092
54+
timeoutSeconds: 10
5755
volumeMounts:
5856
- name: config
5957
mountPath: /etc/kafka

0 commit comments

Comments
 (0)