on-internet
← Community

Kubectl command failed: VS CODE - Plugin Kubernetes Extension Linux

Stack Overflow ·

In Vs-Code the plugin "KUBERNETES" shows the error (Kubectl command failed) when it tries to load the kubernetes that are loaded/running in my host (Linux - Ubuntu). Correction in VS-Code using Kubernetes extension (CMD/CTRL + SHIFT + P) Search for: Open User Settings (JSON) click on Preferences: Open User Settings (JSON) add "vs-kubernetes.enable-snap-flag": true and save the file "settings.json" Capture of the solution when Kubernetes does not recognize the cluster in the host (Linux) I found the solution here: https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/issues/522#iss

Comments

Sign in or sign up to comment and upvote.

No comments yet.