defenseunicorns / pepr

Type safe K8s middleware for humans
https://pepr.dev
Apache License 2.0
210 stars 17 forks source link

npx pepr logs #659

Open cmwylie19 opened 8 months ago

cmwylie19 commented 8 months ago

Is your feature request related to a problem? Please describe.

I'd like to be able to use a Pepr CLI command to pull easy-to-read Pepr Controller logs from a cluster.

Describe the solution you'd like

One of the primary methods of troubleshooting Pepr Modules is to "check the logs" when something unexpected happens. The current method for doing so is to dump pod logs via kubectl and, while that works, the experience isn't awesome:

An awesome experience would instead:

Therefore:

Describe alternatives you've considered

cmwylie19 commented 8 months ago

Log Levels

Logger

cmwylie19 commented 3 months ago

adding this to on-hold because we have not had any requests around this and we would need more info on the desired implementation. uds-cli has a monitor command and pepr does too, not sure if this is enough?