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

kind: amend env variable CONFIG_WORKER_CPU_MANAGER #983

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

zhlhahaha
Copy link
Contributor

@zhlhahaha zhlhahaha commented Mar 23, 2023

This variable is defined in cluster-up/cluster/kind/common.sh
which is CONFIG_WORKER_CPU_MANAGER rather than
CONFIG_CPU_MANAGER

@kubevirt-bot kubevirt-bot added the dco-signoff: yes Indicates the PR's author has DCO signed all their commits. label Mar 23, 2023
@zhlhahaha
Copy link
Contributor Author

cc: @oshoval

Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

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

Can you add the reason why this change is needed to the commit message?

@oshoval
Copy link
Contributor

oshoval commented Mar 23, 2023

Thanks @zhlhahaha
Sorry that missed it, we don't maintain this provider so we don't have automation for it.
Also note that this provider can't stay 1.23, as we support only the last 3 k8s versions.
Every PR cause a presubmit and postsubmit, it might be possible to extract this provider outside of kubevirtci ?

Note that we might soon deprecate support of kind in favor for k3d,
would k3d be good enough for you in such case?

You can see the new k3d-1.25-sriov provider, where you can export DEPLOY_SRIOV=false in order to
deploy only k3d (EDIT note that it doesn't wait for the pods to be ready atm when SR-IOV is not deployed).

We strive to support less providers, as part of kubevirtci,
and only those which are relevant for the automation,
but of course we would like that it will be also comfortable for you.

PR desc / commit typo "varialbe"

@zhlhahaha
Copy link
Contributor Author

Can you add the reason why this change is needed to the commit message?

Of course, this variable name supposed to be same as the following one, which make cpumanager related configuration would be set in kind.yaml for worker node.

CONFIG_WORKER_CPU_MANAGER=${CONFIG_WORKER_CPU_MANAGER:-false}

@zhlhahaha
Copy link
Contributor Author

Thanks @zhlhahaha Sorry that missed it, we don't maintain this provider so we don't have automation for it.

I see, now we use this provider for e2e tests on Arm64 server.

Also note that this provider can't stay 1.23, as we support only the last 3 k8s versions.

Yes, you are right. I see the issue. for the cpumanager issue. I am curious why the issue occus.

Note that we might soon deprecate support of kind in favor for k3d, would k3d be good enough for you in such case?

I am not familiar with k3d. I may need to verify if it run well on Arm64 server and if it is suitable for CICD pipeline on Arm64.

You can see the new k3d-1.25-sriov provider, where you can export DEPLOY_SRIOV=false in order to deploy only k3d. We strive to support less providers.

Yes, it make sense.

@oshoval
Copy link
Contributor

oshoval commented Mar 23, 2023

Can you add the reason why this change is needed to the commit message?

Of course, this variable name supposed to be same as the following one, which make cpumanager related configuration would be set in kind.yaml for worker node.

CONFIG_WORKER_CPU_MANAGER=${CONFIG_WORKER_CPU_MANAGER:-false}

Please add the explanation to the commit message / PR desc so we can merge this PR for now,
later on please let us know if k3d is suitable for you so we can drop this provider.
Is it fine ?

@zhlhahaha
Copy link
Contributor Author

Please add the explanation to the commit message / PR desc so we can merge this PR for now,

Added

@oshoval
Copy link
Contributor

oshoval commented Mar 23, 2023

Thanks, just a typo "varialbe" on PR desc and commit if you can take a look please

This variable is defined in cluster-up/cluster/kind/common.sh
which is CONFIG_WORKER_CPU_MANAGER rather than
CONFIG_CPU_MANAGER

Signed-off-by: howard zhang <[email protected]>
@zhlhahaha zhlhahaha changed the title kind: amend env varialbe CONFIG_WORKER_CPU_MANAGER kind: amend env variable CONFIG_WORKER_CPU_MANAGER Mar 23, 2023
Copy link
Contributor

@oshoval oshoval left a comment

Choose a reason for hiding this comment

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

Thanks

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 23, 2023
Copy link
Member

@brianmcarey brianmcarey left a comment

Choose a reason for hiding this comment

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

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brianmcarey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 23, 2023
@kubevirt-bot kubevirt-bot merged commit 58e2672 into kubevirt:main Mar 23, 2023
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Mar 24, 2023
[2e998c2 Control-plane nodes which are marked as schedulable are also given worker role.](kubevirt/kubevirtci#985)
[58e2672 kind: amend env variable CONFIG_WORKER_CPU_MANAGER](kubevirt/kubevirtci#983)
[2957a2f publish: Refactor script](kubevirt/kubevirtci#980)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
kubevirt-bot added a commit to kubevirt-bot/kubevirt that referenced this pull request Mar 30, 2023
[c731ec1 Revert "Control-plane nodes which are marked as schedulable are also given worker role.](https://github.com/kubevirt/kubevirtci/pull/985)"](https://github.com/kubevirt/kubevirtci/pull/990)
[9df5cab publish: Parameterize CRI binary](kubevirt/kubevirtci#989)
[2e998c2 Control-plane nodes which are marked as schedulable are also given worker role.](kubevirt/kubevirtci#985)
[58e2672 kind: amend env variable CONFIG_WORKER_CPU_MANAGER](kubevirt/kubevirtci#983)
[2957a2f publish: Refactor script](kubevirt/kubevirtci#980)

```release-note
NONE
```

Signed-off-by: kubevirt-bot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants