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

Unable to setup dashboard locally #1936

Open
krishanu-ghosh opened this issue Jun 25, 2024 · 3 comments
Open

Unable to setup dashboard locally #1936

krishanu-ghosh opened this issue Jun 25, 2024 · 3 comments
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension

Comments

@krishanu-ghosh
Copy link

Here https://github.com/gardener/dashboard/blob/master/docs/development/local-setup.md#3-configuration
In this step it instructs to place the Gardener Dashboard configuration under ${HOME}/.gardener/config.yaml or alternatively set the path to the configuration file using the GARDENER_CONFIG environment variable.
But as far as I observed this specific file i.e config.yaml is not being generated by gardener at this location.
I believe there is a need to update the instructions.

@krishanu-ghosh krishanu-ghosh added component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension labels Jun 25, 2024
@grolu
Copy link
Contributor

grolu commented Jun 25, 2024

The config file contains the Dashboard configuration. It is not generated by Gardener or the Dashboard. You need to place it in .gardener folder or define the path using the mentioned environment variable. It contains all configuration options for the Gardener Dashboard most of them are optional.
The local setup documentation contains only minimal configuration options. Check the helm charts for more configuration options.

@krishanu-ghosh
Copy link
Author

Hi @grolu , it is understandable that it is not generated by Gardener or the Dashboard. But I find myself a bit lost in the setup process.
I've been trying to use Dashboard for the Gardener which I've set up locally using a KinD cluster. Can you please point me to some resource or suggest steps to follow. Thanks.

@grolu
Copy link
Contributor

grolu commented Jul 2, 2024

Can you give me some background on what you are trying to achieve. Do you want to setup the Gardener Dashboard locally for development or are you trying to use the Dashboard to view and manage your clusters in your local development setup. Also, how did you setup your local Gardener? If you want to use the Dashboard along with a local Gardener setup, I suggest to setup Gardener using the gardener-operator. See this instructions: https://github.com/gardener/gardener/blob/master/docs/deployment/getting_started_locally.md#alternative-way-to-set-up-garden-and-seed-leveraging-gardener-operator
This will deploy the dashboard for you. If you setup Gardener without using the operator, you can run the Dashboard locally and connect to your local Gardener as described in the documentation you have linked above (https://github.com/gardener/dashboard/blob/master/docs/development/local-setup.md#3-configuration). You could also deploy the dashboard manually using helm charts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

2 participants