Skip to content

Commit 385fe69

Browse files
authored
Merge pull request #62957 from apinnick/post-install-configuration
post-install configuration
2 parents 8d82f10 + bcfa35a commit 385fe69

31 files changed

+413
-245
lines changed

_topic_maps/_topic_map.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3629,18 +3629,23 @@ Topics:
36293629
- Name: Installing OKD Virtualization
36303630
File: installing-virt
36313631
Distros: openshift-origin
3632-
- Name: Specifying nodes for OpenShift Virtualization components
3633-
File: virt-specifying-nodes-for-virtualization-components
3634-
Distros: openshift-enterprise
3635-
- Name: Specifying nodes for OKD Virtualization components
3636-
File: virt-specifying-nodes-for-virtualization-components
3637-
Distros: openshift-origin
36383632
- Name: Uninstalling OpenShift Virtualization
36393633
File: uninstalling-virt
36403634
Distros: openshift-enterprise
36413635
- Name: Uninstalling OKD Virtualization
36423636
File: uninstalling-virt
36433637
Distros: openshift-origin
3638+
- Name: Post-installation configuration
3639+
Dir: post_installation_configuration
3640+
Topics:
3641+
- Name: Post-installation configuration
3642+
File: virt-post-install-config
3643+
- Name: Node placement rules
3644+
File: virt-node-placement-virt-components
3645+
- Name: Network configuration
3646+
File: virt-post-install-network-config
3647+
- Name: Storage configuration
3648+
File: virt-post-install-storage-config
36443649
- Name: Updating
36453650
Dir: updating
36463651
Topics:

modules/k8s-nmstate-installing-the-kubernetes-nmstate-operator.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// This is included in the following assemblies:
22
//
33
// networking/k8s_nmstate/k8s-nmstate-about-the-kubernetes-nmstate-operator.adoc
4+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
45

56
:_content-type: PROCEDURE
67
[id="installing-the-kubernetes-nmstate-operator-web-console_{context}"]
7-
= Installing the Kubernetes NMState Operator using the web console
8+
= Installing the Kubernetes NMState Operator by using the web console
89

910
You can install the Kubernetes NMState Operator by using the web console. After it is installed, the Operator can deploy the NMState State Controller as a daemon set across all of the cluster nodes.
1011

modules/nw-sriov-configuring-device.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * networking/hardware_networks/configuring-sriov-device.adoc
44
// * virt/vm_networking/virt-connecting-vm-to-sriov.adoc
5+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
56

67
ifeval::["{context}" == "configuring-sriov-device"]
78
:ocp-sriov:
@@ -10,6 +11,9 @@ endif::[]
1011
ifeval::["{context}" == "virt-connecting-vm-to-sriov"]
1112
:virt-sriov:
1213
endif::[]
14+
ifeval::["{context}" == "virt-post-install-network-config"]
15+
:virt-sriov:
16+
endif::[]
1317

1418
:_content-type: PROCEDURE
1519
[id="nw-sriov-configuring-device_{context}"]

modules/nw-sriov-installing-operator.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// Module included in the following assemblies:
22
//
33
// * networking/hardware_networks/installing-sriov-operator.adoc
4+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
45

56
:_content-type: PROCEDURE
67
[id="installing-sr-iov-operator_{context}"]
7-
= Installing SR-IOV Network Operator
8+
= Installing the SR-IOV Network Operator
89

9-
As a cluster administrator, you can install the SR-IOV Network Operator by using the {product-title} CLI or the web console.
10+
As a cluster administrator, you can install the Single Root I/O Virtualization (SR-IOV) Network Operator by using the {product-title} CLI or the web console.
1011

1112
[id="install-operator-cli_{context}"]
1213
== CLI: Installing the SR-IOV Network Operator

modules/nw-sriov-network-attachment.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
//
33
// * networking/hardware_networks/configuring-sriov-net-attach.adoc
44
// * virt/vm_networking/virt-connecting-vm-to-sriov.adoc
5+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
56

67
// Note: IB does not support ipam with `type=dhcp`.
78

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * vvirt/post_installation_configuration/virt-node-placement-virt-components.adoc
4+
5+
:_content-type: CONCEPT
6+
[id="virt-about-node-placement-virt-components_{context}"]
7+
= About node placement rules for {VirtProductName} components
8+
9+
You can use node placement rules for the following tasks:
10+
11+
* Deploy virtual machines only on nodes intended for virtualization workloads.
12+
* Deploy Operators only on infrastructure nodes.
13+
* Maintain separation between workloads.
14+
15+
Depending on the object, you can use one or more of the following rule types:
16+
17+
`nodeSelector`:: Allows pods to be scheduled on nodes that are labeled with the key-value pair or pairs that you specify in this field. The node must have labels that exactly match all listed pairs.
18+
`affinity`:: Enables you to use more expressive syntax to set rules that match nodes with pods. Affinity also allows for more nuance in how the rules are applied. For example, you can specify that a rule is a preference, not a requirement. If a rule is a preference, pods are still scheduled when the rule is not satisfied.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * virt/post_installation_configuration/virt-node-placement-virt-components.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="virt-applying-node-place-rules_{context}"]
7+
= Applying node placement rules
8+
9+
You can apply node placement rules by editing a `Subscription`, `HyperConverged`, or `HostPathProvisioner` object using the command line.
10+
11+
.Prerequisites
12+
13+
* The `oc` CLI tool is installed.
14+
* You are logged in with cluster administrator permissions.
15+
16+
.Procedure
17+
18+
. Edit the object in your default editor by running the following command:
19+
+
20+
[source,terminal]
21+
----
22+
$ oc edit <resource_type> <resource_name> -n {CNVNamespace}
23+
----
24+
25+
. Save the file to apply the changes.

modules/virt-configuring-secondary-network-vm-live-migration.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/vm_networking/virt-dedicated-network-live-migration.adoc
4+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
45

56
:_content-type: PROCEDURE
67
[id="virt-configuring-secondary-network-vm-live-migration_{context}"]
7-
= Configuring a dedicated secondary network for virtual machine live migration
8+
= Configuring a dedicated secondary network for live migration
89

910
To configure a dedicated secondary network for live migration, you must first create a bridge network attachment definition (NAD) by using the CLI. Then, you add the name of the `NetworkAttachmentDefinition` object to the `HyperConverged` custom resource (CR).
1011

@@ -52,7 +53,7 @@ spec:
5253
oc edit hyperconverged kubevirt-hyperconverged -n {CNVNamespace}
5354
----
5455

55-
. Add the name of the `NetworkAttachmentDefinition` object to the `spec.liveMigrationConfig` stanza of the `HyperConverged` CR. For example:
56+
. Add the name of the `NetworkAttachmentDefinition` object to the `spec.liveMigrationConfig` stanza of the `HyperConverged` CR:
5657
+
5758
.Example `HyperConverged` manifest
5859
[source,yaml]

modules/virt-creating-hpp-basic-storage-pool.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/virtual_machines/virtual_disks/virt-configuring-local-storage-for-vms.adoc
4+
// * virt/post_installation_configuration/virt-post-install-storage-config.adoc
45

56
:_content-type: PROCEDURE
67
[id="virt-creating-hpp-basic-storage-pool_{context}"]

modules/virt-creating-linux-bridge-nad-web.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Module included in the following assemblies:
22
//
33
// * virt/vm_networking/virt-connecting-vm-to-linux-bridge.adoc
4+
// * virt/post_installation_configuration/virt-post-install-network-config.adoc
45
//This file contains UI elements and/or package names that need to be updated.
56

67
:_content-type: PROCEDURE

0 commit comments

Comments
 (0)