Adopting Helm Resources

Recently, I undertook a big migration from CDK8S to Helm. While CDK8S provided the ability to generate Kubernetes manifests in an imperative way using my language of choice, I noticed it can encourage bad habits. In making it easy to abstract and my apps became littered with custom logic and conditionals. This goes against the principles of IAC in which your infrastructure should be declarative. During the migration, I whipped up the following script which adds annotations and labels to an existing app which allows me to use kubectl diff to cross-check my migration....

November 21, 2023 · 2 min · 268 words · Hans Song