Kubernetes Reference Highlighter
Features
Suggestions
If a reference is not found, but a reference with a similar name exists, the extension will suggest using that instead.
Code Navigation
Clicking any filename in one of the hovering boxes will send the user to that file/folder.
Graph View (Experimental)
Running Kubernetes Reference Highlighter: Show Dependency Diagram
in the Command Palette will show a diagram of the references between Kubernetes resources.
Example
Reference Highlighting
Currently, the extension only supports scanning of Services
, Pods
, Deployments
, StatefulSets
, Jobs
, CronJobs
, Secrets
, and ConfigMaps
. More resources will be added at a later point.
All resources are namespace-sensitive. A resource will not be highlighted if the resource exists in another namespace.
Cluster Scanning
The extension calls the Kubernetes API of the user's current context and collects the names of all the objects the user has access to.
Workspace Scanning
The extension will collect the names of all the objects in the manifest files found in the open VSCode workspace.
Kustomize Scanning
The extension will run kustomize build
on all kustomization
-files in the open workspace and collect the names of all the objects found in the generated kustomize-output.
Helm Scanning
The extension will run helm template
on all helm charts in the open workspace and collect the names of all the objects found in the generated helm-output.
Kustomize Build
The extension will inform the user if the kustomize-file builds or not.
Note: If you have kustomize installed as a stand-alone binary in your PATH, the extension will use kustomize build
instead of kubectl kustomize
.
Helm Template
The extension will inform the user if the helm chart builds or not.
Issues and feature requests
Please open an issue on GitHub if you experience any issues or have ideas for future features.