-
o/ Strimzi Team, Hope you are doing. Thank you for the awesome support you have been providing. 👍 We are trying to deploy a kafka cluster with Single Kafka and Single Zookeeper on a particular single node using node affinity. While deploying the cluster we are getting the below error. While debugging
The YAML is present below: apiVersion: kafka.strimzi.io/v1beta1
kind: Kafka
metadata:
name: my-cluster2
spec:
kafka:
version: 2.7.0
replicas: 1
listeners:
- name: plain
port: 9092
type: nodeport
tls: false
- name: tls
port: 9093
type: nodeport
tls: true
configuration:
bootstrap:
nodePort: 32100
brokers:
- broker: 0
nodePort: 32000
config:
offsets.topic.replication.factor: 1
transaction.state.log.replication.factor: 1
transaction.state.log.min.isr: 1
log.message.format.version: "2.7"
inter.broker.protocol.version: "2.7"
storage:
type: ephemeral
template:
pod:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kafkaserver
zookeeper:
replicas: 1
storage:
type: ephemeral
template:
pod:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- kafkaserver
entityOperator:
topicOperator: {}
userOperator: {} Performing
We did followed Strimzi Quickstart, we did performed the below steps Give permission to the Cluster Operator to watch the my-kafka-project namespace.
Currently, we have the below namespaces
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
That seems to be the same issue as #4576 ... you built your images from master but you did not used the latest RBAC files for master from |
Beta Was this translation helpful? Give feedback.
That seems to be the same issue as #4576 ... you built your images from master but you did not used the latest RBAC files for master from
packaging/install/cluster-operator
to deploy it.