Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request Addons #19

Closed
1 task
Jeeppler opened this issue Jun 16, 2018 · 7 comments
Closed
1 task

Feature Request Addons #19

Jeeppler opened this issue Jun 16, 2018 · 7 comments

Comments

@Jeeppler
Copy link

I'm submitting a

  • feature request

Feature Request Addons

I would be nice to have an option which allows to install addons together with the cluster. There is another Terraform Registry module which does that: https://registry.terraform.io/modules/scholzj/kubernetes/aws/1.3.4#addons

@brandonjbjelland
Copy link
Contributor

Right on @Jeeppler !

I've started to go down this route on a branch but was met with some difficulty controlling k8s the "terraform way" within EKS. I'll have a closer look at that module to see if there's anything I can't use from that repo. Thanks for bringing that to my attention.

From a broader standpoint, I think it might be a bit prescriptive to enable/install/embed specific pieces of software that runs on k8s through the module. I would rather make it simple for users to consume the module and add those layers on top of the outputs, and leave implementation up to downstream developers, if that makes sense. Perhaps there's a case to add more to the repo in the form of working test fixtures that show how this works (this the path I started down). I'll get back to this later in the weekend to investigate further.

Thanks again on the ideas! 💯

@Jeeppler
Copy link
Author

I think it would be nice to install a Kubernetes Web UI after the cluster is up and running. In addition, maybe Helm. Maybe this should happen in another module and you just link to it or in this module.

Furthermore, maybe you already know this, Terraform has an Kubernetes Provider.

@brandonjbjelland
Copy link
Contributor

Yea doing an end-to-end terraform defined k8s cluster that sets up the web UI, dashboard user, monitoring, etc. would be great. IIRC the k8s terraform provider isn't able to create a user and attach the correct policies via rolebinding currently so we're blocked on creating the user with an appropriate permission set. If anyone has managed to start using the EKS cluster through the terraform provider following a provision, I'm really interested to know how as the user I get seems unable to do anything. Until that's resolved, I'm somewhat stuck using kubectl to do anything useful to the cluster, once running.

@max-rocket-internet
Copy link
Contributor

@Jeeppler if you are looking for a way to get from a fresh cluster, to a complete cluster (with monitoring, ingress, HPA, autoscaler etc) quickly, like I was, I really recommend a tool called helmfile. It's a little bit like TF but for helm charts 🙂

@Jeeppler
Copy link
Author

@max-rocket-internet thank you.

@max-rocket-internet
Copy link
Contributor

Hi @Jeeppler
For the reasons discussed in #99 I think for now we are not going to attempt to manage k8s resources from this module. This includes installing charts and add-ons. Long story short, it adds quite a lot of complexity.

As I mentioned before, helmfile is great for bulk installing charts with your custom settings. And also just helm alone will solve much of the pain for installing apps on your new cluster.

Maybe you could also experiment by using the terraform kubernetes provider

Thanks!

@github-actions
Copy link

github-actions bot commented Dec 5, 2022

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants