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 7480401 commit d36551fCopy full SHA for d36551f
addon-logs/topic-ops-kube-logs-raw.yml
@@ -0,0 +1,32 @@
1
+apiVersion: batch/v1
2
+kind: Job
3
+metadata:
4
+ name: topic-ops-kube-logs-raw
5
+ namespace: kafka
6
+spec:
7
+ template:
8
+ metadata:
9
+ labels:
10
+ app: topic-create
11
+ topic-id: ops-kube-logs-raw
12
+ topic-gen: "001"
13
+ spec:
14
+ containers:
15
+ - name: kafka
16
+ image: solsson/kafka:0.11.0.0@sha256:4c194db2ec15698aca6f1aa8a2fd5e5c566caed82b4bf43446c388f315397756
17
+ command:
18
+ - ./bin/kafka-topics.sh
19
+ - --zookeeper
20
+ - zookeeper:2181
21
+ - --create
22
+ - --if-not-exists
23
+ - --topic
24
+ - ops-kube-logs-raw-001
25
+ - --partitions
26
+ - "1"
27
+ - --replication-factor
28
29
+ - --config
30
+ # this might be eight days
31
+ - retention.ms=69125000
32
+ restartPolicy: Never
0 commit comments