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

Implement logs Action #20

Open
jaypipes opened this issue Jul 10, 2024 · 0 comments
Open

Implement logs Action #20

jaypipes opened this issue Jul 10, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jaypipes
Copy link
Member

Allow logs for a Pod to be fetched and analyzed by GDT asserters. Pods should be looked up by name prefix to avoid the test author needing to know the exact Pod name. For example, the test author should be able to specify logs: kube-scheduler and GDT should look for any Pods that start with the string "kube-scheduler" and grab the logs from those Pods.

Something like this would work:

tests:
 - name: check api-server loaded custom resource
   kube.logs: kube-apiserver
   assert:
     contains: Loaded MyCustomResource
@jaypipes jaypipes added the enhancement New feature or request label Jul 10, 2024
@jaypipes jaypipes self-assigned this Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant