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

MKE Virtualization (KubeVirt) section #101

Conversation

KoryKessel-Mirantis
Copy link
Collaborator

No description provided.

@KoryKessel-Mirantis KoryKessel-Mirantis changed the title Initial draft, porting of content developed for MKE 3.7.15. MKE Virtualization (KubeVirt) section Sep 26, 2024
@sergeymirantis
Copy link
Collaborator

@KoryKessel-Mirantis - who is the approver now? Why can't I approve?
@byDimasik do you know?

@byDimasik
Copy link
Collaborator

@sergeymirantis

@KoryKessel-Mirantis - who is the approver now? Why can't I approve? @byDimasik do you know?

Try that again, I've updated your permissions

Copy link
Collaborator

@sergeymirantis sergeymirantis left a comment

Choose a reason for hiding this comment

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

looks good - please move on.

---

Virtualization functionality is available for MKE through [KubeVirt](https://kubevirt.io/), a Kubernetes extension with which you can natively run
Virtual Machine (VM) workloads alongside container workloads in Kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

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

just -- virtual machine

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.


Virtualization functionality is available for MKE through [KubeVirt](https://kubevirt.io/), a Kubernetes extension with which you can natively run
Virtual Machine (VM) workloads alongside container workloads in Kubernetes
clusters.
Copy link
Contributor

Choose a reason for hiding this comment

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

I understand that it works this way as well, but let's keep the sources nice and well-formatted. Move the word "clusters" to the previous line, there is enough space there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

weight: 3
---

Although it is not required to run KubeVirt, the virtctl CLI provides an
Copy link
Contributor

Choose a reason for hiding this comment

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

mark "virtctl" as a command/tool

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

https://binary.mirantis.com/?prefix=kubevirt/bin/artifacts.

2. Run the following command, inserting the correct values for your
architecture and platform. For **ARCH** the valid values are
Copy link
Contributor

Choose a reason for hiding this comment

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

use backticks to format the inline text as code

Copy link
Contributor

Choose a reason for hiding this comment

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

check throughout the commit

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

wget https://binary-mirantis-com.s3.amazonaws.com/kubevirt/bin/artifacts/virtctl-1.3.1-20240911005512-darwin-arm64 -O virtctl
```

3. Move virtctl to one of the :guilabel:`PATH` directories.
Copy link
Contributor

Choose a reason for hiding this comment

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

guilabel is not working in md

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That is most certainly correct!

Fixed.

---

The example scenario illustrated herein pertains to the deployment of a CirrOS
virtual machine. The scenario consists of three primary steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove the exact number of steps from "The scenario consists of three primary steps:"
This way the content is easier to maintain

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Edited to read:

"The example scenario illustrated herein pertains to the deployment of a CirrOS virtual machine, which is comprised by the following primary steps:"

storage: 3Gi
```

2. Run the following command to create the `PersistentVolumeClaim` resource
Copy link
Contributor

Choose a reason for hiding this comment

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

Create the PersistentVolumeClaim resource that you defined in the example-pvc.yaml file:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

pvc-claim-1 Bound pvc-b7d68902-f340-4b7e-8a36-495d170b7193 10Gi RWO hpp-local 10s
```

4. Run the following command to attach the disk to your VM:
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Attach the disk to your virtual machine:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

{"bus": "virtio"},"name": "example-pvc"}}]'
```

5. Restart the VM and access the console:
Copy link
Contributor

Choose a reason for hiding this comment

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

VM - virtual machine
you use it differently through the content, be consitent

Copy link
Collaborator Author

@KoryKessel-Mirantis KoryKessel-Mirantis Oct 3, 2024

Choose a reason for hiding this comment

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

As the audience flips so easily between "virtual machine" and "VM" I made a conscious choice to do the same. Still, I know you are correct...even if you do have trouble spelling 'consistent'. :-)

Done.

kubectl apply -f bridge-test.yaml
```

3. Run the following command to attach the network interface to your virtual
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Attach the network interface to your virtual machine:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

@ogusarenko ogusarenko closed this Oct 7, 2024
@ogusarenko ogusarenko reopened this Oct 7, 2024
@KoryKessel-Mirantis KoryKessel-Mirantis merged commit b000f39 into Mirantis:main Oct 7, 2024
@KoryKessel-Mirantis KoryKessel-Mirantis deleted the port-mke-virtualization-kubevirt-content-from-mke3715 branch October 7, 2024 22:01
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.

4 participants