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

openscapes/linked-earth: fix node sharing to fit on nodes perfectly #2338

Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Mar 12, 2023

This fixes a bug that hasn't been reported yet I think. Its a bug related to requesting 101% or similar when we should request <100% of the allocatable memory for a node.

Like this, we account for the allocatable memory as reported by k8s for specific node types and provide 1 GiB of headroom for system pods on the node like kube-proxy etc.

Already deployed

I've tested this and it solves the issue of failing to start on the largest node share variant.

Related

Without this adjustment, we could not request a dedicated node via node
share.
Without this adjustment, we could not request a dedicated node via node
share.
@github-actions
Copy link

Merging this PR will trigger the following deployment actions.

Support and Staging deployments

Cloud Provider Cluster Name Upgrade Support? Reason for Support Redeploy Upgrade Staging? Reason for Staging Redeploy
gcp linked-earth No Yes Following helm chart values files were modified: common.values.yaml
aws openscapes No Yes Following helm chart values files were modified: common.values.yaml

Production deployments

Cloud Provider Cluster Name Hub Name Reason for Redeploy
gcp linked-earth prod Following helm chart values files were modified: common.values.yaml
aws openscapes prod Following helm chart values files were modified: common.values.yaml

@consideRatio consideRatio self-assigned this Mar 12, 2023
Copy link
Contributor

@pnasrat pnasrat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Longer term if this is a common pattern for profile sizing it might be nice to have code that generates the guarantees overrides with the appropriate deductions to encode the logic. However that's beyond the scope of this change.

@consideRatio
Copy link
Member Author

Longer term if this is a common pattern for profile sizing it might be nice to have code that generates the guarantees overrides with the appropriate deductions to encode the logic. However that's beyond the scope of this change.

💯 I have a Python script locally on my computer for now, but its such an actively deliberated topic still so I've not focused on getting it into this repo yet.

@consideRatio consideRatio merged commit f2eb7aa into 2i2c-org:master Mar 13, 2023
@consideRatio
Copy link
Member Author

Thank you for review efforts @pnasrat!!!

@github-actions
Copy link

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/4404919553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants