Executed when: Browsing logs with Grafana.

Prints the current retention settings.

clusterctl retention info

For example:

$ sudo clusterctl retention info
SERVICE PERIOD MAX SIZE
metrics 14d 1GB
logs 28d N/A

Where:

  • SERVICE is the service name: metrics or logs.
  • PERIOD is the retention period for the logs or metrics.
  • MAX SIZE is the maximum size allocated for the metrics.

See clusterctl retention config logs and clusterctl retention config metrics for updating these retention settings.