We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2def5 commit e83aaa3Copy full SHA for e83aaa3
ops/test/replicated-partitions.yml renamed to maintenance/test/replicated-partitions.yml
@@ -19,22 +19,28 @@ spec:
19
- name: kafka
20
image: solsson/kafka:1.0.0@sha256:17fdf1637426f45c93c65826670542e36b9f3394ede1cb61885c6a4befa8f72d
21
command:
22
- - tail
23
- - -f
24
- - /dev/null
+ - /bin/bash
+ - -ec
+ - >
25
+ touch /tmp/testlog;
26
+ tail -f /tmp/testlog
27
readinessProbe:
28
exec:
29
30
- /bin/bash
31
- -c
32
- >
33
+ echo "### $(date -Ins -u) ###" >> /tmp/testlog
34
+ &&
35
[
36
$(
37
./bin/kafka-topics.sh
38
--zookeeper zookeeper.kafka:2181
39
--describe
40
--under-replicated-partitions
41
|
42
+ tee -a /tmp/testlog
43
+ |
44
wc -l
45
)
46
-eq
0 commit comments