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:


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.


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


Select the required folder to configure the cluster.


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.


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.


5. Helm Preview Mode

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


6. On Startup

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


Questions or Comments?

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