File tree Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Expand file tree Collapse file tree 2 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 62
62
63
63
exit 0
64
64
---
65
+ apiVersion : batch/v1
66
+ kind : Job
67
+ metadata :
68
+ name : topic-test-kafkacat
69
+ namespace : test-kafka
70
+ spec :
71
+ template :
72
+ spec :
73
+ containers :
74
+ - name : topic-create
75
+ image : solsson/kafka:1.0.0@sha256:17fdf1637426f45c93c65826670542e36b9f3394ede1cb61885c6a4befa8f72d
76
+ command :
77
+ - ./bin/kafka-topics.sh
78
+ - --zookeeper
79
+ - zookeeper.kafka.svc.cluster.local:2181
80
+ - --create
81
+ - --if-not-exists
82
+ - --topic
83
+ - test-kafkacat
84
+ - --partitions
85
+ - " 1"
86
+ - --replication-factor
87
+ - " 2"
88
+ restartPolicy : Never
89
+ ---
65
90
apiVersion : apps/v1beta2
66
91
kind : ReplicaSet
67
92
metadata :
Original file line number Diff line number Diff line change 45
45
46
46
exit 0
47
47
---
48
+ apiVersion : batch/v1
49
+ kind : Job
50
+ metadata :
51
+ name : topic-test-produce-consume
52
+ namespace : test-kafka
53
+ spec :
54
+ template :
55
+ spec :
56
+ containers :
57
+ - name : topic-create
58
+ image : solsson/kafka:1.0.0@sha256:17fdf1637426f45c93c65826670542e36b9f3394ede1cb61885c6a4befa8f72d
59
+ command :
60
+ - ./bin/kafka-topics.sh
61
+ - --zookeeper
62
+ - zookeeper.kafka.svc.cluster.local:2181
63
+ - --create
64
+ - --if-not-exists
65
+ - --topic
66
+ - test-produce-consume
67
+ - --partitions
68
+ - " 1"
69
+ - --replication-factor
70
+ - " 2"
71
+ restartPolicy : Never
72
+ ---
48
73
apiVersion : apps/v1beta2
49
74
kind : ReplicaSet
50
75
metadata :
You can’t perform that action at this time.
0 commit comments