diff options
author | Staffan Olsson <staffan@repos.se> | 2017-03-01 15:08:43 +0100 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-06-23 20:01:46 +0200 |
commit | 1110d598c8dfe705f78fc101cf697738e65d97c6 (patch) | |
tree | 6555a4028787f13a74cfd9a694e0fda5f8f3a37f /bootstrap | |
parent | a385740ddf05532f48c73f2aba60a4ab44b61b6e (diff) | |
download | kubernetes-kafka-1110d598c8dfe705f78fc101cf697738e65d97c6.tar.gz kubernetes-kafka-1110d598c8dfe705f78fc101cf697738e65d97c6.tar.bz2 kubernetes-kafka-1110d598c8dfe705f78fc101cf697738e65d97c6.zip |
Makes PV match PVC, avoiding small initial storage becase resize is difficult in GKE
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/pv-template.yml | 6 | ||||
-rwxr-xr-x | bootstrap/pv.sh | 2 |
2 files changed, 4 insertions, 4 deletions
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" |