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

Vmo mac address #3864

Merged
merged 4 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/docs-content/vm-management/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,33 @@ Palette VMO includes the following KubeVirt feature gates by default:
For more information on KubeVirt feature gates, refer to the
[KubeVirt Activating feature gates](https://kubevirt.io/user-guide/cluster_admin/activating_feature_gates/) guide.

## MAC Address Management

Palette automatically assigns unique Media Access Control (MAC) addresses to VMs when you create them through the
Palette UI, API, or [Terraform](../automation/terraform/terraform.md). The MAC address always starts with a prefix that
is either `02`, `06`, `0A`, or `0E`. The remaining part of the MAC address is generated randomly.

### Specify a MAC Address

You can set a VM's MAC address by specifying a value in the VM's YAML configuration file under the `macAddress` field.
lennessyy marked this conversation as resolved.
Show resolved Hide resolved
lennessyy marked this conversation as resolved.
Show resolved Hide resolved

:::danger

If you choose to assign a custom MAC address to a VM, ensure that it is unique and not already in use by any other VM in
the cluster. Duplicate MAC addresses can cause network conflicts and connectivity issues.

:::

```yaml hideClipboard
spec:
template:
spec:
domain:
devices:
interfaces:
- macAddress: "REPLACE_WITH_MAC_ADDRESS"
```

## Next Steps

Now that you understand the architecture behind Palette VMO, you can continue exploring it by reviewing our
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Select the tab that corresponds to the method you want to use to enable CPU or m

:::info

Memory changes expose an additional **Save & Restart** button. This button allows you to save the changes and immediately
restart the VM to apply the changes. Otherwise, the changes are applied through live migration.
Memory changes expose an additional **Save & Restart** button. This button allows you to save the changes and
immediately restart the VM to apply the changes. Otherwise, the changes are applied through live migration.

:::

Expand Down