diff options
-rw-r--r-- | 50kafka.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/50kafka.yml b/50kafka.yml index 0f0956e..c39ba9e 100644 --- a/50kafka.yml +++ b/50kafka.yml @@ -60,11 +60,9 @@ spec: cpu: 100m memory: 512Mi readinessProbe: - exec: - command: - - /bin/sh - - -c - - 'echo "" | nc -w 1 127.0.0.1 9092' + tcpSocket: + port: 9092 + timeoutSeconds: 1 volumeMounts: - name: config mountPath: /etc/kafka |