---
name: containers-cs_cluster_access
title: Accessing clusters
description: After your IBM Cloud&reg; Kubernetes Service cluster is created, you can connect to it using several methods depending on your cluster type, network configuration, and use case. If you're not sure which method applies to you, start by identifying your cluster's infrastructure type and whether it has a public service endpoint (see Choosing an access method below).
last-updated: 2026-08-25
---

> ## Documentation Index
> The table of contents for this documentation set is at https://cloud.ibm.com/docs/containers?format=markdown
> The index for all IBM Cloud docs is at: https://cloud.ibm.com/docs/llms.txt
> Use these files to discover more information as needed.

# Accessing clusters
{: #access_cluster}
{: help}
{: support}

After your IBM Cloud&reg; Kubernetes Service cluster is created, you can connect to it using several methods depending on your cluster type, network configuration, and use case. If you're not sure which method applies to you, start by identifying your cluster's infrastructure type and whether it has a public service endpoint (see [Choosing an access method](#access-method-choose) below).
{: shortdesc}

## Before you begin
{: #access-prereqs}

1. [Install the required CLI tools](https://cloud.ibm.com/docs/containers?topic=containers-cli-install&format=markdown), including the IBM Cloud CLI, Kubernetes Service plug-in (`ibmcloud ks`), and Kubernetes CLI (`kubectl`). For quick access to test features in your cluster, you can also use [IBM Cloud Shell](https://cloud.ibm.com/docs/containers?topic=containers-cli-install&format=markdown).
1. If you haven't created a cluster yet, [create one now](https://cloud.ibm.com/docs/containers?topic=containers-clusters&format=markdown). Otherwise, proceed to the next step.
1. If your network is protected by a company firewall, [allow access](https://cloud.ibm.com/docs/containers?topic=containers-firewall&format=markdown#corporate) to the IBM Cloud and IBM Cloud Kubernetes Service API endpoints and ports.
1. Check that your cluster is in a healthy state by running `ibmcloud ks cluster get -c <cluster_name_or_ID>`. If your cluster is not in a healthy state, review the [Debugging clusters](https://cloud.ibm.com/docs/containers?topic=containers-debug_clusters&format=markdown) guide for help.

## Choosing an access method
{: #access-method-choose}

The right access method depends on your cluster infrastructure type, whether your cluster has a public or private service endpoint, and your network connectivity.

Not sure which type you have? In the IBM Cloud console, go to **Kubernetes → Clusters**, click your cluster, and check the **Infrastructure** field on the Overview tab — it shows **VPC**, **Classic**, or **Satellite**. To check whether your cluster has a public or private service endpoint, look at the **Public Service Endpoint URL** and **Private Service Endpoint URL** fields on the same page, or run `ibmcloud ks cluster get -c <cluster_name_or_ID>` and check those fields in the output.
{: tip}

| Access method | Cluster type | Use when |
| --- | --- | --- |
| [Public cloud service endpoint](https://cloud.ibm.com/docs/containers?topic=containers-cluster-access-public&format=markdown) | Classic, VPC | Your cluster has a public endpoint and you are connecting from outside the IBM Cloud network |
| [Private cloud service endpoint — VPC](https://cloud.ibm.com/docs/containers?topic=containers-cluster-access-private-vpc&format=markdown) | VPC | Your cluster is private-only and you are connected to the VPC network through a VPN or Direct Link connection |
| [Private cloud service endpoint — Classic](https://cloud.ibm.com/docs/containers?topic=containers-access-private-classic&format=markdown) | Classic | Your cluster is private-only and you are connected to the classic private network |
| [Virtual Private Endpoint (VPE) gateway](https://cloud.ibm.com/docs/containers?topic=containers-cluster-access-vpe&format=markdown) | VPC | Your VPC cluster uses VPE for private master connectivity |
| [API key or service ID](https://cloud.ibm.com/docs/containers?topic=containers-cluster-access-automation&format=markdown) | All | Automated pipelines and non-interactive scripts |
| [Accessing private clusters by using the WireGuard VPN](https://cloud.ibm.com/docs/containers?topic=containers-cluster-access-wireguard&format=markdown) | Classic, VPC | You want to access a private-only cluster from outside IBM Cloud using a WireGuard VPN |
| [Admission controller webhooks](https://cloud.ibm.com/docs/containers?topic=containers-access_webhooks&format=markdown) | All | You need to allow cluster access for admission controller webhooks |
{: caption="Cluster access methods" caption-side="bottom"}