<p>Can we apply/delete kubernetes YAML files in IntelliJ IDEA/Visual Studio Code by right clicking on the YAML file and then choosing apply/delete/..?</p>

user674669
<p>You can install <a href="https://marketplace.visualstudio.com/items?itemName=ms-kubernetes-tools.vscode-kubernetes-tools" rel="nofollow noreferrer">Kubernetes extension</a> for VS Code and new k8s related commands will appear in Command Pallete.</p>

<p>For example <code>Kubernetes: Apply</code> - executes <code>kubectl apply</code> for currently active file. You can also bind hotkeys to these commands.</p>

<p><a href="https://i.stack.imgur.com/WpgOL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WpgOL.png" alt="enter image description here"></a></p>
