目录
当前位置: 首页 > 文档资料 > Kubernetes 指南 >

4. 部署配置 - 4.6 特性开关

优质
小牛编辑
134浏览
2023-12-01

特性开关(Feature Gates)是 Kubernetes 中用来开启实验性功能的配置,可以通过选项 --feature-gates 来给不同的组件(如 kube-apiserver、kube-controller-manager、kube-scheduler、kubelet、kube-proxy等)开启功能特性。

开关名称默认开启阶段支持版本
AcceleratorsfalseAlpha1.6+
AdvancedAuditingfalseAlpha1.7
AdvancedAuditingtrueBeta1.8+
AffinityInAnnotationsfalseAlpha1.6-1.7
AllowExtTrafficLocalEndpointsfalseBeta1.4-1.6
AllowExtTrafficLocalEndpointstrueGA1.7+
APIListChunkingfalseAlpha1.8
APIListChunkingtrueBeta1.9+
APIResponseCompressionfalseAlpha1.7+
AppArmortrueBeta1.4+
BlockVolumefalseAlpha1.9+
CPUManagerfalseAlpha1.8-1.9
CPUManagertrueBeta1.10
CSIPersistentVolumefalseAlpha1.9+
CustomPodDNSfalseAlpha1.9+
CustomResourceValidationfalseAlpha1.8
CustomResourceValidationtrueBeta1.9+
CustomResourceSubresourcesfalseAlpha1.10
DevicePluginsfalseAlpha1.8+
DynamicKubeletConfigfalseAlpha1.4+
DynamicVolumeProvisioningtrueAlpha1.3-1.7
DynamicVolumeProvisioningtrueGA1.8+
EnableEquivalenceClassCachefalseAlpha1.8+
ExpandPersistentVolumesfalseAlpha1.8+
ExperimentalCriticalPodAnnotationfalseAlpha1.5+
ExperimentalHostUserNamespaceDefaultingfalseBeta1.5+
HugePagesfalseAlpha1.8+
InitializersfalseAlpha1.7+
KubeletConfigFilefalseAlpha1.8+
LocalStorageCapacityIsolationfalseAlpha1.7+
MountContainersfalseAlpha1.9+
MountPropagationfalseAlpha1.8+
PersistentLocalVolumesfalseAlpha1.7+
PodPriorityfalseAlpha1.8+
PVCProtectionfalseAlpha1.9+
ResourceLimitsPriorityFunctionfalseAlpha1.9+
RotateKubeletClientCertificatetrueBeta1.7+
RotateKubeletServerCertificatefalseAlpha1.7+
ServiceNodeExclusionfalseAlpha1.8+
StreamingProxyRedirectstrueBeta1.5+
SupportIPVSProxyModefalseAlpha1.8+
TaintBasedEvictionsfalseAlpha1.6+
TaintNodesByConditionfalseAlpha1.8+
VolumeSchedulingfalseAlpha1.9+

参考文档