diff options
-rw-r--r-- | zookeeper/20zoo-service.yml | 6 | ||||
-rw-r--r-- | zookeeper/50zoo.yml | 8 | ||||
-rw-r--r-- | zookeeper/51zoo.yml | 8 | ||||
-rw-r--r-- | zookeeper/52zoo.yml | 8 |
4 files changed, 6 insertions, 24 deletions
diff --git a/zookeeper/20zoo-service.yml b/zookeeper/20zoo-service.yml index c03fe16..820647e 100644 --- a/zookeeper/20zoo-service.yml +++ b/zookeeper/20zoo-service.yml @@ -2,6 +2,8 @@ apiVersion: v1 kind: Service metadata: + annotations: + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" name: zoo-0 namespace: kafka spec: @@ -17,6 +19,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" name: zoo-1 namespace: kafka spec: @@ -32,6 +36,8 @@ spec: apiVersion: v1 kind: Service metadata: + annotations: + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" name: zoo-2 namespace: kafka spec: diff --git a/zookeeper/50zoo.yml b/zookeeper/50zoo.yml index 719c304..2a10924 100644 --- a/zookeeper/50zoo.yml +++ b/zookeeper/50zoo.yml @@ -30,14 +30,6 @@ spec: name: peer - containerPort: 3888 name: leader-election - readinessProbe: - exec: - command: - - zkCli.sh - - ls - - / - initialDelaySeconds: 15 - timeoutSeconds: 5 volumeMounts: - name: datadir mountPath: /tmp/zookeeper diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index f9c65eb..55e1de9 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -30,14 +30,6 @@ spec: name: peer - containerPort: 3888 name: leader-election - readinessProbe: - exec: - command: - - zkCli.sh - - ls - - / - initialDelaySeconds: 15 - timeoutSeconds: 5 volumeMounts: - name: datadir mountPath: /tmp/zookeeper diff --git a/zookeeper/52zoo.yml b/zookeeper/52zoo.yml index 1d82b27..34998dc 100644 --- a/zookeeper/52zoo.yml +++ b/zookeeper/52zoo.yml @@ -30,14 +30,6 @@ spec: name: peer - containerPort: 3888 name: leader-election - readinessProbe: - exec: - command: - - zkCli.sh - - ls - - / - initialDelaySeconds: 15 - timeoutSeconds: 5 volumeMounts: - name: datadir mountPath: /tmp/zookeeper |