Skip to content

Commit efb1019

Browse files
committed
Forks can tweak storage classes, but here we want setup to be simple...
and with the mix of PV and emptyDir there's no reason to make PVs faster than host disks. Use 10GB as it is the minimum for standard disks on GKE.
1 parent 4a16d4f commit efb1019

File tree

4 files changed

+1
-21
lines changed

4 files changed

+1
-21
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ To get consistent service DNS names `kafka-N.broker.kafka`(`.svc.cluster.local`)
88
kubectl create -f 00namespace.yml
99
```
1010

11-
## Prepare your cluster
12-
13-
For Minikube run `kubectl create -f configure-minikube/`.
14-
15-
There's a similar setup for gke, in `configure-gke` of course. You might want to tweak it before creating.
16-
1711
## Set up volume claims
1812

1913
You may add [storage class](http://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses)

configure-gke/storageclass-zookeeper-gke.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

configure-minikube/storageclass-zookeeper-minikube.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

zookeeper/50pzoo.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ spec:
6161
volumeClaimTemplates:
6262
- metadata:
6363
name: data
64-
annotations:
65-
volume.beta.kubernetes.io/storage-class: kafka-zookeeper
6664
spec:
6765
accessModes: [ "ReadWriteOnce" ]
6866
resources:
6967
requests:
70-
storage: 1Gi
68+
storage: 10Gi

0 commit comments

Comments
 (0)