-
Notifications
You must be signed in to change notification settings - Fork 772
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
feat/cyclops-ui: Add support to fetch Deployment/StatefulSet logs #660
Open
Sheikh-Abubaker
wants to merge
24
commits into
cyclops-ui:main
Choose a base branch
from
Sheikh-Abubaker:log-pr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bde5ad2
Add button to fetch Deployment/StatefulSet logs
Sheikh-Abubaker 0e9b491
Revert style to marginBottom and remove container parameter from onLoβ¦
Sheikh-Abubaker 47a9c93
Add handler functions for Deployment/Sts logs and point axios.get to β¦
Sheikh-Abubaker 00c9c05
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker db3068c
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker f1f62bb
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker e78b3df
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker becd137
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 7d3ac86
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker a6f7731
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker bb91f0c
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 3cc3d6d
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 63d85ec
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 7a8fbaf
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker ffff91c
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 4df08a4
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 7cd922b
Resolve Conflicts
Sheikh-Abubaker 0b19391
Resolve Conflicts
Sheikh-Abubaker 6579a29
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 610bad8
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker 7d295bc
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker d2c94ae
Introduce a separated reusable component for object logs
Sheikh-Abubaker 045989a
Merge branch 'main' of https://github.com/Sheikh-Abubaker/cyclops intβ¦
Sheikh-Abubaker c3cd8a0
Remove unused imports
Sheikh-Abubaker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Im not sure these two methods work. In the case of multiple pods for a deployment, it will just append logs from one pod to another regardless of the time those were produced at. The logs should be sorted by when they have been produced. Could you also check that out?
Also, we could just have a single endpoint that would be provided with a
group
,version
,kind
,name
andnamespace
and it could just return all the logs for the requested resource. That way we don't have to duplicate endpoints for Deployments, Statefulsets, Pods...