What is the difference between `helm template`, `--dry-run=client` and `--dry-run=server`?
AdvancedConceptHelm 3 Architecture & Release Storage
Answer
helm template: renders entirely offline, no cluster access, no release checks,lookupempty,.Capabilitiesdefaulted.helm install/upgrade --dry-run(=client): renders through the install/upgrade code path, checks the release state, prints the release and manifests, but does not contact the API server for validation;lookupis still empty.--dry-run=server(Helm 3.13+): sends the objects to the API server in dry-run mode, so admission webhooks, schema validation andlookupall work, yet nothing is persisted.
Use template in PR checks without cluster credentials, --dry-run=server right before a production deploy.
More on Helm 3 Architecture & Release Storage
What is Helm, in one sentence?BeginnerDefine chart, release, revision and repository.BeginnerWhat was Tiller and why was it removed in Helm 3?BeginnerWhere does Helm 3 store release information?BeginnerWhat is inside a release Secret and how do you decode it?AdvancedWhat storage drivers does Helm support and how do you switch?Advanced