package config
import "k8s.io/controller-manager/config"
Index ¶
Types ¶
type ControllerLeaderConfiguration ¶
type ControllerLeaderConfiguration struct { // Name is the name of the controller being migrated // E.g. service-controller, route-controller, cloud-node-controller, etc Name string // Component is the name of the component in which the controller should be running. // E.g. kube-controller-manager, cloud-controller-manager, etc Component string }
ControllerLeaderConfiguration provides the configuration for a migrating leader lock.
type LeaderMigrationConfiguration ¶
type LeaderMigrationConfiguration struct { metav1.TypeMeta // LeaderName is the name of the leader election resource that protects the migration // E.g. 1-20-KCM-to-1-21-CCM LeaderName string // ResourceLock indicates the resource object type that will be used to lock // Should be "leases" or "endpoints" ResourceLock string // ControllerLeaders contains a list of migrating leader lock configurations ControllerLeaders []ControllerLeaderConfiguration }
LeaderMigrationConfiguration provides versioned configuration for all migrating leader locks. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
Source Files ¶
types.go
Directories ¶
Path | Synopsis |
---|---|
config/v1alpha1 |
- Version
- v0.20.0-alpha.2
- Published
- Oct 20, 2020
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 3 hours ago –
Tools for package owners.