13.2. Activation des capacités de la grappe en définissant l'ensemble des capacités de base
En tant qu'administrateur de cluster, vous pouvez activer les capacités en définissant baselineCapabilitySet
.
Conditions préalables
-
Vous avez installé l'OpenShift CLI (
oc
).
Procédure
Pour définir le site
baselineCapabilitySet
, exécutez la commande suivante :$ oc patch clusterversion version --type merge -p '{"spec":{"capabilities":{"baselineCapabilitySet":"vCurrent"}}}''1
- 1
- Pour
baselineCapabilitySet
, vous pouvez spécifiervCurrent
,v4.11
,v4.12
, ouNone
.
The following table describes the baselineCapabilitySet
values.
Valeur | Description |
---|---|
| Specify when you want to automatically add new capabilities as they become recommended. |
|
Specify when you want the capabilities recommended in OpenShift Container Platform 4.11 and not automatically enable capabilities, which might be introduced in later versions. The capabilities recommended in OpenShift Container Platform 4.11 are |
|
Specify when you want the capabilities recommended in OpenShift Container Platform 4.12 and not automatically enable capabilities, which might be introduced in later versions. The capabilities recommended in OpenShift Container Platform 4.12 are |
|
Specify when the other sets are too large, and you do not need any capabilities or want to fine-tune via |