Hydrate Extension for Visual Studio CodeOverviewThis is the Visual Studio Code Hydrate extension, which builds upon the VSCode Kubernetes Extension. It allows developers to use Hydrate within VSCode, which crawls a Kubernetes cluster and generates a high level description in a Instead of running Hydrate from the command line and entering flags and options manually, this extension allows users to select a Kubernetes cluster and run Hydrate within VSCode. Install the Extension!First, make sure that you have Docker set up (the extension runs Hydrate on Docker). Next, download the extension here. If you do not have the VSCode Kubernetes Extension installed, it will automatically be installed during the Hydrate extension installation. A window reload is required after installation. Navigate to the Kubernetes view by clicking the Kubernetes icon in the sidebar. Right-click the cluster you would like to run Hydrate on, and select Note: all clusters displayed in the sidebar are associated with the same For example, the results of running a verbose dry-run: Testing the ExtensionFirst, clone the repo locally by running the following command:
There are two ways to run tests:
Then, navigate to the Debugger view in the sidebar. Click the dropdown next to the green 'play' button, and click Dependencies
ContributingThis project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments. |