Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1
- kind: StatefulSet
- metadata:
- annotations:
- cluster.operator.strimzi.io/delete-claim: "false"
- creationTimestamp: 2018-10-24T16:13:44Z
- generation: 1
- labels:
- strimzi.io/cluster: my-cluster
- strimzi.io/kind: Kafka
- strimzi.io/name: my-cluster-zookeeper
- name: my-cluster-zookeeper
- namespace: myproject
- ownerReferences:
- - apiVersion: kafka.strimzi.io/v1alpha1
- blockOwnerDeletion: false
- controller: false
- kind: Kafka
- name: my-cluster
- uid: 850bb084-d7a7-11e8-8a84-0800279ce3e4
- resourceVersion: "7175"
- selfLink: /apis/apps/v1/namespaces/myproject/statefulsets/my-cluster-zookeeper
- uid: c7ecd1cc-d7a7-11e8-8a84-0800279ce3e4
- spec:
- podManagementPolicy: Parallel
- replicas: 3
- revisionHistoryLimit: 10
- selector:
- matchLabels:
- strimzi.io/cluster: my-cluster
- strimzi.io/kind: Kafka
- strimzi.io/name: my-cluster-zookeeper
- serviceName: my-cluster-zookeeper-nodes
- template:
- metadata:
- annotations:
- operator.strimzi.io/generation: "0"
- creationTimestamp: null
- labels:
- strimzi.io/cluster: my-cluster
- strimzi.io/kind: Kafka
- strimzi.io/name: my-cluster-zookeeper
- name: my-cluster-zookeeper
- spec:
- containers:
- - env:
- - name: ZOOKEEPER_NODE_COUNT
- value: "3"
- - name: ZOOKEEPER_METRICS_ENABLED
- value: "false"
- - name: KAFKA_HEAP_OPTS
- value: -Xms128M
- - name: ZOOKEEPER_CONFIGURATION
- value: |
- timeTick=2000
- autopurge.purgeInterval=1
- syncLimit=2
- initLimit=5
- image: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/amqstreams-1/amqstreams10-zookeeper-openshift:1.0.0
- imagePullPolicy: IfNotPresent
- livenessProbe:
- exec:
- command:
- - /opt/kafka/zookeeper_healthcheck.sh
- failureThreshold: 3
- initialDelaySeconds: 15
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 5
- name: zookeeper
- readinessProbe:
- exec:
- command:
- - /opt/kafka/zookeeper_healthcheck.sh
- failureThreshold: 3
- initialDelaySeconds: 15
- periodSeconds: 10
- successThreshold: 1
- timeoutSeconds: 5
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /var/lib/zookeeper
- name: data
- - mountPath: /opt/kafka/custom-config/
- name: zookeeper-metrics-and-logging
- - env:
- - name: TLS_SIDECAR_LOG_LEVEL
- value: notice
- - name: ZOOKEEPER_NODE_COUNT
- value: "3"
- image: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/amqstreams-1/amqstreams10-zookeeperstunnel-openshift:1.0.0
- imagePullPolicy: IfNotPresent
- name: tls-sidecar
- ports:
- - containerPort: 2888
- name: clustering
- protocol: TCP
- - containerPort: 3888
- name: leader-election
- protocol: TCP
- - containerPort: 2181
- name: clients
- protocol: TCP
- resources: {}
- terminationMessagePath: /dev/termination-log
- terminationMessagePolicy: File
- volumeMounts:
- - mountPath: /etc/tls-sidecar/zookeeper-nodes/
- name: zookeeper-nodes
- - mountPath: /etc/tls-sidecar/cluster-ca-certs/
- name: cluster-ca-certs
- dnsPolicy: ClusterFirst
- restartPolicy: Always
- schedulerName: default-scheduler
- securityContext: {}
- terminationGracePeriodSeconds: 30
- volumes:
- - emptyDir: {}
- name: data
- - configMap:
- defaultMode: 420
- name: my-cluster-zookeeper-config
- name: zookeeper-metrics-and-logging
- - name: zookeeper-nodes
- secret:
- defaultMode: 288
- secretName: my-cluster-zookeeper-nodes
- - name: cluster-ca-certs
- secret:
- defaultMode: 288
- secretName: my-cluster-cluster-ca-cert
- updateStrategy:
- type: OnDelete
- status:
- collisionCount: 0
- currentReplicas: 3
- currentRevision: my-cluster-zookeeper-cb84bd7d8
- observedGeneration: 1
- replicas: 3
- updateRevision: my-cluster-zookeeper-cb84bd7d8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement