The kube-scope-weave
extension add Weave Scope functionality to the core VS Code Kubernetes extension experience.
Scope is a tool for visualizing and interacting with your Kubernetes applications that works against any Kubernetes cluster. This extension, which depends upon the VS Code Kubernetes extension for core Kubernetes support, enables:
- installing Weave Scope using the Helm stable Weave Scope chart.
- opening Scope to the appropriate context at:
- Cluster
- Node
- Namespace
- Service
- Pod
- First of all, get all the prerequisites:
- Helm + Tiller
- VS Code Kubernetes extension - its API is used to create new behavior inside the core Kubernetes experience without having to rewrite any Kubernetes client
- Clone this repo and run
npm install
to have all the dependencies installed - Open the project in VS Code and hit F5 to run a new instance with Scope plugin support
- Run
Scope: Install Weave Scope
command (bring the command panel up withCtrl+Shift+P
) - Now open the Kubernetes extension - the Open Weave Scope action should appear in the dropdown when right-clicking on the cluster or some of the individual K8s resources
See the this doc for more information on how to run and test VS Code extensions.
- Detection of existing Scope installations is done by looking for the
frontend
endpoint in the current namespace. If it cannot be found, a new installation is created. - Currently, the default namespace is used in the Kubernetes extension. This will be a selection in the future.
Users appreciate release notes as you update your extension.
First published version.
- In the command palette, you can locate Scope: Install Weave Scope if you want to manually install Weave Scope yourself.
- Right clicking Weave scope will check and install Scope if it's not already installed.
Initial release of the extension.