I think you’re confusing “declarative” with “idempotent”! The helm equivalent to “kubectl apply” is “helm upgrade —-install”.
Re:How we use HashiCorp Nomad
by rayanimesh on Sunday June 07, 2020 @04:09AM
(#23445662)
Yes. Thank you.
`helm template | kubectl apply` ?
Re:How we use HashiCorp Nomad
by rayanimesh on Sunday June 07, 2020 @01:10AM
(#23444920)
This is one way of doing declarative using helm, but this doesn't guarntee resource creation order. `helm install` creates resources in order while `kubectl apply` creates in order of alphabetically filename. This may lead to some unexpected issues.
How do you make helm chart deployment declarative? `helm install` is not declarative (in my understanding `kubectl apply` is declarative and `kubectl create` is not. Let me know if my understanding of declarative is wrong). Thanks.