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 FleetController ¶ added in v0.11.0
type FleetController 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 (*FleetController) PersistentPre ¶ added in v0.11.0
func (f *FleetController) PersistentPre(_ *cobra.Command, _ []string) error
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. |
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.