Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Kubernetes Reference HighlighterNew to Visual Studio Code? Get it now.

Kubernetes Reference Highlighter

Dag Andersen

|
328 installs
| (4) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kubernetes Reference Highlighter

Features

  • Kubernetes Reference Highlighter
    • Features
      • Suggestions
      • Code Navigation
      • Graph View (Experimental)
        • Example
      • Reference Highlighting
        • Cluster Scanning
        • Workspace Scanning
        • Kustomize Scanning
        • Helm Scanning
      • Kustomize Build
      • Helm Template
    • Issues and feature requests

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.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft