Skip to content

Commit

Permalink
Merge pull request #130 from lenadroid/master
Browse files Browse the repository at this point in the history
Adding storage class files for AKS
  • Loading branch information
solsson authored Jan 21, 2018
2 parents b6a1004 + 1bfdd7b commit ac67d1c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Zookeeper at `zookeeper.kafka.svc.cluster.local:2181`.

For Minikube run `kubectl apply -f configure/minikube-storageclass-broker.yml; kubectl apply -f configure/minikube-storageclass-zookeeper.yml`.

There's a similar setup for GKE, `configure/gke-*`. You might want to tweak it before creating.
There's a similar setup for AKS under `configure/aks-*` and for GKE under `configure/gke-*`. You might want to tweak it before creating.

## Start Zookeeper

Expand Down
9 changes: 9 additions & 0 deletions configure/aks-storageclass-broker-managed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: kafka-broker
provisioner: kubernetes.io/azure-disk
reclaimPolicy: Retain
parameters:
kind: "Managed"
storageaccounttype: Premium_LRS
9 changes: 9 additions & 0 deletions configure/aks-storageclass-zookeeper-managed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: kafka-zookeeper
provisioner: kubernetes.io/azure-disk
reclaimPolicy: Retain
parameters:
kind: "Managed"
storageaccounttype: Premium_LRS

0 comments on commit ac67d1c

Please sign in to comment.