This vs-code extension allows you to work with your gardener projects, shoots, plants and seeds.
- List gardener projects
- List shoot clusters
- List plant clusters
- List seed clusters
- Save kubeconfig / merge into kubeconfig of landscape, shoot, plant and seed cluster
- Show In Dashboard
- Kubeconfig to (virtual) garden cluster
This extension contributes the following settings:
vscode-gardener-tools.vscode-light-theme
: should match your configured theme style. Default: truevscode-gardener-tools.landscapes
: Required configuration for garden landscapesvscode-gardener-tools.landscapes[].name
: Name of the garden clustervscode-gardener-tools.landscapes[].kubeconfigPath
: Path to the kubeconfig of the garden clustervscode-gardener-tools.landscapes[].dashboardUrl
: Gardener dashboard URL,vscode-gardener-tools.landscapes[].projects
: Optional list of projects (names) to be shown. However, you should specify this list if you do not have operator rights on the garden cluster or if you want to see only those projects.
Example config settings.json:
"vscode-gardener-tools": {
"vscode-light-theme": false,
"landscapes": [
{
"name": "landscape-dev",
"kubeconfigPath": "/kubeconfigpath/cluster-dev-virtual-garden/kubeconfig.yaml",
"dashboardUrl": "https://dashboard.garden.dev.example.com",
"projects": ["garden", "myproject"]
},
{
"name": "landscape-peter",
"kubeconfigPath": "/kubeconfigpath/cluster-canary-virtual-garden/kubeconfig.yaml",
"dashboardUrl": "https://dashboard.garden.canary.example.com"
},
]
}
To change the Gardener Kubernetes Tools
settings:
- On Windows/Linux -
File
>Preferences
>Settings
- On macOS -
Code
>Preferences
>Settings
Then search for Gardener Kubernetes Tools
or navigate to User Settings
> Extensions
> Gardener Kubernetes Tools