-
Notifications
You must be signed in to change notification settings - Fork 275
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
Logs of k8s job.batch are not shown with garden logs #5891
Comments
@yl-raisin Can you share a Garden configuration yaml with us so we have something to try to reproduce this behaviour? One workaround I can suggest already is using a Would that work for you? |
hey @stefreak , Here you go, I created a simple project that perfectly reproduces this issue: https://github.com/yl-raisin/hello-world-helm-chart/tree/main/ About |
Also It gives me this error:
|
Bug
Start watching logs of k8s Job defined as Deploy action:
Re-deploy job:
What is happening in the meantime:
Current Behavior
No logs are shown for the job and every 10s it complains with:
[debug] <No running containers found for ServiceAccount database-migration. Will retry in 10s...>
Expected behavior
Logs of the job are shown with
garden logs
command.Reproducible example
Deploy action for a helm chart with Job only.
Workaround
Use
kubectl logs -f $JOB_POD
Suggested solution(s)
To support Jobs by
garden logs
because according to docs https://docs.garden.io/using-garden/using-the-cli#logs it shows logs of anyDeploy
Additional context
Your environment
Fedora release 39 (Thirty Nine)
EKS
The text was updated successfully, but these errors were encountered: