FLUENT
Are you sick of going into a Kubernetes cluster to look at the logs of an application? Do you want a clear overview of the access logs over several pods? Use these tools for a fluent log experience. We are going to use fluent-bit, fluentd,…
HELM SECRETS
Do you have application properties like database passwords that are not to be shared with the world? Use Helm Secrets and hide them in plain sight. In this post we will encrypt a value and use it in a Helm deployment. The complete code can…
KUBECTL TOOLS
Are you tired of typing the namespace in every kubectl command? Do you keep forgetting the command for switching the kubectl context? Speed up your kubectl process with these kubectl tools! I am refering to the tools that come with kubectx. Installation On macOS I…
HELM STARTER
Are a lot of your Helm Charts similar? And are you copying them around your applications? Create a Helm Starter and whip up a chart in an instance! Read more about starters at the Helm docs here. In the following we are going to create…
DEPLOY WITH HELM
Do you ever get lost in all the Kubernetes configuration files you defined for your application? When you deploy with Helm they are treated as packages and are easier to manage. In this post we will take the Kubernetes deployment we build in several previous…
PROMETHEUS ALERTING
In an earlier post we saw how to setup a Prometheus instance in our cluster. Here we create alerts on the Prometheus monitoring for when some action is needed on our pods. No need for constant monitoring with Prometheus alerting. For in depth documentation on…
KUBERNETES AND PROMETHEUS
In an earlier post we saw how to deploy your Spring application to a Kubernetes cluster. Here we will see how to setup monitoring in your cluster where Kubernetes and Prometheus work together. Follow along to setup your own Prometheus instance! For more in depth…
KUBERNETES AUTOSCALING
On of the benefits of a Kubernetes cluster is easy scaling. In this post we configure some rules for Kubernetes autoscaling. We start off with the example application from an earlier post. The complete autoscaling code can be found on github. Autoscaling Suppose we have…
KUBERNETES INGRESS
In previous posts on deploying an application to a Kubernetes cluster we used a NodePort to expose the service to the outside world. Kubernetes Ingress is a separate Pod where we can control this exposure via routing, security and rate limiting. In this post we…
JENKINS DELOY TO KUBERNETES
We already saw how we can build and push our docker images using Jenkins in this post. Now we want to deploy this image to our local Kubernetes cluster so we have a running application. Here we go! Setup Jenkins If you want to follow…