diff options
author | solsson <solsson@gmail.com> | 2016-09-05 15:48:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 15:48:38 +0200 |
commit | 571091b90a29e77b48bba434514d4d9b5e0add24 (patch) | |
tree | 1babe131cb0bc4c0ae6b6b3bb26934e4c02a352c /zookeeper/zookeeper.yaml | |
parent | 3e94e4bbd119c9a7ba9fc9d104b375ee7421bce5 (diff) | |
parent | 2abf869d367853e209e9e91d65f517e9937a9c99 (diff) | |
download | kubernetes-kafka-571091b90a29e77b48bba434514d4d9b5e0add24.tar.gz kubernetes-kafka-571091b90a29e77b48bba434514d4d9b5e0add24.tar.bz2 kubernetes-kafka-571091b90a29e77b48bba434514d4d9b5e0add24.zip |
Merge pull request #1 from Yolean/namespace
Define a namespace for all resources
Diffstat (limited to 'zookeeper/zookeeper.yaml')
-rw-r--r-- | zookeeper/zookeeper.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zookeeper/zookeeper.yaml b/zookeeper/zookeeper.yaml index d65bd3c..93944af 100644 --- a/zookeeper/zookeeper.yaml +++ b/zookeeper/zookeeper.yaml @@ -5,6 +5,7 @@ metadata: annotations: service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" name: zk + namespace: kafka labels: app: zk spec: @@ -22,6 +23,7 @@ apiVersion: apps/v1alpha1 kind: PetSet metadata: name: zoo + namespace: kafka spec: serviceName: "zk" replicas: 3 @@ -116,6 +118,7 @@ spec: volumeClaimTemplates: - metadata: name: datadir + namespace: kafka annotations: volume.alpha.kubernetes.io/storage-class: anything spec: |