Day 27/100daysofK8s

Parthvi Vala
1 min readMay 4, 2021

--

So, today I learned about kustomize. From what I understand, it is an extension of a normal k8s configuration. kustomize config file can be useful when there is a certain setup one needs to do before the actual thing. E.g. Create a namespace and a set of secrets before spinning up a pod. Naively, I would create a shell script that does it, but I can use kustomize instead.

There are a few examples here that I am yet to try.

I came across kustomize while looking at the ssp-operator.

Then there are K8s operators. These operators are used to keep a watch on the cluster, make sure everything is good, and if it isn’t, it looks into reconciling, restoring the harmony of the cluster. There is an operator SDK available, I like to compare its design with Cobra, which seems to be like an SDK. There are interfaces and methods defined by this SDK, that must be defined and implemented by the operator/CLI tools. Hence, it is easier for people to understand and work with various operator/CLI tools and maintaining consistency in the code.

--

--

No responses yet