patternkubernetesMinor
Automate Helm's tiller installation with Terraform
Viewed 0 times
withautomateinstallationhelmtillerterraform
Problem
I need to be able to generate disposable kubernetes environments using
What is the best way of automating this? Should I "copy" the deployment generated by
I tried to explicitly declare the
terraform. These environments should use helm for application deployment and ideally have tiller installed during the terraform resource provision.What is the best way of automating this? Should I "copy" the deployment generated by
helm init and translate it to terraform lingo? Is there any other solution more elegant than this?I tried to explicitly declare the
terraform's helm provider block, but without any real chart deployment it does not bother into installing the tiller service.Solution
How I see there is two options (from my exp):
https://www.terraform.io/docs/providers/helm/index.html, there is option to install tiller.
https://github.com/sagikazarmark/terraform-tiller
https://registry.terraform.io/modules/Vidimensional/tiller/kubernetes/0.0.1
- Use configuration for provider.
https://www.terraform.io/docs/providers/helm/index.html, there is option to install tiller.
- Use prefabricated modules, for example:
https://github.com/sagikazarmark/terraform-tiller
https://registry.terraform.io/modules/Vidimensional/tiller/kubernetes/0.0.1
Context
StackExchange DevOps Q#6698, answer score: 1
Revisions (0)
No revisions yet.