Using the Kubernetes Explorer

Accessing the Kubernetes Explorer

For easier management of Kubernetes resources, you can use the Kubernetes explorer, accessible from the Activity bar on the left under the Cloud Code view Kubernetes Explorer icon.

With the Kubernetes Explorer, you can access information about your clusters, set an active cluster, add a secret as an environment variable, stream and view logs, decode secrets, and more.

Kubernetes Explorer icon highlighted in the IDE Activity bar

Basic actions

The Kubernetes Explorer is powered by kubectl. It's an easier way to access your Kubernetes clusters and run a variety of commands on them. With the Explorer, you can carry out the following functions on your Kubernetes resources:

  • Copy Resource Name: Copy the resource name to the clipboard.
  • Describe: Run a kubectl describe on the resource.
  • Delete: Delete the resource.

    Basic Kubernetes Explorer functions

Resource specific actions


  • Set as active cluster: Set specified cluster as active to use it as the default cluster.

    Setting an active cluster with Kubernetes Explorer

  • Open Dashboard: Open the Kubernetes Dashboard for the specified cluster.

    Opening the Kubernetes Dashboard for a cluster


  • Set as active context: Set specified context as active to use it as the default context.

    Setting an active context with Kubernetes Explorer


  • Add Secret as Environment Variable: Add an existing Kubernetes secret to the deployment as an environment variable.

    Adding secret as an environment variable

  • Mount Secret as Volume: Mount an existing Kubernetes secret as a volume in the deployment's container.

    Mounting secret as volume


  • Stream Logs: Stream logs from a pod. If there are multiple containers in the pod, you will be asked to select one.

    Streaming Logs from a pod

  • View Logs: View logs from a pod. If there are multiple containers in the pod, you will be asked to select one.

    Viewing Logs from a pod


  • Stream Logs: Stream logs from a container.

    Streaming Logs from a container

  • View Logs: View logs from a container.

    Viewing Logs from a container

  • Get Terminal: Open an interactive terminal to the container.

    Opening a terminal from a container


  • For an external IP object, you can click on its Open Address button to open the address in a web browser.

    Opening an external IP address in a browser


  • Clicking on a secret object will display the decoded secret as a file.

Getting Support

To send feedback, report issues on GitHub, or ask a question on Stack Overflow.