-
Notifications
You must be signed in to change notification settings - Fork 14
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
Jhony/mcdaniel integrating Karpenter #41
Conversation
Thanks for the pull request, @jfavellar90! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
@lpm0073 @jfavellar90 Thank you for this contribution :) |
@jfavellar90 I still need to create a cluster with Karpenter and deploy the helm chart, but looks good to me! Nice work @lpm0073 @jfavellar90! 🎉 |
@jfavellar90 @lpm0073 great job! I've started testing it. Issues I've found so far:
Workaround for M1 users is following (tested):
I've repeated Eventually I have a working Cluster, I can update my kube config and connect to it 🎉 Next, I'll try to deploy our Chart and couple of openedx installations. |
confirming that i ran into both issues for template last week on an unrelated project. comments:
`terraform { required_providers { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
charts/harmony-chart/values.yaml
Outdated
# More details in https://karpenter.sh/preview/concepts/provisioners/#speclimitsresources | ||
limits: | ||
resources: | ||
cpu: "400" # 100 * 4 cpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow. These seems to be really high limits. I don't mind, but it may not make sense. I did not see a 100 node cluster for a while.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reduced the number of nodes to 50, is it a better number?
Hey @jfavellar90, a friendly reminder to follow up on @gabor-boros's comments above. |
… Digital Ocean. Based on ./README.md, 'Appendix B: how to create a cluster for testing on DigitalOcean'. Test in AWS us-east-2 data center.
chore: edit commit messages
@gabor-boros I think this is ready for a second review. I'll be adding documentation to the main README file |
Provisioners must reference a node template: https://karpenter.sh/docs/concepts/node-templates/
@jfavellar90 Should I wait for the readme change or shall I proceed? 🚀 |
Hey @jfavellar90, a friendly reminder to get back to @gabor-boros's question above. |
@gabor-boros sorry for the late answer, I already added the docs to install Karpenter in the example infrastructure. However, there are changes we need to apply to the instructions in order to test the PR. In step 4 the Helm chart is installed in the cluster. Since the new version of the chart including Karpenter has not been released, step 4 must be replaced by the following tasks to install the chart from source:
Once the Helm chart is released, the instructions indicated in step 4 will work as expected. |
33b0567
to
7649372
Compare
Ah! Thank you @jfavellar90 I'll review this after the meeting we have now. 😇 |
FTR: The PR is reviewed, I just want to check one more thing before approving. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jfavellar90,
I just approved this PR, though I was not able to setup the kubernetes cluster. The hashicorp/template
provider is deprecated and we are still depending on it (not just directly, but probably through dependencies as well?). Hence it cannot be installed on my system.
That should be a task of a different PR to fix that as the scope of the current PR is already huge. This is a good point to raise during the meeting today.
I read through the changes many times, so I can confidently approve this.
@gabor-boros Based on your review above it sounds like this PR is ready for merge. Or are there any blockers that are keeping you from hitting the button? :) |
@jfavellar90 the latest commit fixed the issue, though there is some other issues during EKS install with CBS and other things. That needs a separate issue to fix and waaaaay out of scope for this PR, so I'm merging this one now. |
@jfavellar90 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
This is a duplicate of #24 with a couple of changes on top to adjust:
I copy the original PR description as a reference: