---
# System prepended metadata

title: Create your first Gardener Kubernetes cluster

---

# Create your first Gardener Kubernetes cluster

1. Logon to the [Gardener Dashboard](https://dashboard.garden.canary.k8s.ondemand.com/login) and choose CREATE YOUR FIRST PROJECT.

![](https://i.imgur.com/0gAU1F3.png)


2. Provide a project Name, and optionally a Description, and a Purpose, and choose CREATE. 

**Note:** You will not be able to change the project Name later. The rest of the details are editable.

:bangbang: Since we are going to create only trial clusters it will not be charged. No need to input the cost center.



![](https://i.imgur.com/muQ2lS8.png)

3. The result will be similar to this.

![](https://i.imgur.com/fjefG3D.png)


4. In the dashboard navigation on the left, choose CLUSTERS, and then choose the plus button.

![](https://i.imgur.com/jxKVzVI.png)



5. In the **Infrastructure** section choose **AWS/GCP** for IaaS provider.
In the **Cluster Details** section of the configuration screen, change the autogenerated **Cluster Name**.
Make sure that the **trial secret** selected in the **Infrastructure Details > Secret** dropdown is ```trial-secretbinding-aws``` or ```trial-secretbinding-gcp``` 

**AWS**
![](https://i.imgur.com/YkxeaQS.png)


**OR GCP**

![](https://i.imgur.com/fpTJClW.png)




6. While the cluster is in creating state, you can go through the [gardener internal documentation](https://pages.github.tools.sap/kubernetes/gardener/docs/home/) and more about in https://gardener.cloud



## Accessing the cluster:


1. Install kubectl CLI: 

[Windows](https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/)
[MacOS](https://kubernetes.io/docs/tasks/tools/install-kubectl-macos/)

2. After few minutes  K8s cluster should be in ready state as below 

![](https://i.imgur.com/Ui5Rwu8.png)
 

3. Click on the action Key Icon to get the Kubeconfig. Copy to clipboard and store it in file or simply download it.


![](https://i.imgur.com/cJFeQLr.png)



![](https://i.imgur.com/VG76kKY.png)



4. MacOS users can simply perform 

```
export KUBECONFIG=<PATH to kubeconfig file>

```

Windows Users either you can do 

```
SET KUBECONFIG=<Path to kubeconfig file>
```
Or set it in the system environment variables.


5. Check if the cluster is accessible

```
kubectl cluster-info
```

![](https://i.imgur.com/MWUFv7E.png)

