From 42972715f1738acd4af350da2a34cf4bd100a43e Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Sun, 25 Jun 2017 20:36:14 +0200 Subject: Reindents yaml to match the rest of this repo, and most examples out there --- zookeeper/50zoo.yml | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/zookeeper/50zoo.yml b/zookeeper/50zoo.yml index 3ac4ce9..33ea7b8 100644 --- a/zookeeper/50zoo.yml +++ b/zookeeper/50zoo.yml @@ -13,26 +13,26 @@ spec: spec: terminationGracePeriodSeconds: 10 containers: - - name: zookeeper - image: solsson/zookeeper-statefulset:3.4.10@sha256:0ad93c98d5165b4eb747c4b0dd04a7a448a5c4b4cbcaa4bffc15018b76b81bb5 - env: - - name: ZOO_SERVERS - value: server.1=zoo-0.zoo:2888:3888:participant server.2=zoo-1.zoo:2888:3888:participant server.3=zoo-2.zoo:2888:3888:participant server.4=zoo-3.zoo:2888:3888:participant server.5=zoo-4.zoo:2888:3888:participant - ports: - - containerPort: 2181 - name: client - - containerPort: 2888 - name: peer - - containerPort: 3888 - name: leader-election - volumeMounts: - - name: datadir - mountPath: /data - # There's defaults in this folder, such as logging config - #- name: conf - # mountPath: /conf - volumes: - #- name: conf - # emptyDir: {} + - name: zookeeper + image: solsson/zookeeper-statefulset:3.4.10@sha256:0ad93c98d5165b4eb747c4b0dd04a7a448a5c4b4cbcaa4bffc15018b76b81bb5 + env: + - name: ZOO_SERVERS + value: server.1=zoo-0.zoo:2888:3888:participant server.2=zoo-1.zoo:2888:3888:participant server.3=zoo-2.zoo:2888:3888:participant server.4=zoo-3.zoo:2888:3888:participant server.5=zoo-4.zoo:2888:3888:participant + ports: + - containerPort: 2181 + name: client + - containerPort: 2888 + name: peer + - containerPort: 3888 + name: leader-election + volumeMounts: - name: datadir - emptyDir: {} + mountPath: /data + # There's defaults in this folder, such as logging config + #- name: conf + # mountPath: /conf + volumes: + #- name: conf + # emptyDir: {} + - name: datadir + emptyDir: {} -- cgit v1.2.3