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

Add info command #137

Open
vpnachev opened this issue Mar 11, 2022 · 1 comment · May be fixed by #165
Open

Add info command #137

vpnachev opened this issue Mar 11, 2022 · 1 comment · May be fixed by #165
Assignees
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@vpnachev
Copy link
Member

What would you like to be added:
gardenctl v1 has a info command that prints the number of active and hibernated shoots per seed cluster in the landscape, for example

$ gardenctl info
Garden: local
Seed               Total         Active        Hibernated
----               -----         ------        ----------
seed-1             8             3             5
seed-2             21            11            10
----               -----         ------        ----------
TOTAL              29            14            15
Unscheduled        0

Code ref: https://github.com/gardener/gardenctl/blob/v0.24.3/pkg/cmd/info.go
Eventually, the seed.status.(allocatable|capacity) fields can be also printed, ref: https://gardener.cloud/docs/gardener/api-reference/core/#core.gardener.cloud/v1beta1.SeedStatus

Why is this needed:
To get some insights about the size of the landscape and seed utilization.

@vpnachev vpnachev added component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension labels Mar 11, 2022
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Sep 8, 2022
@tedteng
Copy link
Contributor

tedteng commented Oct 11, 2022

/assign will take a look

@tedteng tedteng linked a pull request Oct 13, 2022 that will close this issue
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/gardenctl Gardener CLI kind/enhancement Enhancement, improvement, extension lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants