chainctl clusters search

chainctlReferenceProduct

Search a cluster or group of clusters.

chainctl clusters search [CLUSTER_NAME | CLUSTER_ID | GROUP_NAME | GROUP_ID ] [--packages=PACKAGE_LIST] [--active-within DURATION] [--output tree|table|json|wide]

Examples

  # Search a cluster by name for klog v2
  chainctl cluster search my_cluster_name --packages=k8s.io/klog/v2
  
  # Search a cluster by ID for both versions of klog
  chainctl cluster search ef127a7c0909329f04b43d845cf80eea4247a07b/a99cd6e82bca5146/9a778e6db762b750 --packages=k8s.io/klog/v2,k8s.io/klog
  
  # Search all clusters within a group that were active within the past 6 hours for zap
  chainctl cluster search my_group --packages=go.uber.org/zap --active-within=6h

Options

      --active-within duration   How recently a cluster must have been active to be listed. Zero will return all clusters. (default 24h0m0s)
  -h, --help                     help for search
      --packages string          A comma-delimited list of packages to search for in the cluster.

Options inherited from parent commands

      --api string                   The url of the Chainguard platform API. (default "http://api.api-system.svc")
      --audience string              The Chainguard token audience to request. (default "http://api.api-system.svc")
      --config string                A specific chainctl config file.
      --console string               The url of the Chainguard platform Console. (default "http://console-ui.api-system.svc")
      --issuer string                The url of the Chainguard STS endpoint. (default "http://issuer.oidc-system.svc")
  -o, --output string                Output format. One of: ["", "table", "tree", "json", "id", "wide"]
      --timestamp-authority string   The url of the Chainguard Timestamp Authority endpoint. (default "http://tsa.timestamp-authority.svc")
  -v, --v int                        Set the log verbosity level.

SEE ALSO