Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dipankardas011
Copy link
Member

๐Ÿ—’๏ธ Changelog

๐Ÿ‹๐Ÿผ Issues

โœ… Completed Issues

๐Ÿ“Ž Related Issues

๐Ÿš€ Task List

  • [ ]
  • [ ]

๐Ÿ” Review Checklist

  • Code follows project style guidelines
  • Added/updated tests
  • Ran tests locally
  • Updated documentation
  • Checked Contribution Guidelines

๐Ÿ“ธ Screenshots/Recordings

๐Ÿ“Œ Additional Notes


๐Ÿ’ก PR best practices
  • Keep changes focused and atomic
  • Update tests and documentation
  • Check for conflicts with main branch
  • Respond promptly to review comments
  • Follow project coding standards
  • Make sure you are using pre-commit for that run this command $ pre-commit install

- Added elapsed time tracking to `GeneralLog` for better log context.
- Introduced `formatWithRightAlignedTime` to align elapsed time in logs.
- Replaced `getTime` with `getTime` method in `GeneralLog`.
- Integrated terminal width detection for dynamic formatting.

Signed-off-by: Dipankar Das <[email protected]>
Introduce custom log levels with color-coded prefixes for better
readability. Adjust terminal width fallback and improve right-aligned
time formatting. Refactor log level handling for consistency across
methods.

Signed-off-by: Dipankar Das <[email protected]>
Introduce a new `summary` command to fetch and display the summary of
created clusters. This includes cluster metadata and health status.

- Added `Summary` method in `cmd/handler.go` for command mapping.
- Implemented `summary.go` to handle the logic for fetching and
  displaying cluster summaries.
- Updated `go.mod` to include `github.com/gookit/goutil` for utilities.

Signed-off-by: Dipankar Das <[email protected]>
Signed-off-by: Dipankar Das <[email protected]>
Replaced the plain text cluster summary output with a visually enhanced
UI using lipgloss. Added sections for key attributes, nodes, workloads,
events, and detected issues. Improved readability and usability by
color-coding statuses and formatting data.

Signed-off-by: Dipankar Das <[email protected]>
@dipankardas011 dipankardas011 requested a review from Horiodino as a code owner May 1, 2025 12:21
Updated the ksctl dependency from v2.5.0 to v2.6.0 in go.mod. This ensures

Signed-off-by: Dipankar Das <[email protected]>
Signed-off-by: Dipankar Das <[email protected]>
@dipankardas011 dipankardas011 merged commit 8546f4b into main May 1, 2025
2 checks passed
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.

๐Ÿ†• Added command ksctl cluster status

1 participant