Mirantis / mke-docs

https://mirantis.github.io/mke-docs/
0 stars 14 forks source link

add docs for mkectl config get command #193

Closed sakshisharma84 closed 6 days ago

sakshisharma84 commented 1 week ago

Add a new page for config get command under https://github.com/Mirantis/mke-docs/tree/main/content/docs/getting-started.

Here is the rough content.

---
title: Get current MKE config
weight: 6
---

Run the `config get` command to retrieve the current MKE configuration from an existing MKE-4 cluster.

```shell
mkectl --kubeconfig ~/.mke/mke.kubeconf config get

Use cases
- When a user makes configuration changes to MKE through the MKE4 UI or kubectl, they can use this command to fetch the current MKE configuration, ensuring they apply it with mkectl apply. This prevents local configurations from overwriting the changes.
- If the MKE-4 config file is accidentally lost, this command provides the current MKE configuration, allowing for recovery.
KoryKessel-Mirantis commented 6 days ago

Created https://github.com/Mirantis/mke-docs/pull/207 and will close the issue.