Kafka cluster as Kubernetes StatefulSet, plain manifests and config
We are using a Apache-Kafka deployment on Kubernetes which is based on the ability to label pods after they have been created (see https://github.com/Yolean/kubernetes-kafka). The init container of the broker pods takes advantage of this feature to set a label on itself with its own numeric index (e.g. "0", "1", etc) as value. The label is used in the service descriptors to select exactly one pod.
Java client for Kubernetes & OpenShift
This approach works fine on our DIND-Kubernetes environment. However, when tried to port the deployment onto a Docker-EE Kubernetes environment we ran into trouble because the command kubectl label pod generates a run time error which is completely misleading (also see https://github.com/fabric8io/kubernetes-client/issues/853).
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
I would like to make calls to the K8s API server from within a Java app that is running in a pod. How would I authenticate it to do so?
2 projects | /r/kubernetes | 21 Jun 2023
Does Fabric8io K8s java client support patch() or rollingupdate() using YAML snippets?
1 project | /r/codehunter | 26 May 2023
Using Java annotation processor in Scala
2 projects | /r/scala | 20 Mar 2023
Is 6 LPA worth it to work at a startup from 9 AM to 8 PM?
2 projects | /r/developersIndia | 10 Mar 2023
2 projects | dev.to | 7 Jul 2023