diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | bootstrap/pv-template.yml | 6 | ||||
-rwxr-xr-x | bootstrap/pv.sh | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -17,7 +17,7 @@ Alternatively create [PV](http://kubernetes.io/docs/user-guide/persistent-volume ``` ./bootstrap/pv.sh -kubectl create -f ./bootstrap/pvc.yml +kubectl create -f ./10pvc.yml # check that claims are bound kubectl -n kafka get pvc ``` diff --git a/bootstrap/pv-template.yml b/bootstrap/pv-template.yml index e58bfb2..befb6b6 100644 --- a/bootstrap/pv-template.yml +++ b/bootstrap/pv-template.yml @@ -10,7 +10,7 @@ spec: accessModes: - ReadWriteOnce capacity: - storage: 100Mi + storage: 200Gi hostPath: path: /tmp/k8s-data/datadir-kafka-0 --- @@ -25,7 +25,7 @@ spec: accessModes: - ReadWriteOnce capacity: - storage: 100Mi + storage: 200Gi hostPath: path: /tmp/k8s-data/datadir-kafka-1 --- @@ -40,6 +40,6 @@ spec: accessModes: - ReadWriteOnce capacity: - storage: 100Mi + storage: 200Gi hostPath: path: /tmp/k8s-data/datadir-kafka-2 diff --git a/bootstrap/pv.sh b/bootstrap/pv.sh index 78bf7f5..c12787b 100755 --- a/bootstrap/pv.sh +++ b/bootstrap/pv.sh @@ -1,6 +1,6 @@ #!/bin/bash -echo "Note that in for example GKE a PetSet will have PersistentVolume(s) and PersistentVolumeClaim(s) created for it automatically" +echo "Note that in for example GKE a StatefulSet will have PersistentVolume(s) and PersistentVolumeClaim(s) created for it automatically" dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" path="$dir/data" |