Skip to content

Commit

Permalink
Forks can tweak storage classes, but here we want setup to be simple...
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
solsson committed Jun 26, 2017
1 parent 4a16d4f commit efb1019
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ To get consistent service DNS names `kafka-N.broker.kafka`(`.svc.cluster.local`)
kubectl create -f 00namespace.yml
```

## Prepare your cluster

For Minikube run `kubectl create -f configure-minikube/`.

There's a similar setup for gke, in `configure-gke` of course. You might want to tweak it before creating.

## Set up volume claims

You may add [storage class](http://kubernetes.io/docs/user-guide/persistent-volumes/#storageclasses)
Expand Down
7 changes: 0 additions & 7 deletions configure-gke/storageclass-zookeeper-gke.yml

This file was deleted.

5 changes: 0 additions & 5 deletions configure-minikube/storageclass-zookeeper-minikube.yml

This file was deleted.

4 changes: 1 addition & 3 deletions zookeeper/50pzoo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ spec:
volumeClaimTemplates:
- metadata:
name: data
annotations:
volume.beta.kubernetes.io/storage-class: kafka-zookeeper
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 1Gi
storage: 10Gi

0 comments on commit efb1019

Please sign in to comment.