k3sup : Kubernetes cluster with k3s in a minute
Hey ! You want to deploy a kubernetes cluster easily ? You don’t want to use an expensive cloud managed solution ? You don’t want to read kubernetes the hard way to have a production ready cluster ? Let’s deploy a k3s cluster with k3sup ! K3SUP Installation First download the latest release of k3sup…
Llama-index : Build your RAG with Mistral AI
Since last year and the release of ChatGPT, everyone talk about LLM (Large Langage Model) and how we can leverage it to help us in our daily work. One of the coolest thing we can do with LLMs is building a RAG (Retriever Augmented Generation) to use your internal documentation / code as a context…
Strimzi Kafka Kubernetes Operator
Like I said in my last post about zalando postgresql operator, Kubernetes is a very powerful tool that can be extended with operators to handle new custom resources. Custom resources can be anything ! A database cluster, a certificate, a prometheus rule or even a Kafka Cluster ! Strimzi operator goal is to deploy and…
Zalando Postgresql operator
Kubernetes is a very powerful tool to manage containerized applications. You can manage containers with « pod » resource, lifecycle with « deployment » resource, network with « service » and « ingress » resources, etc.. And if you want, you can extends the list of resources that kubernetes can handle with custom resources definitions. Then those CRDs will be managed by an…
Hashicorp Vault PKI + Cert-manager
Today, Kubernetes is the most popular container orchestration tool. It allow us to deploy all our applications without worry about networking, rolling update process, health checks, etc.. By default communications between application in the cluster are not encrypted, so we need to generate TLS certificate for each applications, and we need to automatize it !…
ArgoCD
This article is about Argocd and how to deploy applications in a Kubernetes cluster with Kustomize and the GitOps method. Kubernetes A lot of peoples thinks Kubernetes is very hard… But in fact you just have a few concepts to learn.In a Kubernetes cluster, everything is Object. Declare your object (Kind) specification and Kubernetes will…
Ansible Playbook from Github Action
I’ve recently started a side project with Ansible and I wanted to automatise the Ansible playbook deployment with Github Action. Here is a tiny tutorial on how to use Github actions to run ansible playbooks to deploy stuff on Digital Ocean Droplets. SSH Key Before creating digital ocean droplets, you need to create a private…
K3S : Lightweight Kubernetes. 5 less than k8s.
Today, I will talk about a tool I discovered recently that I use a lot to create local Kubernetes environments : k3s k3s allow you to create local k8s cluster, and try your application deployments before pushing it to production. You can use the k3s quick start, or use the k3d binary to deploy a…
Kustomize
Since we have migrated all our application deployment to Kubernetes, we needed to automatize the deployment of each application for different environments (integration and production). By default kubectl files are not really customizable. That’s why we choose Kustomize to deploy our apps. And now Kustomize is part of kubectl binary. You can just put your…
Prometheus Alertmanager Grafana annotation
At work, I’ve deployed a Prometheus Stack to monitor our Kubernetes pods and nodes. Apps are exposing metrics on their /prometheus/metrics endpoint, then metrics are collected by Prometheus and stored into Prometheus + Thanos. Finally, we can use Grafana Prometheus data-source to create dashboards to see those metrics. Here is a schema of the architecture…