Skip to content

chore(IDX): k8s config updates #4815

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

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

chore(IDX): k8s config updates #4815

wants to merge 7 commits into from

Conversation

marko-k0
Copy link
Member

No description provided.

@github-actions github-actions bot added the chore label Apr 15, 2025
// We make reservation for 42 vcpus only if VM uses 64 vcpus because there are
// already other k8s resources having resource requests that prevents reservation to succeeds.
// Note that VM still gets 64 vcpus.
let vcpus = min(36, vm_req.vcpus.get()).to_string();
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we can't reserve more than 42 vCPUs shouldn't we have:

Suggested change
let vcpus = min(36, vm_req.vcpus.get()).to_string();
let vcpus = max(42, vm_req.vcpus.get()).to_string();

@@ -389,11 +398,19 @@ impl TNet {
// TODO: only download it once and copy it if it's already downloaded
let args = format!(
"set -xe; \
apk add file; \
Copy link
Collaborator

Choose a reason for hiding this comment

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

In the below piece of code shouldn't we check if the hash of the downloaded file matches what we expect (like we do in Farm)?

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

Successfully merging this pull request may close these issues.

2 participants