apiVersion: v1
kind: Pod
metadata:
  name: zookeeper-prod-1
  labels:
    status: ready
spec:
  containers:
    - image: stackable/zookeeper:v3_6_2
      imagePullPolicy: Always
      command:
        - "bin/zkServer.sh"
        - "--config"
        - "{{ configroot }}"
        - "start-foreground"
      name: greet
      volumeMounts:
        - name: zookeeper-prod-1
          mountPath: /
  volumes:
    - name: zookeeper-prod-1
      configMap:
        # Provide the name of the ConfigMap containing the files you want
        # to add to the container
        name: zookeeper-prod-1
  tolerations:
    - key: "node.kubernetes.io/network-unavailable"
      operator: "Exists"
      effect: "NoSchedule"
    - key: "kubernetes.io/arch"
      operator: "Equal"
      value: "stackable-linux"
      effect: "NoExecute"
    - key: "kubernetes.io/arch"
      operator: "Equal"
      value: "stackable-linux"
      effect: "NoSchedule"
