hnakamor opened a new issue, #15431:
URL: https://github.com/apache/druid/issues/15431
### Affected Version
Druid 28.0.0
### Description
I have druid-kubernetes-extensions loaded and running in a zookeeper-less
environment.
I really like the zookeeper-less feature as it works well in my environment
and simplifies the components.
I was also very excited about the mm-less k8sAndWorker mode introduced in
Druid 28.0.0, as it matched the use case mentioned in #15196.
Unfortunately, I wanted to configure mm-less k8sAndWorker mode for this
zookeeper-less environment, but when I configured k8sAndWorker mode, overlord
would not start with an error.
The configuration and error for this environment is as follows
- common.runtime.properties
```
# Extensions
druid.extensions.loadList=["druid-datasketches","mysql-metadata-storage","druid-s3-extensions","druid-kafka-indexing-service","druid-bloom-filter","druid-multi-stage-query","prometheus-emitter","druid-kubernetes-extensions"]
# Zookeeper less
druid.zk.service.enabled=false
druid.serverview.type=http
druid.coordinator.loadqueuepeon.type=http
druid.indexer.runner.type=httpRemote
druid.discovery.type=k8s
druid.discovery.k8s.clusterIdentifier=${env:POD_NAMESPACE}
# Service discovery
druid.selectors.indexing.serviceName=druid/overlord
druid.selectors.coordinator.serviceName=druid/coordinator
```
- Overlord(coordinator)'s runtime.properties
```
# Extensions
druid.extensions.loadList=["druid-datasketches","mysql-metadata-storage","druid-s3-extensions","druid-kafka-indexing-service","druid-bloom-filter","druid-multi-stage-query","prometheus-emitter","druid-kubernetes-extensions","druid-kubernetes-overlord-extensions"]
# MM less
druid.indexer.runner.type=k8sAndWorker
druid.indexer.runner.namespace=mynamespace
druid.indexer.task.encapsulatedTask=true
druid.indexer.runner.k8sAndWorker.runnerStrategy.type=taskType
druid.indexer.runner.k8sAndWorker.runnerStrategy.taskType.default=k8s
druid.indexer.runner.k8sAndWorker.runnerStrategy.taskType.overrides={"index_kafka":
"worker"}
# Configure this coordinator to also run as Overlord
druid.coordinator.asOverlord.enabled=true
druid.coordinator.asOverlord.overlordService=druid/overlord
```
-
[k8sAndWorker_error.log](https://github.com/apache/druid/files/13463097/k8sAndWorker_error.log)
As additional information, I have confirmed that the k8s mode of mm-less
will start overlord even in the zookeeper-less environment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]