Helm vs Batch kubernetes deployments

2/13/2020

I am learning kubernetes. I have a few simple containers with secrets. Lets say I have two services , I can put them in a deployment, add an ingress and put all of those in a bash script and run

kubectl apply -f deployment1
kubectl apply -f deployment2
kubectl apply -f ingress

Now let's say I put this in helm. What do I gain here by putting this in a helm chart ?

-- Illusionist
kubernetes
kubernetes-helm

1 Answer

2/13/2020

In comparison to bash / shell based kubectl apply -f for a list of manifests, helm offers:

  • atomic role out
  • templating (conf injection)
  • upgrade and atomic role back
  • atomic deletion of all associated ressources

Basically helm offers the ability to create deployment artifacts which are parametrized and full lifecycle management.

-- Flowkap
Source: StackOverflow