Skip to content

Commit

Permalink
common-instancetypes: Remove FG and update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Yarwood <[email protected]>
  • Loading branch information
lyarwood committed Nov 8, 2024
1 parent cb94ad9 commit 8f2a9a1
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/user_workloads/deploy_common_instancetypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,21 @@ The [`kubevirt/common-instancetypes`](https://github.com/kubevirt/common-instanc
Beginning with the 1.1 release of KubeVirt, cluster wide resources can be deployed directly through KubeVirt, without another operator.
This allows deployment of a set of default instancetypes and preferences along side KubeVirt.

## Enable automatic deployment of common-instancetypes
With the [`v1.4.0`](https://github.com/kubevirt/kubevirt/releases/tag/v1.4.0) release of KubeVirt, common-instancetypes are now deployed by default.

To enable the deployment of cluster-wide common-instancetypes through the KubeVirt `virt-operator`, the `CommonInstancetypesDeploymentGate` feature gate needs to be enabled.
## **FEATURE STATE:**

See [Activating feature gates](../cluster_admin/activating_feature_gates.md) on how to enable it.
* Alpha - [`v1.1.0`](https://github.com/kubevirt/kubevirt/releases/tag/v1.1.0)
* Beta - [`v1.2.0`](https://github.com/kubevirt/kubevirt/releases/tag/v1.2.0)
* GA - [`v1.4.0`](https://github.com/kubevirt/kubevirt/releases/tag/v1.4.0) (Enabled by default)

## Control deployment of common-instancetypes

To explictly enable or disable the deployment of cluster-wide common-instancetypes through the KubeVirt `virt-operator` use the `spec.configuration.commonInstancetypesDeployment.enable` configurable.

```shell
$ kubectl patch -n kubevirt kv/kubevirt --type merge -p '{"spec":{"configuration":{"commonInstancetypesDeployment":{"enable": false}}}}'
```

## Deploy common-instancetypes manually

Expand Down

0 comments on commit 8f2a9a1

Please sign in to comment.