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

kstone-dashboard supports yaml/json files export in visualization tool #77

Open
lianghao208 opened this issue Jan 6, 2022 · 2 comments

Comments

@lianghao208
Copy link
Contributor

Let's say kubernetes cluster stores resources in default namespace.
If users need to get data from default namespace:

  1. Searching for key default in Visualization Tool
  2. The result key would be:
    /{cluster prefix}/{api group name}/{resource name}/default/

image

@jianhaiqing
Copy link
Contributor

Out of curiosity, how could you use the exported data?

@lianghao208
Copy link
Contributor Author

@jianhaiqing
This is an example:
Users need to recover data which has been deleted before, and the data has backup in a snapshot.

  1. Create a new cluster from the snapshot.
  2. Import the new cluster into kstone.
  3. Export the data and recreate it in the original etcd cluster to recover.
kubectl create -f exported-data.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants