Documentation ¶
Index ¶
Constants ¶
View Source
const ( // KruiseDaemon enables the features relied on kruise-daemon, such as image pulling and container restarting. KruiseDaemon featuregate.Feature = "KruiseDaemon" // PodWebhook enables webhook for Pods creations. This is also related to SidecarSet. PodWebhook featuregate.Feature = "PodWebhook" // CloneSetShortHash enables CloneSet controller only set revision hash name to pod label. CloneSetShortHash featuregate.Feature = "CloneSetShortHash" // KruisePodReadinessGate enables Kruise webhook to inject 'KruisePodReady' readiness-gate to // all Pods during creation. // Otherwise, it will only be injected to Pods created by Kruise workloads. KruisePodReadinessGate featuregate.Feature = "KruisePodReadinessGate" // PreDownloadImageForInPlaceUpdate enables cloneset-controller to create ImagePullJobs to // pre-download images for in-place update. PreDownloadImageForInPlaceUpdate featuregate.Feature = "PreDownloadImageForInPlaceUpdate" // CloneSetPartitionRollback enables CloneSet controller to rollback Pods to currentRevision // when number of updateRevision pods is bigger than (replicas - partition). CloneSetPartitionRollback featuregate.Feature = "CloneSetPartitionRollback" // ResourcesDeletionProtection enables protection for resources deletion, currently supports // Namespace, CustomResourcesDefinition, Deployment, StatefulSet, ReplicaSet, CloneSet, Advanced StatefulSet, UnitedDeployment. // It is only supported for Kubernetes version >= 1.16 // Note that if it is enabled during Kruise installation or upgrade, Kruise will require more authorities: // 1. Webhook for deletion operation of namespace, crd, deployment, statefulset, replicaset and workloads in Kruise. // 2. ClusterRole for reading all resource types, because CRD validation needs to list the CRs of this CRD. ResourcesDeletionProtection featuregate.Feature = "ResourcesDeletionProtection" )
Variables ¶
This section is empty.
Functions ¶
func ValidateFeatureGates ¶ added in v0.9.0
func ValidateFeatureGates() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.