Skip to content

Commit 72ec5ab

Browse files
committed
1 parent 2507955 commit 72ec5ab

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

bootstrap/pvc.yml renamed to 10pvc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
- ReadWriteOnce
1010
resources:
1111
requests:
12-
storage: 100Mi
12+
storage: 200Gi
1313
selector:
1414
matchLabels:
1515
app: kafka
@@ -25,7 +25,7 @@ spec:
2525
- ReadWriteOnce
2626
resources:
2727
requests:
28-
storage: 100Mi
28+
storage: 200Gi
2929
selector:
3030
matchLabels:
3131
app: kafka
@@ -41,7 +41,7 @@ spec:
4141
- ReadWriteOnce
4242
resources:
4343
requests:
44-
storage: 100Mi
44+
storage: 200Gi
4545
selector:
4646
matchLabels:
4747
app: kafka

20dns.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
apiVersion: v1
44
kind: Service
55
metadata:
6-
annotations:
7-
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
86
name: broker
97
namespace: kafka
108
spec:

50kafka.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
apiVersion: apps/v1alpha1
2-
kind: PetSet
1+
apiVersion: apps/v1beta1
2+
kind: StatefulSet
33
metadata:
44
name: kafka
55
namespace: kafka
@@ -10,14 +10,11 @@ spec:
1010
metadata:
1111
labels:
1212
app: kafka
13-
annotations:
14-
pod.alpha.kubernetes.io/initialized: "true"
15-
pod.alpha.kubernetes.io/init-containers: '[
16-
]'
1713
spec:
14+
terminationGracePeriodSeconds: 10
1815
containers:
1916
- name: broker
20-
image: solsson/kafka-persistent:0.10.1.0
17+
image: solsson/kafka-persistent:0.10.1@sha256:110f9e866acd4fb9e059b45884c34a210b2f40d6e2f8afe98ded616f43b599f9
2118
ports:
2219
- containerPort: 9092
2320
command:
@@ -30,11 +27,8 @@ spec:
3027
volumeClaimTemplates:
3128
- metadata:
3229
name: datadir
33-
namespace: kafka
34-
annotations:
35-
volume.alpha.kubernetes.io/storage-class: anything
3630
spec:
3731
accessModes: [ "ReadWriteOnce" ]
3832
resources:
3933
requests:
40-
storage: 100Mi
34+
storage: 200Gi

0 commit comments

Comments
 (0)