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

Implement alpha tree command for Machines and Volumes #2

Closed
adracus opened this issue Jan 21, 2022 · 0 comments
Closed

Implement alpha tree command for Machines and Volumes #2

adracus opened this issue Jan 21, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@adracus
Copy link
Collaborator

adracus commented Jan 21, 2022

Summary

Implement a command showing tree output for MachinePools / StoragePools.

The command should accept an optional MachinePool / StoragePool name and show all Machines / Volumes assigned to that pool.

Caution: In the future, this might be extended to additionally include volumes that are synced to that pool via its items. An example for this could be a machine also including the Volumes it references.

Basic example

$ kubectl-onmetal alpha tree machinepool

- machine-pool-a
  - machine-a
  - machine-b
- machine-pool-b
  - machine-c
  - machine-d
- <unassigned>
  - machine-e
  - machine-f

$ kubectl-onmetal alpha tree machinepool machine-pool-a
- machine-a
- machine-b

Definition of Done

  • The command described as above is implemented
  • There are tests for all new code paths
  • The PRs pass / the author should fix all workflows / his tests to make sure they pass
@adracus adracus added the enhancement New feature or request label Jan 21, 2022
@tetff tetff mentioned this issue Feb 11, 2022
@github-actions github-actions bot added the stale label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants