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/30service.yml | |
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/30service.yml')
-rw-r--r-- | zookeeper/30service.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zookeeper/30service.yml b/zookeeper/30service.yml new file mode 100644 index 0000000..f33f393 --- /dev/null +++ b/zookeeper/30service.yml @@ -0,0 +1,12 @@ +# the headless service is for PetSet DNS, this one is for clients +apiVersion: v1 +kind: Service +metadata: + name: zookeeper + namespace: kafka +spec: + ports: + - port: 2181 + name: client + selector: + app: zookeeper |