1 min read
One mistake on the .aws/config can lead to a very imprecise error message:
$ aws sts get-caller-identity
(...)
botocore.exceptions.ConfigParseError: Unable to parse config file: /home/pet2cattle/.aws/config
01/12/2022
Read more...2 min read
Some commands might be safe to execute while connected to some environments, but can definitely break stuff is applied to the wrong Kubernetes cluster. However, having to execute kubectl config current-context too ofter to make sure we are connected to the right cluster is no fun either.
With kubectx tray we can have a small icon on the tray bar to help us identify what's the current cluster.
30/11/2022
Read more...2 min read
When configuring RBAC permissions we might want to make sure we are configuring them correctly by checking what an user (or ServiceAccount) can do. We can use kubectl auth can-i for this.
29/11/2022
Read more...2 min read
To be able to expose a service externally on OpenShift we can use the Route object. Generally speaking, Routes can be either secured or unsecured, in case we choose to use a secured route we can configured it to work in three different ways: edge, passthrough and reencrypt.
28/11/2022
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...