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

cvx-bump-ram #547

Merged
merged 3 commits into from
Jul 27, 2021
Merged

cvx-bump-ram #547

merged 3 commits into from
Jul 27, 2021

Conversation

networkop
Copy link
Contributor

Slight memory bump for for the latest cvx image. Doing this globally for the entire ignite runtime since a) it's only used by cvx ATM b) type NodeConfig struct doesn't have a memory field.

@hellt
Copy link
Member

hellt commented Jul 24, 2021

I have the same issue with vrnetlab where I need to drive the CPU/mem req for qemu VM. I was thinking about using an env var for that.

For example if a user sets env var CLAB_MEM then this will be picked up by vrnetlab/ignite and will set the spec accordingly.

How about that?

@networkop
Copy link
Contributor Author

in my case it still needs to be part of NodeConfig since it's set at ContainerCreate stage. I can add the cpu/memory fields to NodeConfig to begin with

@hellt
Copy link
Member

hellt commented Jul 24, 2021 via email

@networkop
Copy link
Contributor Author

I've added CPU and RAM fields to nodeConfig and now they can be unique for each node. how does this look?

@hellt
Copy link
Member

hellt commented Jul 24, 2021

Would cvx handle the ram set in 0.8G format?

@networkop
Copy link
Contributor Author

yeah, the format is parsed by https://github.com/c2h5oh/datasize

@hellt
Copy link
Member

hellt commented Jul 24, 2021

At this stage the CPU and RAM won't be read from the clab.yml, but that's fine. I can add it later on when will tackle cpu settings for vrnetlab

@networkop
Copy link
Contributor Author

ah yeah, missed that. let me know if you want me to add it

@hellt
Copy link
Member

hellt commented Jul 24, 2021 via email

@networkop
Copy link
Contributor Author

done

@hellt
Copy link
Member

hellt commented Jul 27, 2021

thanks @networkop

@hellt hellt merged commit 880b6ea into srl-labs:master Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants