第 3 章 Cluster capabilities
Cluster administrators can use cluster capabilities to enable or disable optional components prior to installation. Cluster administrators can enable cluster capabilities at anytime after installation.
Cluster administrators cannot disable a cluster capability after it is enabled.
3.1. Enabling cluster capabilities 复制链接链接已复制到粘贴板!
If you are using an installation method that includes customizing your cluster by creating an install-config.yaml file, you can select which cluster capabilities you want to make available on the cluster.
If you customize your cluster by enabling or disabling specific cluster capabilities, you must manually maintain your install-config.yaml file. New OpenShift Container Platform updates might declare new capability handles for existing components, or introduce new components altogether. Users who customize their install-config.yaml file should consider periodically updating their install-config.yaml file as OpenShift Container Platform is updated.
You can use the following configuration parameters to select cluster capabilities:
capabilities:
baselineCapabilitySet: v4.11
additionalEnabledCapabilities:
- CSISnapshot
- Console
- Storage
- 1
- Defines a baseline set of capabilities to install. Valid values are
None,vCurrentandv4.x. If you selectNone, all optional capabilities are disabled. The default value isvCurrent, which enables all optional capabilities.注意v4.xrefers to any value up to and including the current cluster version. For example, valid values for a OpenShift Container Platform 4.12 cluster arev4.11andv4.12. - 2
- Defines a list of capabilities to explicitly enable. These capabilities are enabled in addition to the capabilities specified in
baselineCapabilitySet.注意In this example, the default capability is set to
v4.11. TheadditionalEnabledCapabilitiesfield enables additional capabilities over the defaultv4.11capability set.
The following table describes the baselineCapabilitySet values.
| Value | Description |
|---|---|
|
| Specify this option when you want to automatically add new, default capabilities that are introduced in new releases. |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.11. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.12. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.13. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.14. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.15. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.16. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.17. By specifying |
|
|
Specify this option when you want to enable the default capabilities for OpenShift Container Platform 4.18. By specifying |
|
|
Specify when the other sets are too large, and you do not need any capabilities or want to fine-tune via |