diff options
author | solsson <solsson@gmail.com> | 2017-01-02 11:57:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-02 11:57:57 +0100 |
commit | 467ac9d15f41ca7e3849f14e45b3a7c9fa26bab4 (patch) | |
tree | 9d70e06950db19819e368a786bd74d5decaeb84a /zookeeper/bootstrap/pv.sh | |
parent | 932307616aa4ccd59df42209d92e83aef244f3d0 (diff) | |
parent | e631d5856532aecd2dfc0a7662d6d7310a482c40 (diff) | |
download | kubernetes-kafka-467ac9d15f41ca7e3849f14e45b3a7c9fa26bab4.tar.gz kubernetes-kafka-467ac9d15f41ca7e3849f14e45b3a7c9fa26bab4.tar.bz2 kubernetes-kafka-467ac9d15f41ca7e3849f14e45b3a7c9fa26bab4.zip |
Merge pull request #14 from Yolean/statefulset
Convert PetSet to StatefulSet for k8s 1.5+
Diffstat (limited to 'zookeeper/bootstrap/pv.sh')
-rwxr-xr-x | zookeeper/bootstrap/pv.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/zookeeper/bootstrap/pv.sh b/zookeeper/bootstrap/pv.sh deleted file mode 100755 index 7bbe121..0000000 --- a/zookeeper/bootstrap/pv.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -echo "Note that in for example GKE a PetSet will have PersistentVolume(s) and PersistentVolumeClaim(s) created for it automatically" - -dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && cd .. && pwd )" -path="$dir/data" -echo "Please enter a path where to store data during local testing: ($path)" -read newpath -[ -n "$newpath" ] && path=$newpath - -cat zookeeper/bootstrap/pv-template.yml | sed "s|/tmp/k8s-data|$path|" | kubectl create -f - |