Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

fixes Tail output for init container being displayed extra#406

Merged
shashwathi merged 1 commit into
vmware-tanzu:mainfrom
shaheerkootteeri:iss30
Nov 10, 2022
Merged

fixes Tail output for init container being displayed extra#406
shashwathi merged 1 commit into
vmware-tanzu:mainfrom
shaheerkootteeri:iss30

Conversation

@shaheerkootteeri
Copy link
Copy Markdown
Contributor

@shaheerkootteeri shaheerkootteeri commented Nov 9, 2022

Pull request

What this PR does / why we need it

updates the default time for workload tail from 1 second to 1 minute in workload create apply tail or update command. It reduces the number of occurrences of the init container logs being added and removed

Which issue(s) this PR fixes

Fixes #30

Describe testing done for PR

updated unit test cases to have tail function use the default value as 1 mint and validated the cli in local cluster as well.

Additional information or special notes for your reviewer

@shaheerkootteeri
Copy link
Copy Markdown
Contributor Author

Left side is tanzu tail command with 1 second and right side is tanzu tail command with 1 minute
image

@shaheerkootteeri shaheerkootteeri marked this pull request as ready for review November 10, 2022 00:11
@shashwathi shashwathi merged commit fa495ef into vmware-tanzu:main Nov 10, 2022
@shaheerkootteeri shaheerkootteeri deleted the iss30 branch November 30, 2022 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tail output for init containers reports init containers being added and deleted

3 participants