Skip to content

CLI: Resource Visibility and Inspection #4532

@weyfonk

Description

@weyfonk

As a Developer or Operations Engineer, I want to quickly list and view the status of all Fleet-managed resources (including Bundles, GitRepos, HelmOps, BundleDeployments, etc.) directly from the CLI, so that I can gain insights into the deployment state, configuration, and health of my applications and infrastructure across the entire fleet or specific clusters.

Acceptance Criteria:

  • fleet get cluster <cluster-name>:

    • Checks agent pod status, logs, and connectivity to the Fleet control plane.
    • Verifies RBAC permissions and necessary configurations on the member cluster.
    • Reports on cluster registration status and health.
  • fleet get bundle <bundle-name> [-n namespace]:

    • Checks the status of BundleDeployment resources associated with the bundle.
    • Verifies that all resources defined in the bundle are correctly applied/progressing on target clusters.
    • Identifies unmet dependencies (e.g., other bundles, resources).
    • Shows recent events and errors related to the bundle.
  • fleet get gitrepo <gitrepo-name> [-n namespace]:

    • Checks sync status, recent commit processing, and any errors during reconciliation.
    • Verifies connectivity to the Git repository.
  • Similar for fleet get helmop <name> [-n namespace]
  • Output formatting options (wide for more columns, yaml for full resource definition, json).

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    🆕 New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions