2 min read
One of the many improvements we get in Kubernetes 1.27 is the ability to set what's the default container:
apiVersion: v1
kind: Pod
metadata:
name: multi-container-pod
spec:
containers:
- image: alpine:latest
name: one
command:
- sh
- -c
- 'while true; do echo one; sleep 1m; done'
- image: alpine:latest
name: two
command:
- sh
- -c
- 'while true; do echo two; sleep 2m; done'
- image: alpine:latest
name: three
command:
- sh
- -c
- 'while true; do echo tree; sleep 3m; done'
01/06/2023
Read more...2 min read
In today's highly dynamic and containerized environments, managing environment variables is crucial for configuring applications effectively. With the Kubernetes command-line tool, kubectl, you can imperatively set or remove environment variables for your existing objects.
21/05/2023
Read more...2 min read
To locally run some process we might need to use some ServiceAccount credentials to make sure it has the same exact permissions it would have running it as a Pod. To do se we can import the ServiceAccount token into our kubeconfig to be able to impersonate it.
29/05/2023
Read more...2 min read
If when writing Pulumi code to deploy to AWS ever got the feeling that you where using some interface to write terraform code (HCL), there might be a reason for you to get that feeling.
24/05/2023
Read more...4 min read
To be able to automatically request letsencrypt certificates for the TLS-eanble Ingress objects in a kubernetes cluster with the traefik ingress controller we can use the cert-manager controller.
23/05/2023
Read more...