Create test environments in Kubernetes
Context and possible solutions
If you are working …
If you are working …
It can be a good idea to shutdown part of your infrastructure when you don't need it. It will help you reduce costs and your environmental impact. It is however, not always easy to actually do it.
In this article, I'll talk here about how to shutdown a Kubernetes based …
I recently switched from a standard GKE cluster where I had to manage nodes to an autopilot one where Google does it for me. I must say the switch was easy to do (despite an interruption of our services) and greatly simplified the management of the cluster.
I noticed this …
When you deploy a frontend app, most of the time the name of your assets contains their hash so you can easily cache the files. So instead of just having main.js you will have something like main.1234.js. The problem is that your HTML will reference main.1234 …
I recently deployed a React app in kubernetes. It was initially deployed directly in a public bucket: I have an API that is already hosted on kubernetes, but the app itself is made only of static files, so it made sense. However, requirements for my app changed and I required …
This will be a continuation of my article Some tips to deploy Django in kubernetes. In this previous article, I talked about generic tips you should apply to deploy Django into kuberentes. Here, I'll focus on static files.
If you don't already know that, gunicorn (or any other app server …
I am not going to go into details in this article about how you can deploy Django in kubernetes. I am just going to highlight the main points you should pay attention to when deploying a Django app. I expect you to have prior knowledge about how to deploy an …
You can extract data from your kubernetes config maps into a .env file with the commands below (requires you to have jq installed):
# Get the data in JSON. kubectl get configmap my-map --output json | # Extract the data section. jq '.data' | # Replace each "key": "value" pair with "key=value" jq -r …