kube_features.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586
  1. /*
  2. Copyright 2017 The Kubernetes Authors.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. package features
  14. import (
  15. apiextensionsfeatures "k8s.io/apiextensions-apiserver/pkg/features"
  16. "k8s.io/apimachinery/pkg/util/runtime"
  17. genericfeatures "k8s.io/apiserver/pkg/features"
  18. utilfeature "k8s.io/apiserver/pkg/util/feature"
  19. "k8s.io/component-base/featuregate"
  20. )
  21. const (
  22. // Every feature gate should add method here following this template:
  23. //
  24. // // owner: @username
  25. // // alpha: v1.X
  26. // MyFeature featuregate.Feature = "MyFeature"
  27. // owner: @tallclair
  28. // beta: v1.4
  29. AppArmor featuregate.Feature = "AppArmor"
  30. // owner: @mtaufen
  31. // alpha: v1.4
  32. // beta: v1.11
  33. DynamicKubeletConfig featuregate.Feature = "DynamicKubeletConfig"
  34. // owner: @pweil-
  35. // alpha: v1.5
  36. //
  37. // Default userns=host for containers that are using other host namespaces, host mounts, the pod
  38. // contains a privileged container, or specific non-namespaced capabilities (MKNOD, SYS_MODULE,
  39. // SYS_TIME). This should only be enabled if user namespace remapping is enabled in the docker daemon.
  40. ExperimentalHostUserNamespaceDefaultingGate featuregate.Feature = "ExperimentalHostUserNamespaceDefaulting"
  41. // owner: @vishh
  42. // alpha: v1.5
  43. //
  44. // DEPRECATED - This feature is deprecated by Pod Priority and Preemption as of Kubernetes 1.13.
  45. // Ensures guaranteed scheduling of pods marked with a special pod annotation `scheduler.alpha.kubernetes.io/critical-pod`
  46. // and also prevents them from being evicted from a node.
  47. // Note: This feature is not supported for `BestEffort` pods.
  48. ExperimentalCriticalPodAnnotation featuregate.Feature = "ExperimentalCriticalPodAnnotation"
  49. // owner: @jiayingz
  50. // beta: v1.10
  51. //
  52. // Enables support for Device Plugins
  53. DevicePlugins featuregate.Feature = "DevicePlugins"
  54. // owner: @Huang-Wei
  55. // beta: v1.13
  56. //
  57. // Changes the logic behind evicting Pods from not ready Nodes
  58. // to take advantage of NoExecute Taints and Tolerations.
  59. TaintBasedEvictions featuregate.Feature = "TaintBasedEvictions"
  60. // owner: @mikedanese
  61. // alpha: v1.7
  62. // beta: v1.12
  63. //
  64. // Gets a server certificate for the kubelet from the Certificate Signing
  65. // Request API instead of generating one self signed and auto rotates the
  66. // certificate as expiration approaches.
  67. RotateKubeletServerCertificate featuregate.Feature = "RotateKubeletServerCertificate"
  68. // owner: @mikedanese
  69. // beta: v1.8
  70. //
  71. // Automatically renews the client certificate used for communicating with
  72. // the API server as the certificate approaches expiration.
  73. RotateKubeletClientCertificate featuregate.Feature = "RotateKubeletClientCertificate"
  74. // owner: @msau42
  75. // alpha: v1.7
  76. // beta: v1.10
  77. // ga: v1.14
  78. //
  79. // A new volume type that supports local disks on a node.
  80. PersistentLocalVolumes featuregate.Feature = "PersistentLocalVolumes"
  81. // owner: @jinxu
  82. // beta: v1.10
  83. //
  84. // New local storage types to support local storage capacity isolation
  85. LocalStorageCapacityIsolation featuregate.Feature = "LocalStorageCapacityIsolation"
  86. // owner: @gnufied
  87. // beta: v1.11
  88. // Ability to Expand persistent volumes
  89. ExpandPersistentVolumes featuregate.Feature = "ExpandPersistentVolumes"
  90. // owner: @mlmhl
  91. // beta: v1.15
  92. // Ability to expand persistent volumes' file system without unmounting volumes.
  93. ExpandInUsePersistentVolumes featuregate.Feature = "ExpandInUsePersistentVolumes"
  94. // owner: @gnufied
  95. // alpha: v1.14
  96. // Ability to expand CSI volumes
  97. ExpandCSIVolumes featuregate.Feature = "ExpandCSIVolumes"
  98. // owner: @verb
  99. // alpha: v1.10
  100. //
  101. // Allows running a "debug container" in a pod namespaces to troubleshoot a running pod.
  102. DebugContainers featuregate.Feature = "DebugContainers"
  103. // owner: @verb
  104. // beta: v1.12
  105. //
  106. // Allows all containers in a pod to share a process namespace.
  107. PodShareProcessNamespace featuregate.Feature = "PodShareProcessNamespace"
  108. // owner: @bsalamat
  109. // alpha: v1.8
  110. // beta: v1.11
  111. // GA: v1.14
  112. //
  113. // Add priority to pods. Priority affects scheduling and preemption of pods.
  114. PodPriority featuregate.Feature = "PodPriority"
  115. // owner: @k82cn
  116. // beta: v1.12
  117. //
  118. // Taint nodes based on their condition status for 'NetworkUnavailable',
  119. // 'MemoryPressure', 'PIDPressure' and 'DiskPressure'.
  120. TaintNodesByCondition featuregate.Feature = "TaintNodesByCondition"
  121. // owner: @sjenning
  122. // alpha: v1.11
  123. //
  124. // Allows resource reservations at the QoS level preventing pods at lower QoS levels from
  125. // bursting into resources requested at higher QoS levels (memory only for now)
  126. QOSReserved featuregate.Feature = "QOSReserved"
  127. // owner: @ConnorDoyle
  128. // alpha: v1.8
  129. // beta: v1.10
  130. //
  131. // Alternative container-level CPU affinity policies.
  132. CPUManager featuregate.Feature = "CPUManager"
  133. // owner: @szuecs
  134. // alpha: v1.12
  135. //
  136. // Enable nodes to change CPUCFSQuotaPeriod
  137. CPUCFSQuotaPeriod featuregate.Feature = "CustomCPUCFSQuotaPeriod"
  138. // owner: @derekwaynecarr
  139. // beta: v1.10
  140. // GA: v1.14
  141. //
  142. // Enable pods to consume pre-allocated huge pages of varying page sizes
  143. HugePages featuregate.Feature = "HugePages"
  144. // owner: @sjenning
  145. // beta: v1.11
  146. //
  147. // Enable pods to set sysctls on a pod
  148. Sysctls featuregate.Feature = "Sysctls"
  149. // owner @brendandburns
  150. // alpha: v1.9
  151. //
  152. // Enable nodes to exclude themselves from service load balancers
  153. ServiceNodeExclusion featuregate.Feature = "ServiceNodeExclusion"
  154. // owner: @jsafrane
  155. // alpha: v1.9
  156. //
  157. // Enable running mount utilities in containers.
  158. MountContainers featuregate.Feature = "MountContainers"
  159. // owner: @msau42
  160. // GA: v1.13
  161. //
  162. // Extend the default scheduler to be aware of PV topology and handle PV binding
  163. VolumeScheduling featuregate.Feature = "VolumeScheduling"
  164. // owner: @vladimirvivien
  165. // GA: v1.13
  166. //
  167. // Enable mount/attachment of Container Storage Interface (CSI) backed PVs
  168. CSIPersistentVolume featuregate.Feature = "CSIPersistentVolume"
  169. // owner: @saad-ali
  170. // alpha: v1.12
  171. // beta: v1.14
  172. // Enable all logic related to the CSIDriver API object in storage.k8s.io
  173. CSIDriverRegistry featuregate.Feature = "CSIDriverRegistry"
  174. // owner: @verult
  175. // alpha: v1.12
  176. // beta: v1.14
  177. // Enable all logic related to the CSINode API object in storage.k8s.io
  178. CSINodeInfo featuregate.Feature = "CSINodeInfo"
  179. // owner @MrHohn
  180. // GA: v1.14
  181. //
  182. // Support configurable pod DNS parameters.
  183. CustomPodDNS featuregate.Feature = "CustomPodDNS"
  184. // owner: @screeley44
  185. // alpha: v1.9
  186. // beta: v1.13
  187. //
  188. // Enable Block volume support in containers.
  189. BlockVolume featuregate.Feature = "BlockVolume"
  190. // owner: @pospispa
  191. // GA: v1.11
  192. //
  193. // Postpone deletion of a PV or a PVC when they are being used
  194. StorageObjectInUseProtection featuregate.Feature = "StorageObjectInUseProtection"
  195. // owner: @aveshagarwal
  196. // alpha: v1.9
  197. //
  198. // Enable resource limits priority function
  199. ResourceLimitsPriorityFunction featuregate.Feature = "ResourceLimitsPriorityFunction"
  200. // owner: @m1093782566
  201. // GA: v1.11
  202. //
  203. // Implement IPVS-based in-cluster service load balancing
  204. SupportIPVSProxyMode featuregate.Feature = "SupportIPVSProxyMode"
  205. // owner: @dims, @derekwaynecarr
  206. // alpha: v1.10
  207. // beta: v1.14
  208. //
  209. // Implement support for limiting pids in pods
  210. SupportPodPidsLimit featuregate.Feature = "SupportPodPidsLimit"
  211. // owner: @feiskyer
  212. // alpha: v1.10
  213. //
  214. // Enable Hyper-V containers on Windows
  215. HyperVContainer featuregate.Feature = "HyperVContainer"
  216. // owner: @k82cn
  217. // beta: v1.12
  218. //
  219. // Schedule DaemonSet Pods by default scheduler instead of DaemonSet controller
  220. ScheduleDaemonSetPods featuregate.Feature = "ScheduleDaemonSetPods"
  221. // owner: @mikedanese
  222. // beta: v1.12
  223. //
  224. // Implement TokenRequest endpoint on service account resources.
  225. TokenRequest featuregate.Feature = "TokenRequest"
  226. // owner: @mikedanese
  227. // beta: v1.12
  228. //
  229. // Enable ServiceAccountTokenVolumeProjection support in ProjectedVolumes.
  230. TokenRequestProjection featuregate.Feature = "TokenRequestProjection"
  231. // owner: @mikedanese
  232. // alpha: v1.13
  233. //
  234. // Migrate ServiceAccount volumes to use a projected volume consisting of a
  235. // ServiceAccountTokenVolumeProjection. This feature adds new required flags
  236. // to the API server.
  237. BoundServiceAccountTokenVolume featuregate.Feature = "BoundServiceAccountTokenVolume"
  238. // owner: @Random-Liu
  239. // beta: v1.11
  240. //
  241. // Enable container log rotation for cri container runtime
  242. CRIContainerLogRotation featuregate.Feature = "CRIContainerLogRotation"
  243. // owner: @krmayankk
  244. // beta: v1.14
  245. //
  246. // Enables control over the primary group ID of containers' init processes.
  247. RunAsGroup featuregate.Feature = "RunAsGroup"
  248. // owner: @saad-ali
  249. // ga
  250. //
  251. // Allow mounting a subpath of a volume in a container
  252. // Do not remove this feature gate even though it's GA
  253. VolumeSubpath featuregate.Feature = "VolumeSubpath"
  254. // owner: @gnufied
  255. // beta : v1.12
  256. //
  257. // Add support for volume plugins to report node specific
  258. // volume limits
  259. AttachVolumeLimit featuregate.Feature = "AttachVolumeLimit"
  260. // owner: @ravig
  261. // alpha: v1.11
  262. //
  263. // Include volume count on node to be considered for balanced resource allocation while scheduling.
  264. // A node which has closer cpu,memory utilization and volume count is favoured by scheduler
  265. // while making decisions.
  266. BalanceAttachedNodeVolumes featuregate.Feature = "BalanceAttachedNodeVolumes"
  267. // owner @freehan
  268. // GA: v1.14
  269. //
  270. // Allow user to specify additional conditions to be evaluated for Pod readiness.
  271. PodReadinessGates featuregate.Feature = "PodReadinessGates"
  272. // owner: @kevtaylor
  273. // beta: v1.15
  274. //
  275. // Allow subpath environment variable substitution
  276. // Only applicable if the VolumeSubpath feature is also enabled
  277. VolumeSubpathEnvExpansion featuregate.Feature = "VolumeSubpathEnvExpansion"
  278. // owner: @vikaschoudhary16
  279. // GA: v1.13
  280. //
  281. //
  282. // Enable probe based plugin watcher utility for discovering Kubelet plugins
  283. KubeletPluginsWatcher featuregate.Feature = "KubeletPluginsWatcher"
  284. // owner: @vikaschoudhary16
  285. // beta: v1.12
  286. //
  287. //
  288. // Enable resource quota scope selectors
  289. ResourceQuotaScopeSelectors featuregate.Feature = "ResourceQuotaScopeSelectors"
  290. // owner: @vladimirvivien
  291. // alpha: v1.11
  292. // beta: v1.14
  293. //
  294. // Enables CSI to use raw block storage volumes
  295. CSIBlockVolume featuregate.Feature = "CSIBlockVolume"
  296. // owner: @vladimirvivien
  297. // alpha: v1.14
  298. //
  299. // Enables CSI Inline volumes support for pods
  300. CSIInlineVolume featuregate.Feature = "CSIInlineVolume"
  301. // owner: @tallclair
  302. // alpha: v1.12
  303. // beta: v1.14
  304. //
  305. // Enables RuntimeClass, for selecting between multiple runtimes to run a pod.
  306. RuntimeClass featuregate.Feature = "RuntimeClass"
  307. // owner: @mtaufen
  308. // alpha: v1.12
  309. // beta: v1.14
  310. //
  311. // Kubelet uses the new Lease API to report node heartbeats,
  312. // (Kube) Node Lifecycle Controller uses these heartbeats as a node health signal.
  313. NodeLease featuregate.Feature = "NodeLease"
  314. // owner: @janosi
  315. // alpha: v1.12
  316. //
  317. // Enables SCTP as new protocol for Service ports, NetworkPolicy, and ContainerPort in Pod/Containers definition
  318. SCTPSupport featuregate.Feature = "SCTPSupport"
  319. // owner: @xing-yang
  320. // alpha: v1.12
  321. //
  322. // Enable volume snapshot data source support.
  323. VolumeSnapshotDataSource featuregate.Feature = "VolumeSnapshotDataSource"
  324. // owner: @jessfraz
  325. // alpha: v1.12
  326. //
  327. // Enables control over ProcMountType for containers.
  328. ProcMountType featuregate.Feature = "ProcMountType"
  329. // owner: @janetkuo
  330. // alpha: v1.12
  331. //
  332. // Allow TTL controller to clean up Pods and Jobs after they finish.
  333. TTLAfterFinished featuregate.Feature = "TTLAfterFinished"
  334. // owner: @dashpole
  335. // alpha: v1.13
  336. // beta: v1.15
  337. //
  338. // Enables the kubelet's pod resources grpc endpoint
  339. KubeletPodResources featuregate.Feature = "KubeletPodResources"
  340. // owner: @davidz627
  341. // alpha: v1.14
  342. //
  343. // Enables the in-tree storage to CSI Plugin migration feature.
  344. CSIMigration featuregate.Feature = "CSIMigration"
  345. // owner: @davidz627
  346. // alpha: v1.14
  347. //
  348. // Enables the GCE PD in-tree driver to GCE CSI Driver migration feature.
  349. CSIMigrationGCE featuregate.Feature = "CSIMigrationGCE"
  350. // owner: @leakingtapan
  351. // alpha: v1.14
  352. //
  353. // Enables the AWS EBS in-tree driver to AWS EBS CSI Driver migration feature.
  354. CSIMigrationAWS featuregate.Feature = "CSIMigrationAWS"
  355. // owner: @andyzhangx
  356. // alpha: v1.15
  357. //
  358. // Enables the Azure Disk in-tree driver to Azure Disk Driver migration feature.
  359. CSIMigrationAzureDisk featuregate.Feature = "CSIMigrationAzureDisk"
  360. // owner: @andyzhangx
  361. // alpha: v1.15
  362. //
  363. // Enables the Azure File in-tree driver to Azure File Driver migration feature.
  364. CSIMigrationAzureFile featuregate.Feature = "CSIMigrationAzureFile"
  365. // owner: @RobertKrawitz
  366. // beta: v1.15
  367. //
  368. // Implement support for limiting pids in nodes
  369. SupportNodePidsLimit featuregate.Feature = "SupportNodePidsLimit"
  370. // owner: @wk8
  371. // alpha: v1.14
  372. //
  373. // Enables GMSA support for Windows workloads.
  374. WindowsGMSA featuregate.Feature = "WindowsGMSA"
  375. // owner: @adisky
  376. // alpha: v1.14
  377. //
  378. // Enables the OpenStack Cinder in-tree driver to OpenStack Cinder CSI Driver migration feature.
  379. CSIMigrationOpenStack featuregate.Feature = "CSIMigrationOpenStack"
  380. // owner: @verult
  381. // GA: v1.13
  382. //
  383. // Enables the regional PD feature on GCE.
  384. deprecatedGCERegionalPersistentDisk featuregate.Feature = "GCERegionalPersistentDisk"
  385. // owner: @MrHohn
  386. // alpha: v1.15
  387. //
  388. // Enables Finalizer Protection for Service LoadBalancers.
  389. ServiceLoadBalancerFinalizer featuregate.Feature = "ServiceLoadBalancerFinalizer"
  390. // owner: @RobertKrawitz
  391. // alpha: v1.15
  392. //
  393. // Allow use of filesystems for ephemeral storage monitoring.
  394. // Only applies if LocalStorageCapacityIsolation is set.
  395. LocalStorageCapacityIsolationFSQuotaMonitoring featuregate.Feature = "LocalStorageCapacityIsolationFSQuotaMonitoring"
  396. // owner: @denkensk
  397. // alpha: v1.15
  398. //
  399. // Enables NonPreempting option for priorityClass and pod.
  400. NonPreemptingPriority featuregate.Feature = "NonPreemptingPriority"
  401. // owner: @j-griffith
  402. // alpha: v1.15
  403. //
  404. // Enable support for specifying an existing PVC as a DataSource
  405. VolumePVCDataSource featuregate.Feature = "VolumePVCDataSource"
  406. )
  407. func init() {
  408. runtime.Must(utilfeature.DefaultMutableFeatureGate.Add(defaultKubernetesFeatureGates))
  409. }
  410. // defaultKubernetesFeatureGates consists of all known Kubernetes-specific feature keys.
  411. // To add a new feature, define a key for it above and add it here. The features will be
  412. // available throughout Kubernetes binaries.
  413. var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
  414. AppArmor: {Default: true, PreRelease: featuregate.Beta},
  415. DynamicKubeletConfig: {Default: true, PreRelease: featuregate.Beta},
  416. ExperimentalHostUserNamespaceDefaultingGate: {Default: false, PreRelease: featuregate.Beta},
  417. ExperimentalCriticalPodAnnotation: {Default: false, PreRelease: featuregate.Alpha},
  418. DevicePlugins: {Default: true, PreRelease: featuregate.Beta},
  419. TaintBasedEvictions: {Default: true, PreRelease: featuregate.Beta},
  420. RotateKubeletServerCertificate: {Default: true, PreRelease: featuregate.Beta},
  421. RotateKubeletClientCertificate: {Default: true, PreRelease: featuregate.Beta},
  422. PersistentLocalVolumes: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.17
  423. LocalStorageCapacityIsolation: {Default: true, PreRelease: featuregate.Beta},
  424. HugePages: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  425. Sysctls: {Default: true, PreRelease: featuregate.Beta},
  426. DebugContainers: {Default: false, PreRelease: featuregate.Alpha},
  427. PodShareProcessNamespace: {Default: true, PreRelease: featuregate.Beta},
  428. PodPriority: {Default: true, PreRelease: featuregate.GA},
  429. TaintNodesByCondition: {Default: true, PreRelease: featuregate.Beta},
  430. QOSReserved: {Default: false, PreRelease: featuregate.Alpha},
  431. ExpandPersistentVolumes: {Default: true, PreRelease: featuregate.Beta},
  432. ExpandInUsePersistentVolumes: {Default: true, PreRelease: featuregate.Beta},
  433. ExpandCSIVolumes: {Default: false, PreRelease: featuregate.Alpha},
  434. AttachVolumeLimit: {Default: true, PreRelease: featuregate.Beta},
  435. CPUManager: {Default: true, PreRelease: featuregate.Beta},
  436. CPUCFSQuotaPeriod: {Default: false, PreRelease: featuregate.Alpha},
  437. ServiceNodeExclusion: {Default: false, PreRelease: featuregate.Alpha},
  438. MountContainers: {Default: false, PreRelease: featuregate.Alpha},
  439. VolumeScheduling: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  440. CSIPersistentVolume: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  441. CSIDriverRegistry: {Default: true, PreRelease: featuregate.Beta},
  442. CSINodeInfo: {Default: true, PreRelease: featuregate.Beta},
  443. CustomPodDNS: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  444. BlockVolume: {Default: true, PreRelease: featuregate.Beta},
  445. StorageObjectInUseProtection: {Default: true, PreRelease: featuregate.GA},
  446. ResourceLimitsPriorityFunction: {Default: false, PreRelease: featuregate.Alpha},
  447. SupportIPVSProxyMode: {Default: true, PreRelease: featuregate.GA},
  448. SupportPodPidsLimit: {Default: true, PreRelease: featuregate.Beta},
  449. SupportNodePidsLimit: {Default: true, PreRelease: featuregate.Beta},
  450. HyperVContainer: {Default: false, PreRelease: featuregate.Alpha},
  451. ScheduleDaemonSetPods: {Default: true, PreRelease: featuregate.Beta},
  452. TokenRequest: {Default: true, PreRelease: featuregate.Beta},
  453. TokenRequestProjection: {Default: true, PreRelease: featuregate.Beta},
  454. BoundServiceAccountTokenVolume: {Default: false, PreRelease: featuregate.Alpha},
  455. CRIContainerLogRotation: {Default: true, PreRelease: featuregate.Beta},
  456. deprecatedGCERegionalPersistentDisk: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.17
  457. CSIMigration: {Default: false, PreRelease: featuregate.Alpha},
  458. CSIMigrationGCE: {Default: false, PreRelease: featuregate.Alpha},
  459. CSIMigrationAWS: {Default: false, PreRelease: featuregate.Alpha},
  460. CSIMigrationAzureDisk: {Default: false, PreRelease: featuregate.Alpha},
  461. CSIMigrationAzureFile: {Default: false, PreRelease: featuregate.Alpha},
  462. RunAsGroup: {Default: true, PreRelease: featuregate.Beta},
  463. CSIMigrationOpenStack: {Default: false, PreRelease: featuregate.Alpha},
  464. VolumeSubpath: {Default: true, PreRelease: featuregate.GA},
  465. BalanceAttachedNodeVolumes: {Default: false, PreRelease: featuregate.Alpha},
  466. PodReadinessGates: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  467. VolumeSubpathEnvExpansion: {Default: true, PreRelease: featuregate.Beta},
  468. KubeletPluginsWatcher: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.16
  469. ResourceQuotaScopeSelectors: {Default: true, PreRelease: featuregate.Beta},
  470. CSIBlockVolume: {Default: true, PreRelease: featuregate.Beta},
  471. CSIInlineVolume: {Default: false, PreRelease: featuregate.Alpha},
  472. RuntimeClass: {Default: true, PreRelease: featuregate.Beta},
  473. NodeLease: {Default: true, PreRelease: featuregate.Beta},
  474. SCTPSupport: {Default: false, PreRelease: featuregate.Alpha},
  475. VolumeSnapshotDataSource: {Default: false, PreRelease: featuregate.Alpha},
  476. ProcMountType: {Default: false, PreRelease: featuregate.Alpha},
  477. TTLAfterFinished: {Default: false, PreRelease: featuregate.Alpha},
  478. KubeletPodResources: {Default: true, PreRelease: featuregate.Beta},
  479. WindowsGMSA: {Default: false, PreRelease: featuregate.Alpha},
  480. ServiceLoadBalancerFinalizer: {Default: false, PreRelease: featuregate.Alpha},
  481. LocalStorageCapacityIsolationFSQuotaMonitoring: {Default: false, PreRelease: featuregate.Alpha},
  482. NonPreemptingPriority: {Default: false, PreRelease: featuregate.Alpha},
  483. VolumePVCDataSource: {Default: false, PreRelease: featuregate.Alpha},
  484. // inherited features from generic apiserver, relisted here to get a conflict if it is changed
  485. // unintentionally on either side:
  486. genericfeatures.StreamingProxyRedirects: {Default: true, PreRelease: featuregate.Beta},
  487. genericfeatures.ValidateProxyRedirects: {Default: true, PreRelease: featuregate.Beta},
  488. genericfeatures.AdvancedAuditing: {Default: true, PreRelease: featuregate.GA},
  489. genericfeatures.DynamicAuditing: {Default: false, PreRelease: featuregate.Alpha},
  490. genericfeatures.APIResponseCompression: {Default: false, PreRelease: featuregate.Alpha},
  491. genericfeatures.APIListChunking: {Default: true, PreRelease: featuregate.Beta},
  492. genericfeatures.DryRun: {Default: true, PreRelease: featuregate.Beta},
  493. genericfeatures.ServerSideApply: {Default: false, PreRelease: featuregate.Alpha},
  494. genericfeatures.RequestManagement: {Default: false, PreRelease: featuregate.Alpha},
  495. // inherited features from apiextensions-apiserver, relisted here to get a conflict if it is changed
  496. // unintentionally on either side:
  497. apiextensionsfeatures.CustomResourceValidation: {Default: true, PreRelease: featuregate.Beta},
  498. apiextensionsfeatures.CustomResourceSubresources: {Default: true, PreRelease: featuregate.Beta},
  499. apiextensionsfeatures.CustomResourceWebhookConversion: {Default: true, PreRelease: featuregate.Beta},
  500. apiextensionsfeatures.CustomResourcePublishOpenAPI: {Default: true, PreRelease: featuregate.Beta},
  501. apiextensionsfeatures.CustomResourceDefaulting: {Default: false, PreRelease: featuregate.Alpha},
  502. // features that enable backwards compatibility but are scheduled to be removed
  503. // ...
  504. }