GitOps Tools for Visual Studio Code
Weaveworks GitOps Tools Extension provides an intuitive way to manage, troubleshoot and operate your Kubernetes environment following the GitOps operating model. GitOps accelerates your development lifecycle and simplifies your continuous delivery pipelines. The extension is built on Flux (a CNCF open source project). To learn more about the Flux GitOps toolkit, visit fluxcd.io
Use this extension to visualize, configure and debug Flux objects (sources and workloads) needed for GitOps workflows. For example, with this extension you can create a Flux
Your feedback is very important to us! Please help us by submitting issues for bugs, enhancements and share with us how you are using the extension.
There are a few requirements before installing and using the extension:
Once you have satisfied these requirements you can find and install GitOps Tools in the Extension Marketplace by searching for "fluxcd" or "gitops".
This extension uses two different methods to get information from the Kubernetes cluster. It preferentially will run
Video / Demo
We presented Flux and the GitOps Tools extension to our widest audience yet, the VSCode Live Stream! Follow this video link to learn about a new feature integration we built into the extension: Weave GitOps Enterprise Templates.
Tree Views and Resources
(Clusters, Sources and Workflows tree views;
Configure GitOps View
(Configure GitOps view is used to create sources and workloads)
(Right clicking in the Explorer view to create Flux objects from folders)
You can access GitOps tools check, CLI dependendency versions, Clusters, Sources and Workloads views Focus, Refresh and other commands by typing
The extension uses several CLI commands that must be installed and available in your system
You will need the
For users running clusters in Azure including AKS and Arc clusters, the
If the extension needs one of the core Kubernetes tools and they are missing, it will prompt you to install them.
The GitOps Tools Extension depends on the Kubernetes Tools extension, which will be installed automatically if you don't already have it.
Weave GitOps Enterprise (WGE) Templates
WGE users can access GitOpsTemplates directly from this extensions. Templates are provided by cluster administrators (Platform Teams) and can be used to quickly create cluster and configure applications with GitOps.
Templates are an opt-in feature that must be enabled in setting:
After that they can be seen in a new 'Templates' view. Right-click a template to use it:
There are no clusters showing in my Clusters pane
We rely on the Kubernetes extension to discover and connect to clusters. If you are having issues accessing or viewing your cluster, follow the documentation provided by the Kubernetes extension.
Confirm that your configuration context shows in a terminal running
Switching from an unreachable cluster context to a working cluster
Unreachable or laggy clusters can create long running that cluster resource queries that finish after switching to a working cluster context. This can lead to the slow cluster data overwriting the current cluster treeview. Clusters -> Refresh button will reinitialize the views with current data. Timeout settings can be adjusted under GitOps section in VSCode Settings.
Timeouts and flux check warnings
The extension has timeout options that can make be adjusted in VSCode settings to match your cluster network constraints. The default timeout for any data query operation is 60 seconds.
Data and Telemetry
The GitOps Tools Extension for Visual Studio Code collects usage data and sends it to Weaveworks to help improve our products and services. Read our privacy statement to learn more. This extension respects the
VSCodium user can search and install from the VSCodium Open-VSX extension registry.