Skip to content

Enable users to export diagnostics data via Kyma CLI #2437

@kwiatekus

Description

@kwiatekus

Description

Provide a kyma CLI command that would output diagnostic data, such as:

  • Non-ready statuses of Kyma Module CRs (including conditions)
  • resource saturation of the nodes
  • k8s error/warning events with kyma-system namespace
  • k8s error/warning events originating from user's namespaces
  • cluster metadata (i.e SAP BTP subdomain, subaccount)

For example:

kyma alpha diagnose (--output {filepath}) (--fromat {yaml|json})

Module providers can further extend the command by adding sub-commands for their modules:
I.e kyma alpha diagnose keda could output keda specific metrics
I.e kyma alpha keda docs could open url in browser

Reasons

When users report defects we asked them to provide kyma installation details in order to better understand the problem. This feature will provide a standardised way of providing diagnostic data, which will help us better support the users, but also may expose some symptoms to the user himself.

Metadata

Metadata

Assignees

Labels

area/cliRelated to all activities around CLI

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions