Documentation ¶
Overview ¶
Package controller starts the fleet controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BindAddresses ¶ added in v0.10.0
type ControllerReconcilerWorkers ¶ added in v0.10.0
type FleetManager ¶
type FleetManager struct { command.DebugConfig Kubeconfig string `usage:"Kubeconfig file"` Namespace string `usage:"namespace to watch" default:"cattle-fleet-system" env:"NAMESPACE"` DisableMetrics bool `usage:"disable metrics" name:"disable-metrics"` ShardID string `usage:"only manage resources labeled with a specific shard ID" name:"shard-id"` }
func (*FleetManager) PersistentPre ¶ added in v0.10.0
func (r *FleetManager) PersistentPre(_ *cobra.Command, _ []string) error
type LeaderElectionOptions ¶
type LeaderElectionOptions struct { // LeaseDuration is the duration that non-leader candidates will // wait to force acquire leadership. This is measured against time of // last observed ack. Default is 15 seconds. LeaseDuration *time.Duration // RenewDeadline is the duration that the acting controlplane will retry // refreshing leadership before giving up. Default is 10 seconds. RenewDeadline *time.Duration // RetryPeriod is the duration the LeaderElector clients should wait // between tries of actions. Default is 2 seconds. RetryPeriod *time.Duration }
Directories ¶
Path | Synopsis |
---|---|
agent
Package agent builds manifests for creating a managed fleet-agent.
|
Package agent builds manifests for creating a managed fleet-agent. |
connection
Package connection provides a connection to a Kubernetes cluster, used when importing a cluster.
|
Package connection provides a connection to a Kubernetes cluster, used when importing a cluster. |
controllers/cluster
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping.
|
Package cluster provides controllers for managing clusters: status changes, importing, bootstrapping. |
controllers/clusterregistration
Package clusterregistration implements manager-initiated and agent-initiated registration.
|
Package clusterregistration implements manager-initiated and agent-initiated registration. |
controllers/clusterregistrationtoken
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken.
|
Package clusterregistrationtoken provides a controller for ClusterRegistrationToken. |
controllers/config
Package config reads the initial global configuration.
|
Package config reads the initial global configuration. |
controllers/manageagent
Package manageagent provides a controller for managing the agent bundle.
|
Package manageagent provides a controller for managing the agent bundle. |
secret
Package secret gets or creates service account secrets for cluster registration.
|
Package secret gets or creates service account secrets for cluster registration. |
content
Package content purges orphaned content objects by inspecting bundledeployments in all namespaces.
|
Package content purges orphaned content objects by inspecting bundledeployments in all namespaces. |
controllers/cleanup
Package cleanup provides a controller that cleans up resources that are no longer needed.
|
Package cleanup provides a controller that cleans up resources that are no longer needed. |
Package options merges the BundleDeploymentOptions, so that targetCustomizations take effect.
|
Package options merges the BundleDeploymentOptions, so that targetCustomizations take effect. |
Package config reads the initial global configuration.
|
Package config reads the initial global configuration. |
Package summary provides a summary of a bundle's, gitrepo's or cluster's state.
|
Package summary provides a summary of a bundle's, gitrepo's or cluster's state. |
Package target provides functionality around building and deploying bundledeployments.
|
Package target provides functionality around building and deploying bundledeployments. |
Click to show internal directories.
Click to hide internal directories.