2 min read
Ensuring high availability and fault tolerance in a Kubernetes cluster is a complex task: One important feature that allows us to addresses this challenge is Topology Spread Constraints.
10/07/2023
Read more...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
A Pod can fail to run with the following error:
standard_init_linux.go:178: exec user process caused "exec format error"
24/11/2022
Read more...2 min read
We can read values from a ConfigMap as a volume but we can present them to a Pod as an environment variable
27/10/2022
Read more...2 min read
When configuring command line arguments for containers we might need to be able to use certain values that might be elsewhere like the name of the current namespace.
We can use environment variables as the source of the information without having to write a wrappet to actually populate them
26/08/2022
Read more...