The Navigator shows all resources found in the current project. Resources are grouped into sections/subsections based on their usage in Kubernetes. Selecting a resource automatically highlights both the file containing that resource and any other resourced linked to the selected one:
In this screenshot:
argo-rollouts-metricsservice is selected.
- The associated
argo-rollouts-metrics-service.yamlfile is highlighted to the left in the File Explorer.
- The linked
argo-rollouts-metricsDeployment (via the selector in the Service manifest) is highlighted.
- The Service manifest is shown in the Editor to the right (with highlighting of the link to the Deployment on line 16).
Links between resources are indicated by link icons to the left and right each resource name:
- Links to the left indicate there are incoming links to the resource. For example, a ConfigMap might have an incoming link from a Deployment.
- Links to the right indicate there are outgoing links from the resource. For example, a Service might have a selector that selects a Deployment.
Hovering over a link icon will show a popup with all links (either incoming or outgoing) allowing you to click on a link to take you to that resource in the navigator.
In the following image, the popup shows the outgoing link from the
argo-rollouts Service to the
(via the selector in the Service manifest).
If a link is "unfulfilled", i.e., not referring to any object currently in the navigator, it is marked with a warning triangle, making it easy to identify broken resource links in your manifests:
In this screenshot the
rollouts-demo-root RoleBinding contains a reference to an
rollouts-demo Role, which
doesn't exist in the current manifests. Clicking on broken links will open the corresponding reference in the editor so you
can easily fix it.
Resource filters allow you to filter the resources based on various properties such as:
Click on the filter button on the top of the navigator to launch the dialog for configuration.
Users can also add or remove filters by highlighting and hovering over labels, annotations or other metadata properties in the code editor:
The Quick Filter popup is available with the Cmd+P keyboard shortcut:
Reload Folder On Startup
You can choose to reload the last reviewed folder while launching Monokle. For this purpose, you will have to navigate to the Settings and simply tick the Automatically Load Last Folder checkbox.
You can easily navigate back and forth between the selected resources with the help of the Navigation button. The highlight arrow will indicate when navigation to previous or next resource is available.
In the resource navigator, clicking on the section name will expand or collapse individual sections.
The Recent Projects option has been added to the system menu to make it easy to switch between your favorite resource-manifest folders.
Action: File > Recent Projects
Supported Resource Links
Monokle currently finds and visualizes the following links between Kubernetes resources - please let us know if we missed something or got it wrong!
|Resource Type||Outgoing Link(s) identified|
|PodSpec in Deployment / Pod / DaemonSet / Job / StatefulSet / ReplicaSet / CronJob / ReplicationController||