Documentation ¶
Index ¶
Constants ¶
const GroupName = "kubecontrollermanager.config.k8s.io"
GroupName is the group name used in this package
Variables ¶
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type CloudProviderConfiguration ¶
type CloudProviderConfiguration struct { // Name is the provider for cloud services. Name string // cloudConfigFile is the path to the cloud provider configuration file. CloudConfigFile string }
CloudProviderConfiguration contains basically elements about cloud provider.
func (*CloudProviderConfiguration) DeepCopy ¶
func (in *CloudProviderConfiguration) DeepCopy() *CloudProviderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderConfiguration.
func (*CloudProviderConfiguration) DeepCopyInto ¶
func (in *CloudProviderConfiguration) DeepCopyInto(out *CloudProviderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeprecatedControllerConfiguration ¶
type DeprecatedControllerConfiguration struct { // DEPRECATED: deletingPodsQps is the number of nodes per second on which pods are deleted in // case of node failure. DeletingPodsQPS float32 // DEPRECATED: deletingPodsBurst is the number of nodes on which pods are bursty deleted in // case of node failure. For more details look into RateLimiter. DeletingPodsBurst int32 // registerRetryCount is the number of retries for initial node registration. // Retry interval equals node-sync-period. RegisterRetryCount int32 }
DeprecatedControllerConfiguration contains elements be deprecated.
func (*DeprecatedControllerConfiguration) DeepCopy ¶
func (in *DeprecatedControllerConfiguration) DeepCopy() *DeprecatedControllerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeprecatedControllerConfiguration.
func (*DeprecatedControllerConfiguration) DeepCopyInto ¶
func (in *DeprecatedControllerConfiguration) DeepCopyInto(out *DeprecatedControllerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericControllerManagerConfiguration ¶
type GenericControllerManagerConfiguration struct { // port is the port that the controller-manager's http service runs on. Port int32 // address is the IP address to serve on (set to 0.0.0.0 for all interfaces). Address string // minResyncPeriod is the resync period in reflectors; will be random between // minResyncPeriod and 2*minResyncPeriod. MinResyncPeriod metav1.Duration // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. ClientConnection componentbaseconfig.ClientConnectionConfiguration // How long to wait between starting controller managers ControllerStartInterval metav1.Duration // leaderElection defines the configuration of leader election client. LeaderElection componentbaseconfig.LeaderElectionConfiguration // Controllers is the list of controllers to enable or disable // '*' means "all enabled by default controllers" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Controllers []string // DebuggingConfiguration holds configuration for Debugging related features. Debugging componentbaseconfig.DebuggingConfiguration }
GenericControllerManagerConfiguration holds configuration for a generic controller-manager
func (*GenericControllerManagerConfiguration) DeepCopy ¶
func (in *GenericControllerManagerConfiguration) DeepCopy() *GenericControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControllerManagerConfiguration.
func (*GenericControllerManagerConfiguration) DeepCopyInto ¶
func (in *GenericControllerManagerConfiguration) DeepCopyInto(out *GenericControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeCloudSharedConfiguration ¶
type KubeCloudSharedConfiguration struct { CloudProviderConfiguration // It is currently used by the in repo cloud providers to handle node and volume control in the KCM. ExternalCloudVolumePlugin string // individual service account credentials. UseServiceAccountCredentials bool AllowUntaggedCloud bool RouteReconciliationPeriod metav1.Duration NodeMonitorPeriod metav1.Duration ClusterName string ClusterCIDR string // ConfigureCloudRoutes is true, to be set on the cloud provider. AllocateNodeCIDRs bool CIDRAllocatorType string // to be configured on the cloud provider. ConfigureCloudRoutes bool // periods will result in fewer calls to cloud provider, but may delay addition // of new nodes to cluster. NodeSyncPeriod metav1.Duration }CloudProvider
KubeCloudSharedConfiguration contains elements shared by both kube-controller manager and cloud-controller manager, but not genericconfig.
func (*KubeCloudSharedConfiguration) DeepCopy ¶
func (in *KubeCloudSharedConfiguration) DeepCopy() *KubeCloudSharedConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeCloudSharedConfiguration.
func (*KubeCloudSharedConfiguration) DeepCopyInto ¶
func (in *KubeCloudSharedConfiguration) DeepCopyInto(out *KubeCloudSharedConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeControllerManagerConfiguration ¶
type KubeControllerManagerConfiguration struct { metav1.TypeMeta // Generic holds configuration for a generic controller-manager Generic GenericControllerManagerConfiguration // both in cloud controller manager and kube-controller manager. KubeCloudShared KubeCloudSharedConfiguration // AttachDetachControllerConfiguration holds configuration for // AttachDetachController related features. AttachDetachController attachdetachconfig.AttachDetachControllerConfiguration // CSRSigningControllerConfiguration holds configuration for // CSRSigningController related features. CSRSigningController csrsigningconfig.CSRSigningControllerConfiguration // DaemonSetControllerConfiguration holds configuration for DaemonSetController // related features. DaemonSetController daemonconfig.DaemonSetControllerConfiguration // DeploymentControllerConfiguration holds configuration for // DeploymentController related features. DeploymentController deploymentconfig.DeploymentControllerConfiguration // StatefulSetControllerConfiguration holds configuration for // StatefulSetController related features. StatefulSetController statefulsetconfig.StatefulSetControllerConfiguration // DeprecatedControllerConfiguration holds configuration for some deprecated // features. DeprecatedController DeprecatedControllerConfiguration // EndpointControllerConfiguration holds configuration for EndpointController // related features. EndpointController endpointconfig.EndpointControllerConfiguration // GarbageCollectorControllerConfiguration holds configuration for // GarbageCollectorController related features. GarbageCollectorController garbagecollectorconfig.GarbageCollectorControllerConfiguration // HPAControllerConfiguration holds configuration for HPAController related features. HPAController poautosclerconfig.HPAControllerConfiguration // JobControllerConfiguration holds configuration for JobController related features. JobController jobconfig.JobControllerConfiguration // NamespaceControllerConfiguration holds configuration for NamespaceController // related features. NamespaceController namespaceconfig.NamespaceControllerConfiguration // NodeIPAMControllerConfiguration holds configuration for NodeIPAMController // related features. NodeIPAMController nodeipamconfig.NodeIPAMControllerConfiguration // NodeLifecycleControllerConfiguration holds configuration for // NodeLifecycleController related features. NodeLifecycleController nodelifecycleconfig.NodeLifecycleControllerConfiguration // PersistentVolumeBinderControllerConfiguration holds configuration for // PersistentVolumeBinderController related features. PersistentVolumeBinderController persistentvolumeconfig.PersistentVolumeBinderControllerConfiguration // PodGCControllerConfiguration holds configuration for PodGCController // related features. PodGCController podgcconfig.PodGCControllerConfiguration // ReplicaSetControllerConfiguration holds configuration for ReplicaSet related features. ReplicaSetController replicasetconfig.ReplicaSetControllerConfiguration // ReplicationControllerConfiguration holds configuration for // ReplicationController related features. ReplicationController replicationconfig.ReplicationControllerConfiguration // ResourceQuotaControllerConfiguration holds configuration for // ResourceQuotaController related features. ResourceQuotaController resourcequotaconfig.ResourceQuotaControllerConfiguration // SAControllerConfiguration holds configuration for ServiceAccountController // related features. SAController serviceaccountconfig.SAControllerConfiguration // ServiceControllerConfiguration holds configuration for ServiceController // related features. ServiceController serviceconfig.ServiceControllerConfiguration // TTLAfterFinishedControllerConfiguration holds configuration for // TTLAfterFinishedController related features. TTLAfterFinishedController ttlafterfinishedconfig.TTLAfterFinishedControllerConfiguration }
KubeControllerManagerConfiguration contains elements describing kube-controller manager.
func (*KubeControllerManagerConfiguration) DeepCopy ¶
func (in *KubeControllerManagerConfiguration) DeepCopy() *KubeControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeControllerManagerConfiguration.
func (*KubeControllerManagerConfiguration) DeepCopyInto ¶
func (in *KubeControllerManagerConfiguration) DeepCopyInto(out *KubeControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubeControllerManagerConfiguration) DeepCopyObject ¶
func (in *KubeControllerManagerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.