1.8. Enabling Technology Preview features using FeatureGates
You can turn Technology Preview features on and off for all nodes in the cluster by editing the FeatureGates Custom Resource, named cluster, in the openshift-config project.
The following Technology Preview features are enabled by feature gates:
-
RotateKubeletServerCertificate
-
SupportPodPidsLimit
Turning on Technology Preview features using the FeatureGate
custom resource cannot be undone and prevents upgrades.
Procedure
To turn on the Technology Preview features for the entire cluster:
Create the FeatureGates instance:
-
Switch to the Administration
Custom Resource Definitions page. - On the Custom Resource Definitions page, click FeatureGate.
- On the Custom Resource Definitions page, click the Actions Menu and select View Instances.
- On the Feature Gates page, click Create Feature Gates.
Replace the code with following sample:
apiVersion: config.openshift.io/v1 kind: FeatureGate metadata: name: cluster spec: {}
- Click Create.
-
Switch to the Administration
To turn on the Technology Preview features, change the
spec
parameter to:apiVersion: config.openshift.io/v1 kind: FeatureGate metadata: name: cluster spec: featureSet: TechPreviewNoUpgrade 1
- 1
- Add
featureSet: TechPreviewNoUpgrade
to enable the Technology Preview features that are affected by FeatureGates.