{"repo":"piomin/kubernetes-quickstart","free":true,"listed":false,"github":"https://github.com/piomin/kubernetes-quickstart","clone":"git clone https://github.com/piomin/kubernetes-quickstart.git","description":"Demo Java apps for several scenarios on Kubernetes","language":"Java","stars":28,"topics":["java","jib","kafka","kubernetes","skaffold","spring-boot"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Demo Java Apps for Kubernetes In this repository, you will find the simple Java apps to run on Kubernetes for a particular scenario. Currently, there are apps for: - Kafka ( kafka directory) In order to easily run the apps directly from the source you need to install skaffold . Articles I'm using those apps in the several articles on my blog. Here's the list: 1. How to run and manage Kafka on Kubernetes with the Strimzi operator. We run two simple apps for sending messages ( kafka/producer ) and receiving them for Kafka topic ( kafka/consumer ). A detailed guide may be found in the following article: Apache Kafka on Kubernetes with Strimzi 2. How to use JKube to generate Kubernetes resources and build images. A detailed guide may be found in the following article: Spring Boot on Kubernetes with Eclipse JKube Usage In order to run the example apps you need to have: - JDK17+ - Maven - Skaffold - Kubernetes cluster Apache Kafka Go to the kafka directory. It contains to sample apps: producer and consumer . To run them on Kubernetes just execute: You can also automatically create and configure Kafka based on Strimzi by activating the kafka-strimzi profile: However, first you need to install Strimzi, e.g. using its Helm chart:","default_branch":null,"files":null,"tree":[],"storefront":"/r/piomin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piomin/kubernetes-quickstart/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}