java-spring-api
Simple java rest api using spring (by sybrenbolandit)
kubernetes-monitoring
Setup for monitoring kubernetes cluster (by sybrenbolandit)
Our great sponsors
java-spring-api | kubernetes-monitoring | |
---|---|---|
12 | 4 | |
0 | 0 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 4 years ago | |
Java | Smarty | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
java-spring-api
Posts with mentions or reviews of java-spring-api.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-09.
-
FLUENT
We start with an example app that will generate logs. We will use a Java API from a previous post on deploying with Helm. For the complete code for this section take a look at this branch here. We see that we have a logback.xml where we specify to write logs to a file. (See here te relevant part)
-
OAS3 AND SPRING BOOT
We will add OAS3 documentation to a Java Spring API from a previous post on Kubernetes Helm. The completed code for this post is found on github here.
-
TESTCONTAINERS
We will start off with a Spring Boot API from this previous post on deployments with helm. We will extend this application with a database connection and use testcontainers in the integration tests. The complete code for this post can be on github here.
-
DEPLOY WITH HELM
In this post we will take the Kubernetes deployment we build in several previous posts on Kubernetes and turn it into a Helm package. The final project code can be found on github here.
-
SPRING AUTOCONFIGURE
We are going to reuse an application that we made in an earlier post (found here). It’s just a basic setup with a greetings endpoint. The code that is used is found on github here.
-
PROMETHEUS ALERTING
Now we have the architecture in place. We only need to add a Prometheus Rule for our application that triggers an alert. We build from the Spring Boot application that we deployed in the cluster in an earlier post. The configuration of this rule is done as another CRD and is found on this branch on github.
-
KUBERNETES AND PROMETHEUS
The full code can be found on this branch. Here are the steps I took.
-
KUBERNETES AUTOSCALING
We start off with the example application from an earlier post. The complete autoscaling code can be found on github.
-
KUBERNETES INGRESS
If you just can’t wait to dive into the code. The complete configuration can be found on github.
-
GENERIC JENKINS FILE
With our library in place we can remove the pipeline config out of our Jenkins file and refer to it as follows: (or checkout the code here)
kubernetes-monitoring
Posts with mentions or reviews of kubernetes-monitoring.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-09.
-
FLUENT
The complete code for this post is found here on github. We examine the Dockerfile for it is extended with the elasticsearch plugin. The plugin is required for Elasticsearch is the Data Storage that we will use in this post.
-
HELM SECRETS
In this post we will encrypt a value and use it in a Helm deployment. The complete code can be found here on github but follow along and learn how to use this technique in all your Helm deployments.
-
PROMETHEUS ALERTING
We already saw multiple Custom Resourse Definitions (CRDs) that the Prometheus Operator gives us. The Alertmanager is also a CRD. The definition of this instance is very simple. The complete code for this setup is found on this branch on github.
-
KUBERNETES AND PROMETHEUS
Prometheus will be a separate pod in your cluster that will scrape given endpoints for information. In this first section we will get this pod running. All code for this section is found on github. Let’s take a look at the Kubernetes resource definition of Prometheus:
What are some alternatives?
When comparing java-spring-api and kubernetes-monitoring you can also consider the following projects:
fluent-bit - Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
springdoc-openapi - Library for OpenAPI 3 with spring-boot
minikube-jenkins - Setup for helm install of jenkins on minikube
jenkins-ci - Example pipeline library
Fluentd - Fluentd: Unified Logging Layer (project under CNCF)
spring-auto-configure-controller - Auto configured explamation-controller with Spring