-
Notifications
You must be signed in to change notification settings - Fork 280
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
cvx-bump-ram #547
Conversation
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 How about that? |
in my case it still needs to be part of |
I meant that you could look for env vars defined in the topo before
creating container to set the mem requirements. But now I'm thinking that
having it under a node makes sense. Ideally with that we should also be
able to set cgroups for containers in the future
…On Sat, 24 Jul 2021 at 16:14, Michael Kashin ***@***.***> wrote:
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
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#547 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLKV5L5UPJ3CEU4P73MHE3TZLDC3ANCNFSM5A5QBVAQ>
.
|
I've added CPU and RAM fields to |
Would cvx handle the ram set in 0.8G format? |
yeah, the format is parsed by |
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 |
ah yeah, missed that. let me know if you want me to add it |
If you can add it here that would be great
…On Sat, 24 Jul 2021 at 17:46, Michael Kashin ***@***.***> wrote:
ah yeah, missed that. let me know if you want me to add it
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#547 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABLKV5OBGCJDHJPMW5Y4KJDTZLN5BANCNFSM5A5QBVAQ>
.
|
done |
thanks @networkop |
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.