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
Control instance userdata under provisioner field #885
Comments
Hey @amitde69, we'd love to understand what about userdata you need. It's a challenging space that intermingles kubelet configuration and instance configuration. The more clear you can be about the use case, the better can find a solution that works cleanly with all use cases. |
we are running on AWS and we want to avoid using AutoScalingGroups / Launch Templates entirely. we are using chef/custom scripts to bootstrap all EKS nodes to install some prerequisites before joining the nodes into the cluster, so we have custom userdata configure for all the EC2 EKS nodes. if we can configure the userdata in Karpenter objects, it will allow us to not relay on AutoScalingGroups / Launch Templates entirely and let Karpenter do all the thinking. |
Is it possible to install these prerequisites using a daemonset with root permissions? |
Not really because we are installing SSM agent on the nodes at start up, if the node fails to join the cluster then we wont have SSM access to debug it |
Is there any plan of integrating the feature of providing user data in the provisions themselves instead of going ahead with the Launch templates? |
Tell us about your request
Currently we are working with cluster autoscaler in production, our only blocker from taking Karpenter to production is controlling the instance userdata when creating the provisioner resource.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
It seems that the current implementation does not support custom userdata unless you’re using a custom launch-template.
Using a launch-template is not optimal because that defeats some of the purposes of Karpenter in terms of instance types/securitygroup/az balancing.
Are you currently working around this issue?
Currently its a blocker for us for using the tool
In production.
Community Note
The text was updated successfully, but these errors were encountered: