36 lines
952 B
YAML
36 lines
952 B
YAML
|
---
|
||
|
apiVersion: platform.confluent.io/v1beta1
|
||
|
kind: Zookeeper
|
||
|
metadata:
|
||
|
name: zookeeper
|
||
|
spec:
|
||
|
replicas: 3
|
||
|
configOverrides:
|
||
|
jvm:
|
||
|
- "-Xmx128m"
|
||
|
podTemplate:
|
||
|
affinity:
|
||
|
# podAntiAffinity:
|
||
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
||
|
# - labelSelector:
|
||
|
# matchExpressions:
|
||
|
# - key: app
|
||
|
# operator: In
|
||
|
# values:
|
||
|
# - zookeeper
|
||
|
# topologyKey: kubernetes.io/hostname
|
||
|
nodeAffinity:
|
||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||
|
nodeSelectorTerms:
|
||
|
- matchExpressions:
|
||
|
- key: app.kubernetes.io/name
|
||
|
operator: In
|
||
|
values:
|
||
|
- trainer
|
||
|
image:
|
||
|
application: confluentinc/cp-zookeeper:7.4.0
|
||
|
init: confluentinc/confluent-init-container:2.6.0
|
||
|
dataVolumeCapacity: 10Gi
|
||
|
logVolumeCapacity: 10Gi
|
||
|
storageClass:
|
||
|
name: local-zookeeper
|