Adding Clusters
Last updated
Last updated
In K8Studio, there are three ways of adding a cluster configuration.
Add cluster by providing YAML: If you have your YAML configuration, simply click on the plus button on the cluster manager toolbar. Once clicked, a context menu will appear. Choose the option "Add KubeConfig".
A window will appear with a YAML editor. Copy and paste your cluster configuration into the editor, then click save.
K8 Studio will parse the provided configuration and add the clusters to the list.
Add cluster by providing a configuration File(s) To add a cluster by providing a configuration file(s) in K8Studio, follow these steps
Click on the plus button on the main cluster manager toolbar. This will bring up a context menu.
Select 'Sync File(s)'. A file explorer window will appear.
Choose the file(s) that you want to import.
If the configuration does not contain any errors, K8Studio will add them to the cluster list.
One significant advantage of this method is that once you add a file, K8Studio will monitor these files for changes. So, if you modify the content, K8Studio will detect the changes and synchronize with the new configuration automatically.
Add cluster by providing a configuration Folder: To add a cluster by providing a configuration folder in K8Studio, follow these steps:
Click on the plus button on the main cluster manager toolbar. This will bring up a context menu.
Select 'Sync Folder'. A file explorer window will appear.
Choose the folder that you want to import.
K8Studio will read all the configuration files present within the selected folder and add these configurations to the list of available clusters in K8Studio.
One significant advantage of this method is that once you add a folder, K8Studio will monitor all the files under this folder for changes. So, if you modify the content of any of the files, K8Studio will detect the changes and synchronize with the new configuration automatically.