Why Skip Installing CRDs During Helm Deployment?

0
42
Asked By CuriousCoder99 On

I'm new to using Helm and have noticed a lot of discussion around the idea of skipping the installation of Custom Resource Definitions (CRDs) during a Helm install. I understand that if CRDs are already in place, it can speed up the installation and upgrading process with commands like `helm install` or `helm upgrade`. However, I feel the time saved seems minimal compared to the complexity it introduces. What are the specific scenarios where avoiding CRD installations via Helm might lead to issues?

5 Answers

Answered By SensibleAdmin42 On

Some teams prefer to manage CRDs' lifecycle separately from the rest of the Helm chart's content. This flexibility is advantageous in certain setups.

Answered By DevOpsNerd77 On

The order of installation matters a lot. You ideally want to install the CRD first, then any operators that use that CRD, and finally the applications that utilize the operators. Changing versions independently is crucial as it can affect all apps using that CRD.

Answered By DataDisciple88 On

It depends on how your Helm release manages CRD updates. If it deletes old CRDs and recreates them, this can lead to loss of data for applications dependent on those CRDs, especially databases. Stateless applications might handle this better, but with stateful ones, you could be in trouble.

Answered By ClusterUser99 On

If you have limited access to the cluster, it makes sense to skip installing CRDs. Often, another admin responsible for CRDs needs elevated permissions, so as a regular user, you wouldn't need that level of access.

Answered By TechGuru23 On

One major reason is the potential for conflict if you have multiple instances of the same application trying to redeclare CRDs. This can lead to unexpected behaviors or errors during installation and updates.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.