Skip to content

cub k8s

cub k8s

Kubernetes commands

Synopsis

The k8s subcommands work with Kubernetes resources.

"get" and "types" read the resources held in ConfigHub Units, naming resource types the way kubectl does; they show configuration, not live cluster state. "source", "refresh" and "collect" reach out to a cluster: to trace a live resource back to its Unit, to bring a resource's cluster-side changes back into that Unit, and to record cluster facts on a Target. "crd-spec" reads neither, taking a CustomResourceDefinition file and writing the resource-type spec that teaches ConfigHub how to address a custom resource's fields.

Options

  -h, --help   help for k8s

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO

  • cub - ConfigHub CLI
  • cub k8s collect - Collect facts from a Kubernetes cluster and store them on a Target
  • cub k8s crd-spec - Write the resource-type spec for a CustomResourceDefinition
  • cub k8s get - List and describe Kubernetes resources stored in ConfigHub
  • cub k8s refresh - Bring cluster-side changes to one Kubernetes resource back into its unit
  • cub k8s source - Find the ConfigHub source of a Kubernetes resource
  • cub k8s types - List the Kubernetes resource types stored in ConfigHub