Skip to content

Commit ce8676a

Browse files
committed
Merge branch 'kafka-readiness-tcp' into kubernetes-1.8-test
2 parents 0e96487 + 9bea128 commit ce8676a

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
@@ -62,11 +62,9 @@ spec:
6262
cpu: 100m
6363
memory: 512Mi
6464
readinessProbe:
65-
exec:
66-
command:
67-
- /bin/sh
68-
- -c
69-
- 'echo "" | nc -w 1 127.0.0.1 9092'
65+
tcpSocket:
66+
port: 9092
67+
timeoutSeconds: 10
7068
volumeMounts:
7169
- name: config
7270
mountPath: /etc/kafka

0 commit comments

Comments
 (0)