apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
name: cluster
spec:
featureSet: "TechPreviewNoUpgrade" (1)
As an administrator, you can turn on features that are in Technology Preview status.
You can use the FeatureGate
custom resource to enable Technology Preview
features throughout your cluster. This allows you, for example, to enable
Technology Preview features on test clusters where you can fully test them while
ensuring they are disabled on production clusters.
After turning Technology Preview features on using feature gates, they cannot be turned off and cluster upgrades are prevented. |
The following Technology Preview features included in OKD:
FeatureGate | Description | Default |
---|---|---|
|
Enables the rotation of the server TLS certificate on the cluster. |
True |
|
Enables support for limiting the number of processes (PIDs) running in a pod. |
True |
|
Enables automatically repairing unhealthy machines in a machine pool. |
True |
|
Enable the consumption of local ephemeral storage and also the |
False |
You can enable these features by editing the Feature Gate Custom Resource. Turning on these features cannot be undone and prevents the ability to upgrade your cluster.
You can turn on Technology Preview features on for all nodes in the cluster by
editing the FeatureGate
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 |
To turn on the Technology Preview features for the entire cluster:
In the OKD web console, switch to the Administration → Custom Resource Definitions page.
On the Custom Resource Definitions page, click FeatureGate.
On the Custom Resource Definitions page, click Actions → View Instances.
On the Feature Gates page, click Create Feature Gates.
Add the featureSet
parameter:
apiVersion: config.openshift.io/v1
kind: FeatureGate
metadata:
name: cluster
spec:
featureSet: "TechPreviewNoUpgrade" (1)
1 | Add the featureSet: "TechPreviewNoUpgrade" parameter. |
Click Save.