Articles tagged with k8s
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 …
Read more...
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 …
Read more...
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 …
Read more...
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 … Read more...