You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please fill out the issue checklist below and provide ALL the requested information.
I reviewed open and closed Github issues that may be related to my problem.
I am reporting a bug that others will be able to reproduce.
Describe the bug
Stern released a new version (v1.24.0) which introduced a breaking change that's generating errors in Apps Plugin for --tail flag.
In Apps Plugin v0.11.1, where Stern version was v1.22.0, this error was not happening.
Expected behavior
Do not generate errors coming from Stern when using --tail flag or workload tail command.
Steps to Reproduce
Apply to create or update a workload using tail flag:
tanzu apps workload apply foo --git-repo https://github.com/nycpivot/tanzu-java-web-app --git-branch main --type web --app tanzu-java-web-app --label apps.tanzu.vmware.com/has-tests=true --tail --yes
🔎 Create workload:
1 + |---
2 + |apiVersion: carto.run/v1alpha1
3 + |kind: Workload
4 + |metadata:
5 + | labels:
6 + | app.kubernetes.io/part-of: tanzu-java-web-app
7 + | apps.tanzu.vmware.com/has-tests: "true"
8 + | apps.tanzu.vmware.com/workload-type: web
9 + | name: foo
10 + | namespace: default
11 + |spec:
12 + | source:
13 + | git:
14 + | ref:
15 + | branch: main
16 + | url: https://github.com/nycpivot/tanzu-java-web-app
👍 Created workload "foo"
To see logs: "tanzu apps workload tail foo --timestamp --since 1h"
To get status: "tanzu apps workload get foo"
Waiting for workload "foo" to become ready...
Error: stern reached the maximum number of log requests (0), use --max-log-requests to increase the limit
Screenshots
If applicable, add screenshots to help explain your problem.
Version (Apps plugin version, Version of K8s running on cluster)
Put the output of the following commad
tanzu version && tanzu apps version
version: v0.28.0
buildDate: 2023-01-20
sha: 3c34115bc-dirty
v0.11.0+dev-1582864e
Environment where the bug was observed (cloud, OS, etc)
Please fill out the issue checklist below and provide ALL the requested information.
Describe the bug
Stern released a new version (v1.24.0) which introduced a breaking change that's generating errors in Apps Plugin for
--tail
flag.In Apps Plugin v0.11.1, where Stern version was v1.22.0, this error was not happening.
Expected behavior
Do not generate errors coming from Stern when using
--tail
flag orworkload tail
command.Steps to Reproduce
Apply to create or update a workload using
tail
flag:Screenshots
If applicable, add screenshots to help explain your problem.
Version (Apps plugin version, Version of K8s running on cluster)
Put the output of the following commad
tanzu version && tanzu apps version version: v0.28.0 buildDate: 2023-01-20 sha: 3c34115bc-dirty v0.11.0+dev-1582864e
Environment where the bug was observed (cloud, OS, etc)
MacOS Ventura 13.2.1
Additional context & Relevant Debug Output (Logs, etc)
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: