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

Show actual version running on pods #204

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

vthapar
Copy link
Contributor

@vthapar vthapar commented Jul 6, 2023

Proposal to enhance show versions to show actual version running on pods.

Related issue #798

@submariner-bot
Copy link
Collaborator

🤖 Created branch: z_pr204/vthapar/show-versions

@vthapar vthapar self-assigned this Jul 6, 2023
Copy link
Member

@skitt skitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some typo fixes!

Some of our pods produce lots of logs, especially in circumstances where we need to diagnose a Submariner setup. I do still think that logging the version number will be helpful, and subctl should look there first to find out what version of a component is running. However it might be worth adding a --version flag to all components, and then have subctl exec the appropriate binary in each pod to extract the version information if it can’t get it from the logs.

subctl/issue-798-show-versions-from-logs.md Outdated Show resolved Hide resolved
subctl/issue-798-show-versions-from-logs.md Outdated Show resolved Hide resolved

## User Impact

* Users will need to modify any scripts or tooling that rely on current output of `show versions` or version log message
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should offer JSON output from subctl ;-). (Just a note, not requesting this here!)

@dfarrell07
Copy link
Member

Relevant: submariner-io/submariner#2552

@vthapar
Copy link
Contributor Author

vthapar commented Jul 25, 2023

@sridhargaddam @tpantelis Proposal has been changed since your approvals, so re-requesting review.

@skitt
Copy link
Member

skitt commented Jul 25, 2023

Closing and re-opening to trigger CI.

@skitt skitt closed this Jul 25, 2023
@submariner-bot
Copy link
Collaborator

🤖 Closed branches: [z_pr204/vthapar/show-versions]

@skitt skitt reopened this Jul 25, 2023
@submariner-bot
Copy link
Collaborator

🤖 Created branch: z_pr204/vthapar/show-versions

@nyechiel
Copy link
Member

Closing and re-opening to trigger CI.

@nyechiel nyechiel closed this Jul 26, 2023
@submariner-bot
Copy link
Collaborator

🤖 Closed branches: [z_pr204/vthapar/show-versions]

vthapar added a commit to vthapar/shipyard that referenced this pull request Aug 2, 2023
Adds a `version` file to nettest image which can help determine version
in-use for submariner-metrics-proxy pods

Refer submariner-io/enhancements#204

Fixes submariner-io#1327

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 2, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 2, 2023
submariner-bot pushed a commit to submariner-io/submariner that referenced this pull request Aug 2, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes #2633

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 3, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 3, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 3, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 4, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Removed a log entry from metrics.go which didn't add much value
so we can have version as first entry in log file.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 4, 2023
vthapar added a commit to vthapar/submariner that referenced this pull request Aug 4, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes submariner-io#2633

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 4, 2023
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 7, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Removed a log entry from metrics.go which didn't add much value
so we can have version as first entry in log file.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 7, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Removed a log entry from metrics.go which didn't add much value
so we can have version as first entry in log file.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/lighthouse that referenced this pull request Aug 7, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Removed a log entry from metrics.go which didn't add much value
so we can have version as first entry in log file.

Refer submariner-io/enhancements#204

Fixes submariner-io#1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 7, 2023
vthapar added a commit to vthapar/submariner that referenced this pull request Aug 7, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes submariner-io#2633

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 7, 2023
vthapar added a commit to vthapar/submariner-operator that referenced this pull request Aug 7, 2023
tpantelis pushed a commit to submariner-io/submariner-operator that referenced this pull request Aug 7, 2023
tpantelis pushed a commit to submariner-io/lighthouse that referenced this pull request Aug 8, 2023
Adds `--version` flag to Lighthouse Agent and `--subm-version`
flag to Lighthouse Coredns. CoreDNS already has `--version` which
prints CoreDNS version, so we can't use the same flag for
Lighthouse version.

Removed a log entry from metrics.go which didn't add much value
so we can have version as first entry in log file.

Refer submariner-io/enhancements#204

Fixes #1333

Signed-off-by: Vishal Thapar <[email protected]>
vthapar added a commit to vthapar/submariner that referenced this pull request Aug 8, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes submariner-io#2633

Signed-off-by: Vishal Thapar <[email protected]>
tpantelis pushed a commit to submariner-io/shipyard that referenced this pull request Aug 8, 2023
Adds a `version` file to nettest image which can help determine version
in-use for submariner-metrics-proxy pods

Refer submariner-io/enhancements#204

Fixes #1327

Signed-off-by: Vishal Thapar <[email protected]>
tpantelis pushed a commit to submariner-io/submariner that referenced this pull request Aug 8, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes #2633

Signed-off-by: Vishal Thapar <[email protected]>
novad03 pushed a commit to novad03/k8s-submariner that referenced this pull request Nov 25, 2023
* Adds `--version` flag to all submariner binaries.
* Modifies version log msg to also show component name

Refer submariner-io/enhancements#204

Fixes #2633

Signed-off-by: Vishal Thapar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants