In some of our pods we use a temporary storage, to exchange data between the containers that belong to the same pod.
> k describe pod customersite
.......
Volumes:
...
sockets:
Type: …
On Route53 you can configure record sets with associated weights as A records.
To test that the above weights translate in the right resolutions, we need to start from the …
At work we run a lot of Nginx pods, which we use to serve static files to our web apps. We specify memory limits for all pods we run and, to get an estimate of what those numbers should be, I have …
While it is possible to craft a role using wildcards in the resource names, it will not work to restrict pod/exec permissions. Let’s test this:
Let’s start with some basic RBAC rules and …
One thing that is annoying sometimes, when you want to quickly analyze with SQL some data, is that you likely have to work out what the schema is before running any insert.
With sqlite-utils, you can …
script
is a binary included in Ubuntu that can be used to record activity in a shell. It can optionally record timings too, to get exactly the same experience when replaying the recorded activity. …
You can remove specific elements from a list or a set with this syntax
$ terraform console
> [for i in [1, 2, 3, 4, 5]: i if i != 3]
[
1,
2,
4,
5,
]
> toset([for i in toset([1, 2, 3, …
Useful feature when you are developing against a cluster API is to act as the pod where your feature will be deployed.
In Kubernetes every pod is automatically assigned a service account. This is …
JQ can be used to create JSON objects of a certain shape, with the help of a few command line options.
You can use --argjson
to load JSON objects into variables that can then be referenced by $name
. …
ArgoCD exposes its own set of K8s custom resources when installed on a cluster:
k get crds
NAME CREATED AT
applications.argoproj.io …
The standard configuration when using kubectl get nodes
is meant to be working for any cluster, therefore does not include any specific information about the K8s distribution you are using.
At work we …