# Kubectl Shell

## Accessing the KubeCtl Shell in the DuploCloud Portal

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

In the DuploCloud Portal, navigate to **Kubernetes** -> **Containers**. Click on the menu icon (<img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FxLkcUNKntyMJKGrP7Wad%2Fmenu%20icon.png?alt=media&#x26;token=c4f245e3-80f8-4573-a7c8-7d4233e7d1be" alt="" data-size="line">) in the row of the Infrastructure for which you want to view the shell, and select **Container Shell**. The bash shell displays.

<figure><img src="https://2471407984-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F68cb0s9ce5UIUKWPuYs8%2Fuploads%2FEr1GocwKYAbKvr0EtFMw%2Fimage.png?alt=media&#x26;token=d10c3bb4-182b-46d0-9094-72760cc5afe1" alt=""><figcaption><p>Bash shell for entering copied <code>kubectl</code> commands</p></figcaption></figure>
