Merge pull request #41213 from tengqm/fix-kcm-config-api
Fix errors in the kcm config API
This commit is contained in:
		
						commit
						a748e78052
					
				|  | @ -1,7 +1,7 @@ | |||
| --- | ||||
| title: kube-controller-manager Configuration (v1alpha1) | ||||
| content_type: tool-reference | ||||
| package: cloudcontrollermanager.config.k8s.io/v1alpha1 | ||||
| package: controllermanager.config.k8s.io/v1alpha1 | ||||
| auto_generated: true | ||||
| --- | ||||
| 
 | ||||
|  | @ -9,312 +9,11 @@ auto_generated: true | |||
| ## Resource Types  | ||||
| 
 | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| - [LeaderMigrationConfiguration](#controllermanager-config-k8s-io-v1alpha1-LeaderMigrationConfiguration) | ||||
| - [KubeControllerManagerConfiguration](#kubecontrollermanager-config-k8s-io-v1alpha1-KubeControllerManagerConfiguration) | ||||
|    | ||||
|      | ||||
| 
 | ||||
| ## `NodeControllerConfiguration`     {#NodeControllerConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
|    | ||||
|      | ||||
| <p>NodeControllerConfiguration contains elements describing NodeController.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>ConcurrentNodeSyncs</code> <B>[Required]</B><br/> | ||||
| <code>int32</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>ConcurrentNodeSyncs is the number of workers | ||||
| concurrently synchronizing nodes</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `ServiceControllerConfiguration`     {#ServiceControllerConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| - [KubeControllerManagerConfiguration](#kubecontrollermanager-config-k8s-io-v1alpha1-KubeControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>ServiceControllerConfiguration contains elements describing ServiceController.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>ConcurrentServiceSyncs</code> <B>[Required]</B><br/> | ||||
| <code>int32</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>concurrentServiceSyncs is the number of services that are | ||||
| allowed to sync concurrently. Larger number = more responsive service | ||||
| management, but more CPU (and network) load.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
|    | ||||
|      | ||||
| 
 | ||||
| ## `CloudControllerManagerConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration} | ||||
|      | ||||
| 
 | ||||
| 
 | ||||
| <p>CloudControllerManagerConfiguration contains elements describing cloud-controller manager.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
| <tr><td><code>apiVersion</code><br/>string</td><td><code>cloudcontrollermanager.config.k8s.io/v1alpha1</code></td></tr> | ||||
| <tr><td><code>kind</code><br/>string</td><td><code>CloudControllerManagerConfiguration</code></td></tr> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Generic</code> <B>[Required]</B><br/> | ||||
| <a href="#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration"><code>GenericControllerManagerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Generic holds configuration for a generic controller-manager</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>KubeCloudShared</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration"><code>KubeCloudSharedConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>KubeCloudSharedConfiguration holds configuration for shared related features | ||||
| both in cloud controller manager and kube-controller manager.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeController</code> <B>[Required]</B><br/> | ||||
| <a href="#NodeControllerConfiguration"><code>NodeControllerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>NodeController holds configuration for node controller | ||||
| related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ServiceController</code> <B>[Required]</B><br/> | ||||
| <a href="#ServiceControllerConfiguration"><code>ServiceControllerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>ServiceControllerConfiguration holds configuration for ServiceController | ||||
| related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeStatusUpdateFrequency</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>NodeStatusUpdateFrequency is the frequency at which the controller updates nodes' status</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>Webhook</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-WebhookConfiguration"><code>WebhookConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Webhook is the configuration for cloud-controller-manager hosted webhooks</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `CloudProviderConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudProviderConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [KubeCloudSharedConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>CloudProviderConfiguration contains basically elements about cloud provider.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Name</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Name is the provider for cloud services.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>CloudConfigFile</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>cloudConfigFile is the path to the cloud provider configuration file.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `KubeCloudSharedConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| - [KubeControllerManagerConfiguration](#kubecontrollermanager-config-k8s-io-v1alpha1-KubeControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>KubeCloudSharedConfiguration contains elements shared by both kube-controller manager | ||||
| and cloud-controller manager, but not genericconfig.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>CloudProvider</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudProviderConfiguration"><code>CloudProviderConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>CloudProviderConfiguration holds configuration for CloudProvider related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ExternalCloudVolumePlugin</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>externalCloudVolumePlugin specifies the plugin to use when cloudProvider is "external". | ||||
| It is currently used by the in repo cloud providers to handle node and volume control in the KCM.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>UseServiceAccountCredentials</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>useServiceAccountCredentials indicates whether controllers should be run with | ||||
| individual service account credentials.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>AllowUntaggedCloud</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>run with untagged cloud instances</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>RouteReconciliationPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>routeReconciliationPeriod is the period for reconciling routes created for Nodes by cloud provider..</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeMonitorPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>nodeMonitorPeriod is the period for syncing NodeStatus in NodeController.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ClusterName</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>clusterName is the instance prefix for the cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ClusterCIDR</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>clusterCIDR is CIDR Range for Pods in cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>AllocateNodeCIDRs</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>AllocateNodeCIDRs enables CIDRs for Pods to be allocated and, if | ||||
| ConfigureCloudRoutes is true, to be set on the cloud provider.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>CIDRAllocatorType</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>CIDRAllocatorType determines what kind of pod CIDR allocator will be used.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ConfigureCloudRoutes</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>configureCloudRoutes enables CIDRs allocated with allocateNodeCIDRs | ||||
| to be configured on the cloud provider.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeSyncPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>nodeSyncPeriod is the period for syncing nodes from cloudprovider. Longer | ||||
| periods will result in fewer calls to cloud provider, but may delay addition | ||||
| of new nodes to cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `WebhookConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-WebhookConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>WebhookConfiguration contains configuration related to | ||||
| cloud-controller-manager hosted webhooks</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Webhooks</code> <B>[Required]</B><br/> | ||||
| <code>[]string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Webhooks is the list of webhooks to enable or disable | ||||
| '*' means "all enabled by default webhooks" | ||||
| 'foo' means "enable 'foo'" | ||||
| '-foo' means "disable 'foo'" | ||||
| first item for a particular name wins</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
|    | ||||
|    | ||||
|      | ||||
| 
 | ||||
| ## `LeaderMigrationConfiguration`     {#controllermanager-config-k8s-io-v1alpha1-LeaderMigrationConfiguration} | ||||
|      | ||||
|  | @ -1880,3 +1579,304 @@ volume plugin should search for additional third party volume plugins</p> | |||
| </tbody> | ||||
| </table> | ||||
|    | ||||
|    | ||||
|      | ||||
| 
 | ||||
| ## `NodeControllerConfiguration`     {#NodeControllerConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>NodeControllerConfiguration contains elements describing NodeController.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>ConcurrentNodeSyncs</code> <B>[Required]</B><br/> | ||||
| <code>int32</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>ConcurrentNodeSyncs is the number of workers | ||||
| concurrently synchronizing nodes</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `ServiceControllerConfiguration`     {#ServiceControllerConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| - [KubeControllerManagerConfiguration](#kubecontrollermanager-config-k8s-io-v1alpha1-KubeControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>ServiceControllerConfiguration contains elements describing ServiceController.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>ConcurrentServiceSyncs</code> <B>[Required]</B><br/> | ||||
| <code>int32</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>concurrentServiceSyncs is the number of services that are | ||||
| allowed to sync concurrently. Larger number = more responsive service | ||||
| management, but more CPU (and network) load.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
|    | ||||
|      | ||||
| 
 | ||||
| ## `CloudControllerManagerConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration} | ||||
|      | ||||
| 
 | ||||
| 
 | ||||
| <p>CloudControllerManagerConfiguration contains elements describing cloud-controller manager.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
| <tr><td><code>apiVersion</code><br/>string</td><td><code>cloudcontrollermanager.config.k8s.io/v1alpha1</code></td></tr> | ||||
| <tr><td><code>kind</code><br/>string</td><td><code>CloudControllerManagerConfiguration</code></td></tr> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Generic</code> <B>[Required]</B><br/> | ||||
| <a href="#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration"><code>GenericControllerManagerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Generic holds configuration for a generic controller-manager</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>KubeCloudShared</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration"><code>KubeCloudSharedConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>KubeCloudSharedConfiguration holds configuration for shared related features | ||||
| both in cloud controller manager and kube-controller manager.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeController</code> <B>[Required]</B><br/> | ||||
| <a href="#NodeControllerConfiguration"><code>NodeControllerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>NodeController holds configuration for node controller | ||||
| related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ServiceController</code> <B>[Required]</B><br/> | ||||
| <a href="#ServiceControllerConfiguration"><code>ServiceControllerConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>ServiceControllerConfiguration holds configuration for ServiceController | ||||
| related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeStatusUpdateFrequency</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>NodeStatusUpdateFrequency is the frequency at which the controller updates nodes' status</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>Webhook</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-WebhookConfiguration"><code>WebhookConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Webhook is the configuration for cloud-controller-manager hosted webhooks</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `CloudProviderConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudProviderConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [KubeCloudSharedConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>CloudProviderConfiguration contains basically elements about cloud provider.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Name</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Name is the provider for cloud services.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>CloudConfigFile</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>cloudConfigFile is the path to the cloud provider configuration file.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `KubeCloudSharedConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-KubeCloudSharedConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| - [KubeControllerManagerConfiguration](#kubecontrollermanager-config-k8s-io-v1alpha1-KubeControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>KubeCloudSharedConfiguration contains elements shared by both kube-controller manager | ||||
| and cloud-controller manager, but not genericconfig.</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>CloudProvider</code> <B>[Required]</B><br/> | ||||
| <a href="#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudProviderConfiguration"><code>CloudProviderConfiguration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>CloudProviderConfiguration holds configuration for CloudProvider related features.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ExternalCloudVolumePlugin</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>externalCloudVolumePlugin specifies the plugin to use when cloudProvider is "external". | ||||
| It is currently used by the in repo cloud providers to handle node and volume control in the KCM.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>UseServiceAccountCredentials</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>useServiceAccountCredentials indicates whether controllers should be run with | ||||
| individual service account credentials.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>AllowUntaggedCloud</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>run with untagged cloud instances</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>RouteReconciliationPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>routeReconciliationPeriod is the period for reconciling routes created for Nodes by cloud provider..</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeMonitorPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>nodeMonitorPeriod is the period for syncing NodeStatus in NodeController.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ClusterName</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>clusterName is the instance prefix for the cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ClusterCIDR</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>clusterCIDR is CIDR Range for Pods in cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>AllocateNodeCIDRs</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>AllocateNodeCIDRs enables CIDRs for Pods to be allocated and, if | ||||
| ConfigureCloudRoutes is true, to be set on the cloud provider.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>CIDRAllocatorType</code> <B>[Required]</B><br/> | ||||
| <code>string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>CIDRAllocatorType determines what kind of pod CIDR allocator will be used.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>ConfigureCloudRoutes</code> <B>[Required]</B><br/> | ||||
| <code>bool</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>configureCloudRoutes enables CIDRs allocated with allocateNodeCIDRs | ||||
| to be configured on the cloud provider.</p> | ||||
| </td> | ||||
| </tr> | ||||
| <tr><td><code>NodeSyncPeriod</code> <B>[Required]</B><br/> | ||||
| <a href="https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a> | ||||
| </td> | ||||
| <td> | ||||
|    <p>nodeSyncPeriod is the period for syncing nodes from cloudprovider. Longer | ||||
| periods will result in fewer calls to cloud provider, but may delay addition | ||||
| of new nodes to cluster.</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
| 
 | ||||
| ## `WebhookConfiguration`     {#cloudcontrollermanager-config-k8s-io-v1alpha1-WebhookConfiguration} | ||||
|      | ||||
| 
 | ||||
| **Appears in:** | ||||
| 
 | ||||
| - [CloudControllerManagerConfiguration](#cloudcontrollermanager-config-k8s-io-v1alpha1-CloudControllerManagerConfiguration) | ||||
| 
 | ||||
| 
 | ||||
| <p>WebhookConfiguration contains configuration related to | ||||
| cloud-controller-manager hosted webhooks</p> | ||||
| 
 | ||||
| 
 | ||||
| <table class="table"> | ||||
| <thead><tr><th width="30%">Field</th><th>Description</th></tr></thead> | ||||
| <tbody> | ||||
|      | ||||
|    | ||||
| <tr><td><code>Webhooks</code> <B>[Required]</B><br/> | ||||
| <code>[]string</code> | ||||
| </td> | ||||
| <td> | ||||
|    <p>Webhooks is the list of webhooks to enable or disable | ||||
| '*' means "all enabled by default webhooks" | ||||
| 'foo' means "enable 'foo'" | ||||
| '-foo' means "disable 'foo'" | ||||
| first item for a particular name wins</p> | ||||
| </td> | ||||
| </tr> | ||||
| </tbody> | ||||
| </table> | ||||
|    | ||||
		Loading…
	
		Reference in New Issue