Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xpinjection/spring-boot-admin
Spring Boot Admin configured for K8S and local usage.
https://github.com/xpinjection/spring-boot-admin
actuator admin k8s observability spring-boot
Last synced: about 1 hour ago
JSON representation
Spring Boot Admin configured for K8S and local usage.
- Host: GitHub
- URL: https://github.com/xpinjection/spring-boot-admin
- Owner: xpinjection
- Created: 2022-03-31T16:45:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T09:53:24.000Z (over 1 year ago)
- Last Synced: 2024-11-28T07:08:36.297Z (about 2 months ago)
- Topics: actuator, admin, k8s, observability, spring-boot
- Language: Java
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot Admin
![CI status](https://github.com/xpinjection/spring-boot-admin/actions/workflows/maven.yml/badge.svg)
Spring Boot Admin configured for K8S and local usage.
## Configuration profiles
There are 2 configuration profiles: **local** and **k8s**. Profile has to be set on startup as a regular Spring profile.
### Local mode
Local mode is used for development needs when Spring Boot application is run at the same machine as Spring Boot Admin. Port and actuator endpoint for the local monitored application could be overridden with _monitored.application.port_ and _monitored.application.actuator-endpoint_ configuration properties (by default they point to _8080_ and _/admin_). In local mode Spring Boot Admin monitors itself as well.
### K8S mode
K8S mode is used for deployment in K8S environment. Spring Boot services with Actuator enabled are discovered by the label _tech-stack: springboot_ set at the Service level. Discovery is performed by default in the same namespace where Spring Boot Admin is deployed. To enable discovery via K8S API service account must be configured to have _get, list, watch_ permissions on _pods, services, endpoints_ in the corresponding namespace.