kube-controller-manager Configuration (v1alpha1)
资源类型
ClientConnectionConfiguration    
出现在:
ClientConnectionConfiguration 包含构建客户端的详细信息。
| 字段 | 描述 | 
|---|---|
| kubeconfig[必需]string | kubeconfig 是指向 KubeConfig 文件的路径。 | 
| acceptContentTypes[必需]string | acceptContentTypes 定义了客户端在连接服务器时发送的 Accept 请求头, 覆盖默认值 application/json。此字段将控制特定客户端与服务器之间的所有连接。 | 
| contentType[必需]string | contentType 是此客户端向服务器发送数据时使用的内容类型。 | 
| qps[必需]float32 | qps 控制此连接每秒允许的查询数量。 | 
| burst[必需]int32 | burst 允许在客户端超出其速率限制时累积额外的查询。 | 
DebuggingConfiguration    
出现在:
DebuggingConfiguration 包含与调试相关功能的配置。
| 字段 | 描述 | 
|---|---|
| enableProfiling[必需]bool | enableProfiling 启用通过 Web 接口 host:port/debug/pprof/ 进行性能分析(profiling)。 | 
| enableContentionProfiling[必需]bool | 如果 enableProfiling 为 true,enableContentionProfiling 启用阻塞分析(block profiling)。 | 
LeaderElectionConfiguration    
出现在:
LeaderElectionConfiguration 定义了启用 leader 选举的组件的 leader 选举客户端配置。
| 字段 | 描述 | 
|---|---|
| leaderElect[必需]bool | leaderElect 启用 leader 选举客户端在执行主循环之前获取领导权。 在为了高可用性而运行组件副本时启用此特性。 | 
| leaseDuration[必需]meta/v1.Duration | leaseDuration 是非领导者候选人在观察到领导权更新后,等待尝试获取领导权的时间。 这实际上是领导者在被另一个候选人取代之前可以停止的最大时长。 此设置仅在启用了 leader 选举时适用。 | 
| renewDeadline[必需]meta/v1.Duration | renewDeadline 是当前领导者尝试刷新领导权的时间间隔,如果在此时间内未能成功刷新, 它将停止担任领导者。此值必须小于或等于 leaseDuration。 此设置仅在启用了 leader 选举时适用。 | 
| retryPeriod[必需]meta/v1.Duration | retryPeriod 是客户端在尝试获取和刷新领导权之间应等待的时间间隔。 此设置仅在启用了 leader 选举时适用。 | 
| resourceLock[必需]string | resourceLock 指示在 leader 选举周期中用于锁定的资源对象类型。 | 
| resourceName[必需]string | resourceName 指示在 leader 选举周期中用于锁定的资源对象的名称。 | 
| resourceNamespace[必需]string | resourceNamespace 指示在 leader 选举周期中用于锁定的资源对象所在的命名空间。 | 
NodeControllerConfiguration    
出现在:
NodeControllerConfiguration 包含描述 NodeController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentNodeSyncs[必需]int32 | ConcurrentNodeSyncs 是并发执行以进行节点同步的工作程序的数量。 | 
ServiceControllerConfiguration    
出现在:
ServiceControllerConfiguration 包含描述 ServiceController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentServiceSyncs[必需]int32 | concurrentServiceSyncs 是允许同时同步的服务数。 数量越大表示服务管理响应越快,但 CPU(和网络)负载也越高。 | 
CloudControllerManagerConfiguration    
CloudControllerManagerConfiguration 包含描述云控制器管理器的元素。
| 字段 | 描述 | 
|---|---|
| apiVersionstring | cloudcontrollermanager.config.k8s.io/v1alpha1 | 
| kindstring | CloudControllerManagerConfiguration | 
| Generic[必需]GenericControllerManagerConfiguration | Generic 包含通用控制器管理器的配置。 | 
| KubeCloudShared[必需]KubeCloudSharedConfiguration | KubeCloudSharedConfiguration 保存被云控制器管理器和 kube-controller 管理器共享的相关特性的配置。 | 
| NodeController[必需]NodeControllerConfiguration | NodeController 保存与节点控制器相关的特性的配置。 | 
| ServiceController[必需]ServiceControllerConfiguration | ServiceControllerConfiguration 保存 ServiceController 相关的特性的配置。 | 
| NodeStatusUpdateFrequency[必需]meta/v1.Duration | NodeStatusUpdateFrequency 是控制器更新节点状态的频率。 | 
| Webhook[必需]WebhookConfiguration | Webhook 是云控制器管理器托管的 webhook 的配置。 | 
CloudProviderConfiguration    
出现在:
CloudProviderConfiguration 包含有关云提供商的一些基本元素。
| 字段 | 描述 | 
|---|---|
| Name[必需]string | Name 是云服务的提供商。 | 
| CloudConfigFile[必需]string | cloudConfigFile 是云提供程序配置文件的路径。 | 
KubeCloudSharedConfiguration    
出现在:
KubeCloudSharedConfiguration 包含 kube-controller 管理器和云控制器管理器共享的元素,但不包含通用配置。
| 字段 | 描述 | 
|---|---|
| CloudProvider[必需]CloudProviderConfiguration | CloudProviderConfiguration 保存 CloudProvider 相关特性的配置。 | 
| ExternalCloudVolumePlugin[必需]string | 当 cloudProvider 为 "external" 时,externalCloudVolumePlugin 用于指定插件。 它目前被仓库内的云驱动用于处理 KCM 中的节点和卷控制。 | 
| UseServiceAccountCredentials[必需]bool | useServiceAccountCredentials 指出控制器是否应使用独立的服务帐户凭据运行。 | 
| AllowUntaggedCloud[必需]bool | 使用未标记的云实例运行。 | 
| RouteReconciliationPeriod[必需]meta/v1.Duration | routeReconciliationPeriod 是云驱动商为节点创建的路由的调和周期。 | 
| NodeMonitorPeriod[必需]meta/v1.Duration | nodeMonitorPeriod 是 NodeController 同步 NodeStatus 的周期。 | 
| ClusterName[必需]string | clusterName 是集群的实例前缀。 | 
| ClusterCIDR[必需]string | clusterCIDR 是集群中 Pod CIDR 的范围。 | 
| AllocateNodeCIDRs[必需]bool | AllocateNodeCIDRs 允许为 Pod 分配 CIDR, 如果 ConfigureCloudRoutes 为 true,则允许在对云驱动商设置 CIDR。 | 
| CIDRAllocatorType[必需]string | CIDRAllocatorType 决定使用哪种类型的 Pod CIDR 分配器。 | 
| ConfigureCloudRoutes[必需]bool | configureCloudRoutes 使通过 allocateNodeCIDRs 分配的 CIDR 能够在云提供商上配置。 | 
| NodeSyncPeriod[必需]meta/v1.Duration | nodeSyncPeriod 从云平台同步节点的周期。 周期较长时,调用云平台的次数减少, 但向集群添加新节点可能会延迟。 | 
WebhookConfiguration    
出现在:
WebhookConfiguration 包含与云控制器管理器托管的 webhook 相关的配置。
| 字段 | 描述 | 
|---|---|
| Webhooks[必需][]string | Webhooks 是要启用或者禁用的 Webhook 的列表。 '*' 表示"所有默认启用的 webhook ", 'foo' 表示"启用 'foo'", '-foo' 表示"禁用 'foo'", 特定名称的首个项有效。 | 
LeaderMigrationConfiguration    
出现在:
LeaderMigrationConfiguration 为所有迁移中的领导者锁提供了版本化配置。
| 字段 | 描述 | 
|---|---|
| apiVersionstring | controllermanager.config.k8s.io/v1alpha1 | 
| kindstring | LeaderMigrationConfiguration | 
| leaderName[必需]string | LeaderName 是保护迁移的领导者选举资源的名称,例如:1-20-KCM-to-1-21-CCM。 | 
| resourceLock[必需]string | ResourceLock 表示将被用于加锁的资源对象类型, 应该是 "leases" 或者是 "endpoints"。 | 
| controllerLeaders[必需][]ControllerLeaderConfiguration | ControllerLeaders 包含迁移领导者锁配置列表。 | 
ControllerLeaderConfiguration    
出现在:
ControllerLeaderConfiguration 提供迁移中领导者锁的配置。
| 字段 | 描述 | 
|---|---|
| name[必需]string | Name 是正被迁移的控制器的名称,例如:service-controller、route-controller、cloud-node-controller 等等 | 
| component[必需]string | Component 是控制器运行所处的组件的名称。 例如,kube-controller-manager、cloud-controller-manager 等。 或者 “*” 表示控制器可以在任何正在参与迁移的组件中运行。 | 
GenericControllerManagerConfiguration    
出现在:
GenericControllerManagerConfiguration 保存通用控制器管理器的配置。
| 字段 | 描述 | 
|---|---|
| Port[必需]int32 | port 是控制器管理器运行 HTTP 服务运行的端口。 | 
| Address[必需]string | address 是提供服务所用的 IP 地址(所有接口设置为 0.0.0.0)。 | 
| MinResyncPeriod[必需]meta/v1.Duration | minResyncPeriod 是反射器的重新同步周期;大小是在 minResyncPeriod 和 2*minResyncPeriod 范围内的随机数。 | 
| ClientConnection[必需]ClientConnectionConfiguration | ClientConnection 指定代理服务器在与 API 服务器通信时使用的 kubeconfig 文件和客户端连接设置。 | 
| ControllerStartInterval[必需]meta/v1.Duration | 两次启动控制器管理器之间的间隔时间。 | 
| LeaderElection[必需]LeaderElectionConfiguration | leaderElection 定义领导者选举客户端的配置。 | 
| Controllers[必需][]string | Controllers 是要启用或者禁用的控制器列表。 '*' 表示"所有默认启用的控制器", 'foo' 表示"启用 'foo'", '-foo' 表示"禁用 'foo'", 特定名称的首个项有效。 | 
| Debugging[必需]DebuggingConfiguration | DebuggingConfiguration 保存调试相关特性的配置。 | 
| LeaderMigrationEnabled[必需]bool | LeaderMigrationEnabled 指示是否应为控制器管理器启用领导者迁移(Leader Migration)。 | 
| LeaderMigration[必需]LeaderMigrationConfiguration | LeaderMigration 保存领导者迁移的配置。 | 
KubeControllerManagerConfiguration    
KubeControllerManagerConfiguration 包含描述 kube-controller 管理器的元素。
| 字段 | 描述 | 
|---|---|
| apiVersionstring | kubecontrollermanager.config.k8s.io/v1alpha1 | 
| kindstring | KubeControllerManagerConfiguration | 
| Generic[必需]GenericControllerManagerConfiguration | Generic 保存通用控制器管理器的配置。 | 
| KubeCloudShared[必需]KubeCloudSharedConfiguration | KubeCloudSharedConfiguration 保存云控制器管理器和 kube-controller 管理器间共享的相关特性的配置。 | 
| AttachDetachController[必需]AttachDetachControllerConfiguration | AttachDetachControllerConfiguration 包含 AttachDetachController 相关特性的配置。 | 
| CSRSigningController[必需]CSRSigningControllerConfiguration | CSRSigningControllerConfiguration 包含 CSRSigningController 相关特性的配置。 | 
| DaemonSetController[必需]DaemonSetControllerConfiguration | DaemonSetControllerConfiguration 包含 DaemonSetController 相关特性的配置。 | 
| DeploymentController[必需]DeploymentControllerConfiguration | DeploymentControllerConfiguration 包含 DeploymentController 相关特性的配置。 | 
| StatefulSetController[必需]StatefulSetControllerConfiguration | StatefulSetControllerConfiguration 包含 StatefulSetController 相关特性的配置。 | 
| DeprecatedController[必需]DeprecatedControllerConfiguration | DeprecatedControllerConfiguration 包含一些已弃用的特性的配置。 | 
| EndpointController[必需]EndpointControllerConfiguration | EndpointControllerConfiguration 包含 EndpointController 相关特性的配置。 | 
| EndpointSliceController[必需]EndpointSliceControllerConfiguration | EndpointSliceControllerConfiguration 包含 EndpointSliceController 相关特性的配置。 | 
| EndpointSliceMirroringController[必需]EndpointSliceMirroringControllerConfiguration | EndpointSliceMirroringControllerConfiguration 包含 EndpointSliceMirroringController 相关特性的配置。 | 
| EphemeralVolumeController[必需]EphemeralVolumeControllerConfiguration | EphemeralVolumeControllerConfiguration 包含 EphemeralVolumeController 相关特性的配置。 | 
| GarbageCollectorController[必需]GarbageCollectorControllerConfiguration | GarbageCollectorControllerConfiguration 包含 GarbageCollectorController 相关特性的配置。 | 
| HPAController[必需]HPAControllerConfiguration | HPAControllerConfiguration 包含 HPAController 相关特性的配置。 | 
| JobController[必需]JobControllerConfiguration | HPAControllerConfiguration 包含 JobController 相关特性的配置。 | 
| CronJobController[必需]CronJobControllerConfiguration | CronJobControllerConfiguration 包含 CronJobController 相关特性的配置。 | 
| LegacySATokenCleaner[必需]LegacySATokenCleanerConfiguration | LegacySATokenCleanerConfiguration 包含 LegacySATokenCleaner 相关特性的配置。 | 
| NamespaceController[必需]NamespaceControllerConfiguration | NamespaceControllerConfiguration 包含 NamespaceController 相关特性的配置。 | 
| NodeIPAMController[必需]NodeIPAMControllerConfiguration | NodeIPAMControllerConfiguration 包含 NodeIPAMController 相关特性的配置。 | 
| NodeLifecycleController[必需]NodeLifecycleControllerConfiguration | NodeLifecycleControllerConfiguration 包含 NodeLifecycleController 相关特性的配置。 | 
| PersistentVolumeBinderController[必需]PersistentVolumeBinderControllerConfiguration | PersistentVolumeBinderControllerConfiguration 包含 PersistentVolumeBinderController 相关特性的配置。 | 
| PodGCController[必需]PodGCControllerConfiguration | PodGCControllerConfiguration 包含 PodGCController 相关特性的配置。 | 
| ReplicaSetController[必需]ReplicaSetControllerConfiguration | ReplicaSetControllerConfiguration 包含 ReplicaSetController 相关特性的配置。 | 
| ReplicationController[必需]ReplicationControllerConfiguration | ReplicationControllerConfiguration 包含 ReplicationController 相关特性的配置。 | 
| ResourceQuotaController[必需]ResourceQuotaControllerConfiguration | ResourceQuotaControllerConfiguration 包含 ResourceQuotaController 相关特性的配置。 | 
| SAController[必需]SAControllerConfiguration | SAControllerConfiguration 包含 ServiceAccountController 相关特性的配置。 | 
| ServiceController[必需]ServiceControllerConfiguration | ServiceControllerConfiguration 包含 ServiceController 相关特性的配置。 | 
| TTLAfterFinishedController[必需]TTLAfterFinishedControllerConfiguration | TTLAfterFinishedControllerConfiguration 包含 TTLAfterFinishedController 相关特性的配置。 | 
| ValidatingAdmissionPolicyStatusController[必需]ValidatingAdmissionPolicyStatusControllerConfiguration | ValidatingAdmissionPolicyStatusControllerConfiguration 包含 ValidatingAdmissionPolicyStatusController 相关特性的配置。 | 
AttachDetachControllerConfiguration    
出现在:
AttachDetachControllerConfiguration 包含描述 AttachDetachController 的元素。
| 字段 | 描述 | 
|---|---|
| DisableAttachDetachReconcilerSync[必需]bool | Reconciler 运行一个周期性循环,通过触发 attach/detach 操作来协调期望状态与实际状态。 此标志启用或禁用调和操作。默认为 false,即被启用的。 | 
| ReconcilerSyncLoopPeriod[必需]meta/v1.Duration | ReconcilerSyncLoopPeriod 是调和器在连续执行同步状态的循环间,所等待的时间量。 默认为 60 秒。 | 
| disableForceDetachOnTimeout[必需]bool | 当超过最大卸载时间时,DisableForceDetachOnTimeout 将禁用强制分离。 默认情况下为 false,因此启用卸载时强制分离。 | 
CSRSigningConfiguration    
出现在:
CSRSigningConfiguration 保存有关特定 CSR 签名者的信息。
| 字段 | 描述 | 
|---|---|
| CertFile[必需]string | certFile 是包含 PEM 编码的 X509 CA 证书的文件名,用于颁发证书。 | 
| KeyFile[必需]string | keyFile 是包含 PEM 编码的 RSA 或 ECDSA 私钥的文件名,用于颁发证书。 | 
CSRSigningControllerConfiguration    
出现在:
CSRSigningControllerConfiguration 包含描述 CSRSigningController 的元素。
| 字段 | 描述 | 
|---|---|
| ClusterSigningCertFile[必需]string | clusterSigningCertFile 是包含 PEM 编码的 X509 CA 证书的文件名,该证书用于颁发集群范围的证书。 | 
| ClusterSigningKeyFile[必需]string | clusterSigningCertFile 是包含 PEM 编码的 RSA 或 ECDSA 私钥的文件名,用于颁发集群范围的证书。 | 
| KubeletServingSignerConfiguration[必需]CSRSigningConfiguration | kubeletServingSignerConfiguration 保存用于为 kubernetes.io/kubelet-serving 签名者颁发证书的证书和密钥。 | 
| KubeletClientSignerConfiguration[必需]CSRSigningConfiguration | kubeletClientSignerConfiguration 保存用于为 kubernetes.io/kube-apiserver-client-kubelet 颁发证书的证书和密钥。 | 
| KubeAPIServerClientSignerConfiguration[必需]CSRSigningConfiguration | kubeAPIServerClientSignerConfiguration 保存用于为 kubernetes.io/kube-apiserver-client 颁发证书的证书和密钥。 | 
| LegacyUnknownSignerConfiguration[必需]CSRSigningConfiguration | legacyUnknownSignerConfiguration 保存用于颁发 kubernetes.io/legacy-unknown 证书的证书和密钥。 | 
| ClusterSigningDuration[必需]meta/v1.Duration | clusterSigningDuration 是签名证书的最长持续时间。 单个 CSRs 可以通过设置 spec.expirationSeconds 来请求有效期更短的证书。 | 
CronJobControllerConfiguration    
出现在:
CronJobControllerConfiguration 包含描述 CrongJob2Controller 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentCronJobSyncs[必需]int32 | concurrentCronJobSyncs 是允许并发同步的 Job 对象的数量。 数量越大意味着 Job 响应越快,但 CPU(和网络)负载也越高。 | 
DaemonSetControllerConfiguration    
出现在:
DaemonSetControllerConfiguration 包含描述 DaemonSetController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentDaemonSetSyncs[必需]int32 | concurrentDaemonSetSyncs 是允许并发同步的 DaemonSet 对象的数量。 数目越大意味着 DaemonSet 响应越快,但 CPU(和网络)负载也越高。 | 
DeploymentControllerConfiguration    
Appears in:
DeploymentControllerConfiguration 包含描述 DeploymentController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentDeploymentSyncs[必需]int32 | concurrentDeploymentSyncs 是允许并发同步的 Deployment 对象的数量。 数量越大意味着 Deployment 响应更越快,但 CPU(和网络)负载也越高。 | 
DeprecatedControllerConfiguration    
出现在:
DeprecatedControllerConfiguration 包含被弃用的元素。
EndpointControllerConfiguration    
出现在:
EndpointControllerConfiguration 包含描述 EndpointController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentEndpointSyncs[必需]int32 | concurrentEndpointSyncs 是将并发执行的 Endpoints 同步操作的数量。 数字越大意味着 Endpoints 更新越快,但 CPU(和网络)负载也越高。 | 
| EndpointUpdatesBatchPeriod[必需]meta/v1.Duration | EndpointUpdatesBatchPeriod 描述批量更新 Endpoints 的周期长度。 Pod 更改的处理将被延迟相同的时长,以便将它们与即将到来的更新连接起来,并减少 Endpoints 更新的总数。 | 
EndpointSliceControllerConfiguration    
出现在:
EndpointSliceControllerConfiguration 包含描述 EndpointSliceController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentServiceEndpointSyncs[必需]int32 | concurrentServiceEndpointSyncs 是将并发完成的服务端点同步操作的数量。 数字越大意味着 EndpointSlice 更新越快,但 CPU(和网络)负载也越高。 | 
| MaxEndpointsPerSlice[必需]int32 | maxEndpointsPerSlice 是将添加到 EndpointSlice 的最大端点数。 每个切片的端点越多,端点切片就会更少、更大,但资源消耗就会更多。 | 
| EndpointUpdatesBatchPeriod[必需]meta/v1.Duration | EndpointUpdatesBatchPeriod 描述批量更新 Endpoints 的周期长度。 Pod 更改的处理将被延迟相同的时长,以便将它们与即将到来的更新连接起来,并减少 Endpoints 更新的总数。 | 
EndpointSliceMirroringControllerConfiguration    
出现在:
EndpointSliceMirroringControllerConfiguration 包含描述 EndpointSliceMirroringController 的元素。
| 字段 | 描述 | 
|---|---|
| MirroringConcurrentServiceEndpointSyncs[必需]int32 | mirroringConcurrentServiceEndpointSyncs 是将并发完成的服务端点同步操作的数量。 数字越大意味着 EndpointSlice 更新越快,但 CPU(和网络)负载也越高。 | 
| MirroringMaxEndpointsPerSubset[必需]int32 | mirroringMaxEndpointsPerSubset 是把 EndpointSubset 映射到 EndpointSlice 的端点数上限。 | 
| MirroringEndpointUpdatesBatchPeriod[必需]meta/v1.Duration | mirroringEndpointUpdatesBatchPeriod 可用于批量更新 EndpointSlice。 所有由 EndpointSlice 更改触发的更新可能被延迟,延迟的时间长度上限为 “mirroringEndpointUpdatesBatchPeriod”。 如果同一 Endpoints 资源中的其他地址在此期间发生变化,它们将被合并到同一个 EndpointSlice 更新中以实现批处理。 默认值 0 表示 Endpoints 的每次更新都会触发一次 EndpointSlice 更新。 | 
EphemeralVolumeControllerConfiguration    
出现在:
EphemeralVolumeControllerConfiguration 包含描述 EphemeralVolumeController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentEphemeralVolumeSyncs[必需]int32 | ConcurrentEphemeralVolumeSyncseSyncs 是并发执行的临时卷同步操作数量。 数字越大意味着临时卷更新越快,但 CPU(和网络)负载也越高。 | 
GarbageCollectorControllerConfiguration    
出现在:
GarbageCollectorControllerConfiguration 包含描述 GarbageCollectorController 的元素。
| 字段 | 描述 | 
|---|---|
| EnableGarbageCollector[必需]bool | 启用通用垃圾收集器。必须与 kube-apiserver 的相应标志同步。 警告:通用垃圾收集器是一个 Alpha 特性。 | 
| ConcurrentGCSyncs[必需]int32 | concurrentGCSyncs 是允许垃圾收集器并发同步的工作线程的数量。 | 
| GCIgnoredResources[必需][]GroupResource | gcIgnoredResources 是垃圾收集应该忽略的 GroupResource 列表。 | 
GroupResource    
出现在:
GroupResource 描述组资源。
| 字段 | 描述 | 
|---|---|
| Group[必需]string | group 是 GroupResource 的 group 部分。 | 
| Resource[必需]string | resource 是 GroupResource 的 resource 部分。 | 
HPAControllerConfiguration    
出现在:
HPAControllerConfiguration 包含描述 HPAController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentHorizontalPodAutoscalerSyncs[必需]int32 | ConcurrentHorizontalPodAutoscalerSyncs 是允许并发同步的 HPA 对象的数量。 数字越大意味着 HPA 处理响应越快,但 CPU(和网络)负载也越高。 | 
| HorizontalPodAutoscalerSyncPeriod[必需]meta/v1.Duration | HorizontalPodAutoscalerSyncPeriod 是对 HPA 中 Pod 数量进行同步的周期。 | 
| HorizontalPodAutoscalerDownscaleStabilizationWindow[必需]meta/v1.Duration | horizontalpodautoscalerdowncalstabilizationwindow 是一个自动缩放器要回顾的时段长度, 在所给时段内,自动缩放器不会按照建议执行任何缩容操作。 | 
| HorizontalPodAutoscalerTolerance[必需]float64 | HorizontalPodAutoscalerTolerance 是当资源用量表明需要扩容/缩容时的容忍度。 | 
| HorizontalPodAutoscalerCPUInitializationPeriod[必需]meta/v1.Duration | HorizontalPodAutoscalerCPUInitializationPeriod 是 Pod 启动后可以跳过时间段,这段时间内部执行 CPU 采样。 | 
| HorizontalPodAutoscalerInitialReadinessDelay[必需]meta/v1.Duration | HorizontalPodAutoscalerInitialReadinessDelay 是 Pod 启动后的一段时间, 在此期间,readiness 状态的变更被视为初次设置 readiness 状态。 这样做的唯一影响是,对于在此期间发生 readiness 状态变化但未准备好的 Pod,HPA 将忽略其 CPU 采样值。 | 
JobControllerConfiguration    
出现在:
JobControllerConfiguration 包含描述 JobController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentJobSyncs[必需]int32 | concurrentJobSyncs 是允许并发同步的 Job 对象的数量。 数字越大意味着 Job 响应越快,但 CPU(和网络)负载也越高。 | 
LegacySATokenCleanerConfiguration    
出现在:
LegacySATokenCleanerConfiguration 包含描述 LegacySATokenCleaner 的元素。
| 字段 | 描述 | 
|---|---|
| CleanUpPeriod[必需]meta/v1.Duration | CleanUpPeriod 是自动生成的服务帐户令牌上次被使用以来的时长,超出此时长的令牌可被清理。 | 
NamespaceControllerConfiguration    
出现在:
NamespaceControllerConfiguration 包含描述 NamespaceController 的元素。
| 字段 | 描述 | 
|---|---|
| NamespaceSyncPeriod[必需]meta/v1.Duration | namespaceSyncPeriod 是对名字空间生命周期更新进行同步的周期。 | 
| ConcurrentNamespaceSyncs[必需]int32 | concurrentNamespaceSyncs 是允许并发同步的 Namespace 对象的数量。 | 
NodeIPAMControllerConfiguration    
出现在:
NodeIPAMControllerConfiguration 包含描述 NodeIpamController 的元素。
| 字段 | 描述 | 
|---|---|
| ServiceCIDR[必需]string | serviceCIDR 为集群中 Service 的 CIDR 范围。 | 
| SecondaryServiceCIDR[必需]string | SecondaryServiceCIDR 为集群中 Service 的 CIDR 范围。此字段用于双栈集群。 SecondaryServiceCIDR 和 ServiceCIDR 的 IP 族不能相同。 | 
| NodeCIDRMaskSize[必需]int32 | NodeCIDRMaskSize 为集群中节点 CIDR 的掩码大小。 | 
| NodeCIDRMaskSizeIPv4[必需]int32 | NodeCIDRMaskSizeIPv4 为双栈集群中节点 CIDR 的掩码大小。 | 
| NodeCIDRMaskSizeIPv6[必需]int32 | NodeCIDRMaskSizeIPv6 为双栈集群中节点 CIDR 的掩码大小。 | 
NodeLifecycleControllerConfiguration    
出现在:
Nodelifecyclecontrolerconfiguration 包含描述 NodeLifecycleController 的元素。
| 字段 | 描述 | 
|---|---|
| NodeEvictionRate[必需]float32 | nodeEvictionRate 是在区域健康时,如果节点发生故障,每秒删除 Pod 的节点数。 | 
| SecondaryNodeEvictionRate[必需]float32 | secondaryNodeEvictionRate 是在区域不健康时,如果节点故障,每秒删除 Pod 的节点数。 | 
| NodeStartupGracePeriod[必需]meta/v1.Duration | nodeStartupGracePeriod 是在将节点标记为不健康之前允许启动节点无响应的时长。 | 
| NodeMonitorGracePeriod[必需]meta/v1.Duration | nodeMontiorGracePeriod 是在将运行中的节点标记为不健康之前允许其无响应的时长。 必须是 kubelet 的 nodeStatusUpdateFrequency 的 N 倍,其中 N 表示允许 kubelet 发布节点状态的重试次数。 此值还应大于 `HTTP2_PING_TIMEOUT_SECONDS` 和 `HTTP2_READ_IDLE_TIMEOUT_SECONDS` 之和。 | 
| PodEvictionTimeout[必需]meta/v1.Duration | podEvictionTimeout 为删除故障节点上的 Pod 的宽限时间。 | 
| LargeClusterSizeThreshold[必需]int32 | 对于规模小于或等于 largeClusterSizeThreshold 的集群,secondaryNodeEvictionRate 会被隐式覆盖,取值为 0。 | 
| UnhealthyZoneThreshold[必需]float32 | 当区域中至少有 unhealthyZoneThreshold(不少于 3 个)的节点处于 NotReady 状态时, nodeEvctionRate 和 secondaryNodeEvictionRate 两个属性的判定逻辑会将区域视为不健康。 | 
PersistentVolumeBinderControllerConfiguration    
出现在:
PersistentVolumeBinderControllerConfiguration 包含描述 PersistentVolumeBinderController 的元素。
| 字段 | 描述 | 
|---|---|
| PVClaimBinderSyncPeriod[必需]meta/v1.Duration | pvClaimBinderSyncPeriod 用于同步 PV 和 PVC 的周期。 | 
| VolumeConfiguration[必需]VolumeConfiguration | volumeConfiguration 包含卷相关特性的配置。 | 
PersistentVolumeRecyclerConfiguration    
出现在:
PersistentVolumeRecyclerConfiguration 包含描述持久卷插件的元素。
| 字段 | 描述 | 
|---|---|
| MaximumRetry[必需]int32 | maximumRetry 是当 PV 回收失败时,PV 回收器重试的次数。 | 
| MinimumTimeoutNFS[必需]int32 | minimumTimeoutNFS 是用于 NFS 回收器的,用于设置 Pod 的最小 ActiveDeadlineSeconds。 | 
| PodTemplateFilePathNFS[必需]string | podTemplateFilePathNFS 是一个 Pod 定义文件的路径,该文件将被用作 NFS PV 卷回收模板。 | 
| IncrementTimeoutNFS[必需]int32 | incrementTimeoutNFS 提供给 NFS 清理器 Pod 的设置值,数据卷每增加 1 GiB, 则需要向 Pod 中的 activeDeadlineSeconds 参数增加这里所给的秒数。 | 
| PodTemplateFilePathHostPath[必需]string | podTemplateFilePathHostPath 是一个 Pod 定义文件的路径,该文件将被作为 HostPath PV 卷回收模板。 此字段仅用于开发和测试场景,在多节点集群中无法正常工作。 | 
| MinimumTimeoutHostPath[必需]int32 | minimumTimeoutHostPath 是用于 HostPath 回收器 Pod 的 activeDeadlineSeconds 属性值下限。 此字段仅用于开发和测试场景,在多节点集群中无法正常工作。 | 
| IncrementTimeoutHostPath[必需]int32 | incrementTimeoutHostPath 是提供给 HostPath 清理器 Pod 的配置值, HostPath 卷的尺寸每增加 1 GiB,则需要为 Pod 的 activeDeadlineSeconds 属性增加这里所给的秒数。 回收器 Pod 的 activeDeadlineSeconds 属性值下限。 | 
PodGCControllerConfiguration    
出现在:
PodGCControllerConfiguration 包含描述 PodGCController 的元素。
| 字段 | 描述 | 
|---|---|
| TerminatedPodGCThreshold[必需]int32 | terminatedPodGCThreshold 是提供给回收已终止 Pod 的垃圾收集器的, 所设置的数字是在垃圾收集器开始删除某 Pod 之前可以存在的、已终止 Pod 的个数。 如果 <= 0,则禁用已终止的 Pod 垃圾收集器。 | 
ReplicaSetControllerConfiguration    
出现在:
ReplicaSetControllerConfiguration 包含描述 ReplicaSetController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentRSSyncs[必需]int32 | concurrentRSSyncs 是允许并发同步的 ReplicaSet 的数量。 数量越大意味着副本管理响应越快,但 CPU(和网络)负载也越高。 | 
ReplicationControllerConfiguration    
出现在:
ReplicationControllerConfiguration 包含描述 ReplicationController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentRCSyncs[必需]int32 | concurrentRCSyncs 是允许并发同步的 ReplicationController 数量。 数量越大意味着副本管理响应越快,但 CPU(和网络)负载也越高。 | 
ResourceQuotaControllerConfiguration    
出现在:
ResourceQuotaControllerConfiguration 包含描述 ResourceQuotaController 的元素。
| 字段 | 描述 | 
|---|---|
| ResourceQuotaSyncPeriod[必需]meta/v1.Duration | resourceQuotaSyncPeriod 是系统中 Quota 使用状态的同步周期。 | 
| ConcurrentResourceQuotaSyncs[必需]int32 | concurrentResourceQuotaSyncs 是允许并发同步的 ResourcQuota 数目。 数量越大意味着配额管理响应越快,但 CPU(和网络)负载也越高。 | 
SAControllerConfiguration    
出现在:
SAControllerConfiguration 包含描述 ServiceAccountController 的元素。
| 字段 | 描述 | 
|---|---|
| ServiceAccountKeyFile[必需]string | serviceAccountKeyFile 是包含 PEM 编码的用于签署服务帐户令牌的 RSA 私钥的文件名。 | 
| ConcurrentSATokenSyncs[必需]int32 | concurrentSATokenSyncs 是将并发完成的服务帐户令牌同步操作的数量。 | 
| RootCAFile[必需]string | rootCAFile 是根证书颁发机构将被包含在 ServiceAccount 的令牌 Secret 中。 所提供的数据必须是一个有效的 PEM 编码的 CA 包。 | 
StatefulSetControllerConfiguration    
出现在:
StatefulSetControllerConfiguration 包含描述 StatefulSetController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentStatefulSetSyncs[必需]int32 | concurrentStatefulSetSyncs 是允许并发同步的 StatefulSet 对象的数量。 数字越大意味着 StatefulSet 响应越快,但 CPU(和网络)负载也越高。 | 
TTLAfterFinishedControllerConfiguration    
出现在:
TTLAfterFinishedControllerConfiguration 包含描述 TTLAfterFinishedController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentTTLSyncs[必需]int32 | concurrentTTLSyncs 是允许并发同步的 TTL-after-finished 收集器工作线程的数量。 | 
ValidatingAdmissionPolicyStatusControllerConfiguration    
出现在:
ValidatingAdmissionPolicyStatusControllerConfiguration 包含描述 ValidatingAdmissionPolicyStatusController 的元素。
| 字段 | 描述 | 
|---|---|
| ConcurrentPolicySyncs[必需]int32 | ConcurrentPolicySyncs 是允许并发同步的策略对象的数量。 数字越大意味着类型检查越快,但 CPU(和网络)负载越高。 默认值为 5。 | 
VolumeConfiguration    
出现在:
VolumeConfiguration 包含所有用于配置各个卷插件的所有参数。 从这个配置中,控制器管理器可执行文件将创建许多 volume.VolumeConfig 的实例。 每个只包含该插件所需的配置,然后将其传递给相应的插件。 控制器管理器可执行文件是代码中唯一知道支持哪些插件以及每个插件对应哪些标志的部分。
| 字段 | 描述 | 
|---|---|
| EnableHostPathProvisioning[必需]bool | enableHostPathProvisioning 在没有云驱动的情况下允许制备 HostPath PV。 此特性用来测试和开发 PV 卷制备特性。HostPath 配置完全不受支持,在多节点集群中无法工作, 除了测试或开发之外不应该用于任何其他用途。 | 
| EnableDynamicProvisioning[必需]bool | enableDynamicProvisioning 在支持动态配置的环境中运行时允许制备新卷。默认为 true。 | 
| PersistentVolumeRecyclerConfiguration[必需]PersistentVolumeRecyclerConfiguration | persistentVolumeRecyclerConfiguration 保存持久卷插件的配置。 | 
| FlexVolumePluginDir[必需]string | volumePluginDir 是一个完整路径,FlexVolume 插件在这一目录中搜索额外的第三方卷插件。 | 
该页面是自动生成的。
如果你打算报告此页面的问题,请在问题描述中提及该页面是自动生成的。修复可能需要在 Kubernetes 项目的其他地方进行。