Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Add gardenctl show infra command #477

Closed
dansible opened this issue Nov 30, 2020 · 2 comments · Fixed by #495
Closed

Add gardenctl show infra command #477

dansible opened this issue Nov 30, 2020 · 2 comments · Fixed by #495
Assignees

Comments

@dansible
Copy link
Contributor

It would be great to have a command to show all the cloud provider infra created by gardener (VPCs, Subnets, Routes, VMs, etc).

Some of this functionality is implemented in the gardenctl infra orphan list command (see #475 and #252) but would need to be extracted/refactored to be able to use in this case as well

@vlerenc
Copy link
Contributor

vlerenc commented Dec 1, 2020

Related, @rfranzke recently proposed to pull out all resources from the Terraform file. We already pull some out to hand them over to other components (such as the VPC ID), but not yet all.

@dansible @neo-liang-sap @DockToFuture What would be your way to get to this data, if this proposal gets picked up? I ask, because it would be a waste to duplicate the work and gardenctl couldn't reliably "follow" Gardener unless it gets released together with it, but also then it shouldn't duplicate the knowledge and details of the infrastructure extensions.

@jfortin-sap-zz
Copy link

jfortin-sap-zz commented Dec 1, 2020

@vlerenc @rfranzke We would basically use the cloud provider cli to retrieve all the resources for the target

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants