Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get logs from executed Actions via Gateway #724

Open
mszostok opened this issue May 14, 2022 · 0 comments
Open

Get logs from executed Actions via Gateway #724

mszostok opened this issue May 14, 2022 · 0 comments
Labels
area/cli Relates to CLI enhancement New feature or request

Comments

@mszostok
Copy link
Member

Description

Currently, we are able to get logs from executed Actions via Capact CLI, so user doesn't need to use the kubectl and get a proper pods names.

Both options work:

  • get the latest logs from the Action execution
  • stream logs from the Action execution

However, the first implementation was done via direct call to K8s cluster. This should be abstracted. We can implement a query and subscription on GraphQL endpoint or create a separate REST endpoint just for streaming logs.

Reason

The current solution requires a valid kubeconfig to a k8s cluster. It's not generic solution and additionally it's easy to use different cluster that the one configured by CLI login.

Use cases

  • System User — I want to have a single point of authorization to my cluster via Gateway. All commands should work in a consistent way.
@mszostok mszostok added enhancement New feature or request area/cli Relates to CLI labels May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Relates to CLI enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant