Menu

1 / 5

Writing a Helm chart vs Kapitan: three popular charts rebuilt

DEV Community: kubernetes·Moep90·2 days ago
#BGx1IxnH
#devtokubernetes#devto#dev#metrics#cert
Reading 0:00
15s threshold

If you install a third-party chart, keep the chart. Its values are the

interface its maintainers support, and for what they do not expose you can

patch the rendered output . This post is about

the other side: the people who write and maintain a chart. What would they

maintain if the same objects came from a Kapitan

inventory and a generator

instead of templates?

To find out, three of the most starred charts on Artifact Hub were rebuilt

as one Kapitan project on the omegaconf backend: metrics-server, cert-manager

and kube-prometheus-stack. The project and the script that compares them

are in

kadet-hub/examples/chart-vs-kapitan ,

and CI runs the comparison on every change.

How the two sides are compared

"Looks the same" is not enough, so the check asks the API server. Both

renderings go through kubectl apply --dry-run=server on a kind cluster,

which applies the defaults Kubernetes adds on its own.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.