Skip to content

How to Configure Monokle

In this tutorial, we will show the steps to configure the Monokle Environment.

Note: All settings are initialised with default values - there is no immediate need to change them.

Let’s get started!

1. Open Settings

Launch Monokle and click on the Settings button to access the Settings widget:

Settings

2. Set kubeconfig

Enter the kubeconfig file path in the KUBECONFIG text field. The kubeconfig parameter is used when viewing cluster resources and deploying/diffing local resources to a cluster.

Kubeconfig

Alternatively, you can click on the Browse button to fetch the kubeconfig file for configuring cluster access.

Browse

Select the required folder to configure the cluster.

Folders

Note: The kubectl command-line tool uses kubeconfig files to find the information for choosing a cluster and communicating with the API server.

3. Files: Include

Monokle will look for Kubernetes manifests in files matching this filter, by default this is set to .yaml/.yml files. Click on the Add Pattern button to include the files having the corresponding extension.

Add pattern

Enter the extension pattern in the Files Include textbox and click OK.

Ok

4. Files: Exclude

Monokle will ignore files/folders matching any of the specified paths, even if they match an above inclusion pattern. Click on the Add Pattern button to exclude the files having the corresponding extension. For example, node_modules.

Add pattern

Enter the extension pattern in the Files Exclude textbox and hit the OK button.

Ok

5. Helm Preview Mode

Click on the Helm Preview Mode dropdown to select any of the viewing states. The options for preview:

Helm

6. On Startup

Tick the Automatically Load Last Folder checkbox to reload the last reviewed folder when launching Monokle.

Startup

Questions or Comments?

Please feel free to join our open source community on Discord with this Invite Link and start your discussion.