8.6. Enabling features using feature gates
As an administrator, you can use feature gates to enable features that are not part of the default set of features so that you can use these non-default features in your cluster.
8.6.1. Understanding feature gates 复制链接链接已复制到粘贴板!
You can use the FeatureGate custom resource (CR) to enable specific feature sets so that you can use specific non-default features in your cluster.
A feature set is a collection of OpenShift Container Platform features that are not enabled by default.
You can activate the following feature set by using the FeatureGate CR:
TechPreviewNoUpgrade. This feature set is a subset of the current Technology Preview features. This feature set allows you to enable these Technology Preview features on test clusters, where you can fully test them, while leaving the features disabled on production clusters.警告Enabling the
TechPreviewNoUpgradefeature set on your cluster cannot be undone and prevents minor version updates. You should not enable this feature set on production clusters.The following Technology Preview features are enabled by this feature set:
-
AdditionalRoutingCapabilities -
AdminNetworkPolicy -
AlibabaPlatform -
AutomatedEtcdBackup -
AWSClusterHostedDNS -
AWSClusterHostedDNSInstall -
AWSDedicatedHosts -
AWSDualStackInstall -
AWSServiceLBNetworkSecurityGroup -
AzureClusterHostedDNSInstall -
AzureDedicatedHosts -
AzureDualStackInstall -
AzureMultiDisk -
AzureWorkloadIdentity -
BootcNodeManagement -
BootImageSkewEnforcement -
BuildCSIVolumes -
CBORServingAndStorage -
ClientsPreferCBOR -
ClusterAPIInstallIBMCloud -
ClusterAPIMachineManagement -
ClusterMonitoringConfig -
ClusterVersionOperatorConfiguration -
ConsolePluginContentSecurityPolicy -
CPMSMachineNamePrefix -
CRDCompatibilityRequirementOperator -
DNSNameResolver -
DualReplica -
DyanmicServiceEndpointIBMCloud -
EtcdBackendQuota -
EventTTL -
Example -
ExternalOIDC -
ExternalOIDCWithUIDAndExtraClaimMappings -
GatewayAPI -
GatewayAPIController -
GCPClusterHostedDNS -
GCPClusterHostedDNSInstall -
GCPDualStackInstall -
GCPCustomAPIEndpoints -
GCPCustomAPIEndpointsInstall -
HighlyAvailableArbiter -
HyperShiftOnlyDynamicResourceAllocation -
ImageModeStatusReporting -
ImageStreamImportMode -
ImageVolume -
InsightsConfig -
InsightsOnDemandDataGather -
IrreconcilableMachineConfig -
KMSEncryptionProvider -
KMSv1 -
MachineAPIMigration -
MachineConfigNodes -
ManagedBootImages -
ManagedBootImagesAWS -
ManagedBootImagesAzure -
ManagedBootImagesCPMS -
ManagedBootImagesvSphere -
MaxUnavailableStatefulSet -
MetricsCollectionProfiles -
MinimumKubeletVersion -
MixedCPUsAllocation -
MultiDiskSetup -
MutableCSINodeAllocatableCount -
MutatingAdmissionPolicy -
NetworkDiagnosticsConfig -
NetworkLiveMigration -
NetworkSegmentation -
NewOLM -
NewOLMCatalogdAPIV1Metas -
NewOLMOwnSingleNamespace -
NewOLMPreflightPermissionChecks -
NewOLMWebhookProviderOpenshiftServiceCA -
NoRegistryClusterInstall -
NutanixMultiSubnets -
OnPremDNSRecords -
OpenShiftPodSecurityAdmission -
OSStreams -
OVNObservability -
PinnedImages -
PreconfiguredUDNAddresses -
ProcMountType -
RouteAdvertisements -
RouteExternalCertificate -
SELinuxMount -
ServiceAccountTokenNodeBinding -
SignatureStores -
SigstoreImageVerification -
SigstoreImageVerificationPKI -
StoragePerformantSecurityPolicy -
TranslateStreamCloseWebsocketRequests -
UpgradeStatus -
UserNamespacesPodSecurityStandards -
UserNamespacesSupport -
VolumeAttributesClass -
VolumeGroupSnapshot -
VSphereConfigurableMaxAllowedBlockVolumesPerNode -
VSphereHostVMGroupZonal -
VSphereMixedNodeEnv -
VSphereMultiDisk -
VSphereMultiNetworks
-
See the Additional resources sections for information on some of these features.