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

NO-JIRA: KubeVirt Platform Documentation for Additional Network, CPU Performance, and VM NodeSelector #3464

Merged
merged 2 commits into from Feb 15, 2024

Conversation

davidvossel
Copy link
Contributor

This adds KubeVirt platform documentation for the following new features.

  • Additional Networks
  • CPU Performance
  • VM NodeSelector

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 24, 2024
@openshift-ci-robot
Copy link

@davidvossel: This pull request explicitly references no jira issue.

In response to this:

This adds KubeVirt platform documentation for the following new features.

  • Additional Networks
  • CPU Performance
  • VM NodeSelector

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the area/documentation Indicates the PR includes changes for documentation label Jan 24, 2024
Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for hypershift-docs ready!

Name Link
🔨 Latest commit 064f600
🔍 Latest deploy log https://app.netlify.com/sites/hypershift-docs/deploys/65bac5aa755e7b00085dd1b7
😎 Deploy Preview https://deploy-preview-3464--hypershift-docs.netlify.app/how-to/kubevirt/configuring-network
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

openshift-ci bot commented Jan 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidvossel

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

@openshift-ci openshift-ci bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed do-not-merge/needs-area labels Jan 24, 2024
@maiqueb
Copy link

maiqueb commented Jan 25, 2024

/cc

@openshift-ci openshift-ci bot requested a review from maiqueb January 25, 2024 17:38
## Attaching Additional Networks to KubeVirt VMs

Attaching additional networks to a KubeVirt NodePool is accomplished through
the usage of multus and [NetworkAttachmentDefinitions](https://docs.openshift.com/container-platform/4.14/rest_api/network_apis/networkattachmentdefinition-k8s-cni-cncf-io-v1.html). Below is an example
Copy link
Contributor

Choose a reason for hiding this comment

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

We can add the kubevirt blog practical examples that covers all the aspects not only the nad:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

is there an openshift related doc i can link to that covers this?

Copy link

Choose a reason for hiding this comment

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


In this example, the KubeVirt VMs will have interfaces attached to the networks
for the NetworkAttachmentDefinitions network1 and network2 which reside in
namespace my-namespace.
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need to document also doing it with NodePool CRD ? like creating new nodepools with additional networks.

Copy link

Choose a reason for hiding this comment

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

IMO that would make sense if we do that for other features. I recall from the openshift documentation we only document CLI based flows.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we haven't been documenting usage of the APIs directly yet

Copy link

@maiqueb maiqueb left a comment

Choose a reason for hiding this comment

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

lgtm for the multus side.


In this example, the KubeVirt VMs will have interfaces attached to the networks
for the NetworkAttachmentDefinitions network1 and network2 which reside in
namespace my-namespace.
Copy link

Choose a reason for hiding this comment

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

IMO that would make sense if we do that for other features. I recall from the openshift documentation we only document CLI based flows.

Signed-off-by: David Vossel <davidvossel@gmail.com>
Signed-off-by: David Vossel <davidvossel@gmail.com>
@davidvossel
Copy link
Contributor Author

@qinqon @maiqueb i updated the pr with the documentation link that was suggested

@qinqon
Copy link
Contributor

qinqon commented Feb 15, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 15, 2024
Copy link
Contributor

openshift-ci bot commented Feb 15, 2024

@davidvossel: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 806005b into openshift:main Feb 15, 2024
8 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-hypershift-container-v4.16.0-202402150810.p0.g806005b.assembly.stream.el9 for distgit hypershift.
All builds following this will include this PR.

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. area/documentation Indicates the PR includes changes for documentation jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants