Skip to content

feat(kubernetes): add kubernetes nodegroup show command#242

Merged
kangasta merged 7 commits intomainfrom
feat/k8s-node-group-details
Jul 18, 2023
Merged

feat(kubernetes): add kubernetes nodegroup show command#242
kangasta merged 7 commits intomainfrom
feat/k8s-node-group-details

Conversation

@kangasta
Copy link
Copy Markdown
Member

@kangasta kangasta commented Jul 17, 2023

  • Add kubernetes nodegroup show to display node-group details in tables. This also adds Nodes table and Anti-affinity field to human output.
  • Show summary of cluster node-groups as table in kubernetes show output.
  • Only accept single cluster as positional argument for node-group operations.
  • Remove (EXPERIMENTAL) notices from kubernetes commands.

@kangasta kangasta force-pushed the feat/k8s-node-group-details branch from 4e86234 to 5839032 Compare July 17, 2023 16:42
@kangasta kangasta marked this pull request as ready for review July 17, 2023 16:43
@kangasta kangasta requested a review from peknur July 17, 2023 16:43
Copy link
Copy Markdown
Contributor

@peknur peknur left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Tested this locally and output looks good. Left non-blocking comment about naming convention.

Comment thread CHANGELOG.md
## [Unreleased]

### Added
- Add `kubernetes nodegroup show` for displaying node-group details. This also adds _Nodes_ table and _Anti-affinity_ field that were not available in previous `kubernetes show` output.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a blocker, but just wondering would node-group be more aligned with HTTP API resource and SDK's type names 🤔

Copy link
Copy Markdown
Member Author

@kangasta kangasta Jul 18, 2023

Choose a reason for hiding this comment

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

Yeah, we could go trough the sub-command naming. We have at least loadbalancer vs. load-balancer as well. Adding aliases would allow changing the naming while keeping commands backwards compatible.

@kangasta kangasta merged commit d45b601 into main Jul 18, 2023
@kangasta kangasta deleted the feat/k8s-node-group-details branch July 18, 2023 10:17
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.

2 participants