{"id":14956814,"url":"https://github.com/piomin/sample-spring-boot-on-kubernetes","last_synced_at":"2025-04-05T09:09:22.163Z","repository":{"id":72152223,"uuid":"272407759","full_name":"piomin/sample-spring-boot-on-kubernetes","owner":"piomin","description":"Spring Boot on Kubernetes Demo Project","archived":false,"fork":false,"pushed_at":"2025-03-21T18:12:41.000Z","size":98,"stargazers_count":81,"open_issues_count":3,"forks_count":71,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T08:09:28.707Z","etag":null,"topics":["kubernetes","maven","mongo","mongodb","okteto","okteto-cloud","spring-boot","spring-data","spring-data-mongodb","spring-devtools"],"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":"2020-06-15T10:22:03.000Z","updated_at":"2025-03-21T18:12:44.000Z","dependencies_parsed_at":"2024-05-31T07:42:45.510Z","dependency_job_id":"a6387993-3ad5-499d-ad8c-5742da666b2b","html_url":"https://github.com/piomin/sample-spring-boot-on-kubernetes","commit_stats":{"total_commits":163,"total_committers":2,"mean_commits":81.5,"dds":"0.36809815950920244","last_synced_commit":"4ded096d15d7e9ead1a874e8cdfc3215b6736aa4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-boot-on-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-boot-on-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-boot-on-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piomin%2Fsample-spring-boot-on-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piomin","download_url":"https://codeload.github.com/piomin/sample-spring-boot-on-kubernetes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312082,"owners_count":20918344,"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":["kubernetes","maven","mongo","mongodb","okteto","okteto-cloud","spring-boot","spring-data","spring-data-mongodb","spring-devtools"],"created_at":"2024-09-24T13:13:34.704Z","updated_at":"2025-04-05T09:09:21.968Z","avatar_url":"https://github.com/piomin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot on Kubernetes Demo Project [![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social\u0026logo=twitter\u0026label=Follow%20Me)](https://twitter.com/piotr_minkowski)\n\n[![CircleCI](https://circleci.com/gh/piomin/sample-spring-boot-on-kubernetes.svg?style=svg)](https://circleci.com/gh/piomin/sample-spring-boot-on-kubernetes)\n\n[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-on-kubernetes)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-on-kubernetes\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-on-kubernetes)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-on-kubernetes\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-on-kubernetes)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=piomin_sample-spring-boot-on-kubernetes\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=piomin_sample-spring-boot-on-kubernetes)\n\nIn this project I'm demonstrating different mechanisms of deploying application on Kubernetes. The example application application is simple Spring Boot app that exposes some HTTP endpoints for CRUD operations and connects to MongoDB on cluster.\n\n## Getting Started \nCurrently you may find here some examples of different techniques of deploying this application on Kubernetes. All the examples are described in a separated articles on my blog. Here's a full list of available examples:\n1. Using [Okteto Cloud Platform](https://okteto.com/) - Kubernetes for Developers. A detailed guide may be find in the following article: [Development on Kubernetes with Okteto and Spring Boot](https://piotrminkowski.com/2020/06/15/development-on-kubernetes-with-okteto-and-spring-boot/)\n\nMongo on Docker:\n```shell\n$ docker run --name mongodb -d -p 27017:27017 \\\n  -e MONGO_INITDB_ROOT_USERNAME=springboot \\\n  -e MONGO_INITDB_ROOT_PASSWORD=springboot123 \\\n  -e MONGO_INITDB_DATABASE=springboot \\\n  mongo:latest\n```\n\nMongo for OpenShift:\n```shell\n$ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/db-templates/mongodb-ephemeral-template.json \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fsample-spring-boot-on-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiomin%2Fsample-spring-boot-on-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiomin%2Fsample-spring-boot-on-kubernetes/lists"}