Posted on Friday, Aug 11, 2023🤓 Scott Rigby
If you’ve ever worked with Kubernetes (K8s), you know that beyond imperatively using the kubectl command-line interface, there are multiple tools and formats available for declaring the desired state of your clusters and applications - Helm, Kustomize, Carvel, Acorn, Timoni, Pulumi – each with pros and cons.
Today I’ve decided to try Pulumi’s K8s integration to see how it stacks up. Pulumi has the distinct benefit of allowing me to create and manage K8s clusters and the applications that run on them using a single tool.
What is Pulumi, though? 🏗️
Pulumi is an infrastructure as code (IaC) tool that lets you create, deploy, and manage cloud resources and apps using familiar programming languages like Python, JavaScript, Go, and more. Unlike traditional IaC tools primarily using declarative configuration files, Pulumi lets you define your infrastructure using code, providing the benefits of code reuse, version control, and programming language features. Pulumi supports managing K8s and other cloud resources on any cloud: AWS, Azure, Google Cloud, and many others.
Ok, show me the code đź‘€