2 min read
When writing a custom Kubernetes operator using operator-sdk we might want to change the fields are show when running kubectl get
:
$ kubectl get example
NAME AGE
demo 4h20m
To do so, we'll need to add the additionalPrinterColumns field the the CustomResourceDefinition, but since we are using operator-sdk to take care of this, we'll need to use some annotations in the resource definition file.
15/05/2023
Read more...4 min read
Just in the same way we backup physical servers, we need to backup Kubernetes workloads to be able to restore it to its previous state: We'll need make sure we are going to be able to restore the objects of any namespace and it's data (PersistentVolumes)
08/05/2023
Read more...2 min read
While writing Kustomize patches you might come across is the need to escape certain characters, such as the forward slash (/
). This can be a bit tricky since the common conventions on how to escape a character don't apply here.
03/05/2023
Read more...3 min read
Docker is a popular tool for deploying and running applications in a containerized environment. One of the important features of Docker is the ability to define a command to be executed when a container is started. This command can be specified in the Dockerfile using two keyword: ENTRYPOINT and CMD.
02/05/2023
Read more...2 min read
Pulumi is a powerful infrastructure as code tool that allows developers to deploy and manage cloud resources using familiar programming languages. However, when it comes to using Pulumi with LocalStack, there are some changes that need to be made to make Pulumi be able to reach LocalStack.
25/04/2023
Read more...