aboutsummaryrefslogtreecommitdiff
path: root/zookeeper/bootstrap/pv.sh
diff options
context:
space:
mode:
authorsolsson <solsson@gmail.com>2017-01-02 11:57:57 +0100
committerGitHub <noreply@github.com>2017-01-02 11:57:57 +0100
commit467ac9d15f41ca7e3849f14e45b3a7c9fa26bab4 (patch)
tree9d70e06950db19819e368a786bd74d5decaeb84a /zookeeper/bootstrap/pv.sh
parent932307616aa4ccd59df42209d92e83aef244f3d0 (diff)
parente631d5856532aecd2dfc0a7662d6d7310a482c40 (diff)
downloadkubernetes-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-xzookeeper/bootstrap/pv.sh11
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 -