Kubectl Shell

Configure and access the kubectl shell from within the DuploCloud Portal

This feature provides an alternative to downloading a kubeconfig and installing kubectl locally. It opens a fully configured shell within a browser tab, equipped with kubectl and an associated kubeconfig. This convenient setup allows you to quickly access your Kubernetes clusters directly from the DuploCloud Portal, with no need for downloading or configuring files on your machine.

Enabling kubectl shell in the DuploCloud Platform

For EKS, kubectl is already enabled in the DuploCloud Platform. Once the EKS infrastructure is ready, you can navigate to Kubernetes -> Services in the DuploCloud platform and use the KubeCtl menu options to view the kubectl token, settings, and configuration details.

To set up the kubectl shell in DuploCloud for GKE and AKS users, see the links below.

You can also obtain Just-In-Time (JIT) access to Kubernetes by using duplo-jit. See the JIT Access documentation for detailed information about:

• Obtaining JIT access using the UI and CLI.

• Installing duplo-jit using various tools.

• Getting credentials for AWS access interactively or with an API token.

• Accessing the AWS Console.

Accessing kubectl Shell from the DuploCloud Portal

Use kubectl to access the Kubernetes cluster for your Tenant namespace.

  1. From the Tenant list box, select the correct Tenant.

  2. Navigate to Kubernetes -> Services.

  3. Click on the Service name from the NAME column.

  4. From the KubeCtl options, select KubeCtl Shell. A shell instance will launch, allowing you to interact with the Kubernetes cluster directly using kubectl commands.

Last updated

Logo

© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates