Obtain the current MKE 4 configuration file#
To obtain the current mke4.yaml configuration file for your MKE 4 cluster, run:
mkectl --kubeconfig ~/.mke/mke.kubeconf config get
There are numerous reasons why you may need to procure the mke4.yaml configuration file, including:
-
To make changes to your
mke4.yamlconfiguration file using the MKE 4 Dashboard or kubectl, you can obtain the currentmke4.yamlconfiguration file and edit the settings as needed. Following this, you can runmkectl applyto apply the new settings, without the danger of the local configurations overwriting the changes. -
In the event that the
mke4.yamlconfiguration file is lost or becomes corrupted.