{"id":16119720,"url":"https://github.com/piomin/kubernetes-quickstart","last_synced_at":"2025-03-16T08:32:49.108Z","repository":{"id":205752795,"uuid":"714978950","full_name":"piomin/kubernetes-quickstart","owner":"piomin","description":"Demo Java apps for several scenarios on Kubernetes ","archived":false,"fork":false,"pushed_at":"2025-02-22T10:54:45.000Z","size":67,"stargazers_count":23,"open_issues_count":2,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T11:28:13.844Z","etag":null,"topics":["java","jib","kafka","kubernetes","skaffold","spring-boot"],"latest_commit_sha":null,"homepage":"https://piotrminkowski.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/piomin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-06T08:37:55.000Z","updated_at":"2025-02-22T10:54:47.000Z","dependencies_parsed_at":"2024-06-21T07:42:12.244Z","dependency_job_id":"e85cd2c4-07d7-427c-9246-b8a06a297b5f","html_url":"https://github.com/piomin/kubernetes-quickstart","commit_stats":null,"previous_names":["piomin/kubernetes-quickstart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fkubernetes-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piomin","download_url":"https://codeload.github.com/piomin/kubernetes-quickstart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243807425,"owners_count":20350992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jib","kafka","kubernetes","skaffold","spring-boot"],"created_at":"2024-10-09T20:54:53.226Z","updated_at":"2025-03-16T08:32:49.096Z","avatar_url":"https://github.com/piomin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo Java Apps for Kubernetes [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social\u0026logo=twitter\u0026label=Follow%20Me)](https://twitter.com/piotr_minkowski)\n\nIn this repository, you will find the simple Java apps to run on Kubernetes for a particular scenario.\nCurrently, there are apps for:\n- Kafka (`kafka` directory)\n\nIn order to easily run the apps directly from the source you need to install `skaffold`.\n\n## Articles\n\nI'm using those apps in the several articles on my blog. Here's the list:\n1. 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](https://piotrminkowski.com/2023/11/06/apache-kafka-on-kubernetes-with-strimzi/)\n2. 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](https://piotrminkowski.com/2024/10/03/spring-boot-on-kubernetes-with-eclipse-jkube/)\n\n\n## Usage\n\nIn order to run the example apps you need to have:\n- JDK17+\n- Maven\n- [Skaffold](https://skaffold.dev/)\n- Kubernetes cluster\n\n### Apache Kafka\n\nGo to the `kafka` directory. It contains to sample apps: `producer` and `consumer`.\n\nTo run them on Kubernetes just execute:\n```shell\nskaffold run --tail \n```\n\nYou can also automatically create and configure Kafka based on Strimzi by activating the `kafka-strimzi` profile:\n```shell\nskaffold run --tail -p kafka-strimzi \n```\nHowever, first you need to install Strimzi, e.g. using its Helm chart:\n```shell\nhelm repo add strimzi https://strimzi.io/charts\nhelm install strimzi-kafka-operator strimzi/strimzi-kafka-operator \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fkubernetes-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiomin%2Fkubernetes-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fkubernetes-quickstart/lists"}