From 8bf2e175fc270973fa826d84080f0f0888cc61f5 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 25 Oct 2016 13:09:56 +0200 Subject: Setup with GCE disks --- README.md | 2 +- bootstrap/pv-template.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a40c54..be6dc1a 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ This step can be skipped in clusters that support automatic volume provisioning, You need this step in Minikube. ``` -./zookeeper/bootstrap/pv.sh +kubectl create -f ./zookeeper/bootstrap/pv-template.yml kubectl create -f ./zookeeper/bootstrap/pvc.yml ``` diff --git a/bootstrap/pv-template.yml b/bootstrap/pv-template.yml index 8645e47..31c983a 100644 --- a/bootstrap/pv-template.yml +++ b/bootstrap/pv-template.yml @@ -1,3 +1,6 @@ +#gcloud compute disks create --size=200GB --type=pd-standard datadir-kafka-0 +#gcloud compute disks create --size=200GB --type=pd-standard datadir-kafka-1 +#gcloud compute disks create --size=200GB --type=pd-standard datadir-kafka-2 --- apiVersion: v1 kind: PersistentVolume -- cgit v1.2.3