Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 5. Using feature gates in a hosted cluster
You can use feature gates in a hosted cluster to enable features that are not part of the default set of features. You can enable the
TechPreviewNoUpgrade
5.1. Enabling feature sets by using feature gates Link kopierenLink in die Zwischenablage kopiert!
You can enable the
TechPreviewNoUpgrade
HostedCluster
Prerequisites
-
You installed the OpenShift CLI ().
oc
Procedure
Open the
CR for editing on the hosting cluster by running the following command:HostedCluster$ oc edit hostedcluster <hosted_cluster_name> -n <hosted_cluster_namespace>Define the feature set by entering a value in the
field. For example:featureSetapiVersion: hypershift.openshift.io/v1beta1 kind: HostedCluster metadata: name: <hosted_cluster_name>1 namespace: <hosted_cluster_namespace>2 spec: configuration: featureGate: featureSet: TechPreviewNoUpgrade3 WarningEnabling the
feature set on your cluster cannot be undone and prevents minor version updates. This feature set allows you to enable these Technology Preview features on test clusters, where you can fully test them. Do not enable this feature set on production clusters.TechPreviewNoUpgrade- Save the file to apply the changes.
Verification
Verify that the
feature gate is enabled in your hosted cluster by running the following command:TechPreviewNoUpgrade$ oc get featuregate cluster -o yaml