---
# System prepended metadata

title: Accessing Testnet/Staging K8S cluster

---

# Accessing Testnet/Staging K8S cluster

## Purpose

This guideline is describing a way to connect and deal with testnet/staging kubernetes cluster. On this cluster you can find our testnet bee cluster and you can bring up your own staff.

## Prerequisites

In order to successfully access kubernetes cluster you need:

* [github account](https://github.com/)
* your github account is member of `testnet-k8s-rw` group within [ethersphere github organization](https://github.com/ethersphere)
* valid and active connection to [testnet VPN server](https://hackmd.io/ZO2zlaxuTgeQJmlNYjT-sA)
* web browser
* permissions to install software on your device (If you don't have already installed **kubectl**)

## Steps

1. Visit http://k8s.testnet.internal
2. If you are redirected to github page (if not go to next step) authenticate yourself and grant appropriate permissions to it: 

    ![](https://i.imgur.com/BiDoJdM.png)
    *Figure 1.*


3. Grant permissions on [dex page](https://dex.testnet.ethswarm.org):

    ![](https://i.imgur.com/0iucaOF.png)
    *Figure 2.*


4. After auto redirection to http://k8s.testnet.internal go to bottom paragraph

    ![](https://i.imgur.com/WfRN0ZW.png)
    *Figure 3.*


5. If you don't have [installed kubectl client](https://kubernetes.io/docs/tasks/tools/) installed select your OS (on screenshot marked by green) and visit link from the section **Install and Set Up kubectl** (marked blue)
6. In order to set up kubectl for accessing the kubernetes cluster just copy and execute 5 commands (marked by red) in the order from top to the bottom in your terminal :)

## Tips

- If you switched kubectl to work with some other cluster (changed context) and you want to use testnet/staging again run command marked by yellow from *Figure 3.* while you are connected to the VPN server. 
