Skip to content

Commit 00607ac

Browse files
eschwartzividito
authored andcommitted
Update GCP Setup instructions
Instructions are missing some steps that are necessary to setup the cluster
1 parent 456bfff commit 00607ac

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

docs/gcp-gke.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Here's an example command to create a cluster. See the [gcloud docs](https://clo
4444

4545
You might need to iterate on the command above, so to delete the cluster:
4646
```
47-
gcloud container clusters delete my-cluster --zone=us-central1-a
47+
gcloud container clusters delete sandbox --zone=us-central1-a
4848
```
4949

5050
# Enable CSI Driver
@@ -55,6 +55,32 @@ CSI Driver is required for persistent volumes to be mounted to pods. You can ena
5555
gcloud container clusters update sandbox --update-addons=GcePersistentDiskCsiDriver=ENABLED --zone=us-central1-a
5656
```
5757

58+
# Connect to Your Cluster
59+
60+
See [GKE docs for installing and authenticating with kubectl](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin)
61+
62+
See [docs for installing Helm](https://helm.sh/docs/intro/install/)
63+
64+
Configure kubectl to connect to your GKE cluster:
65+
66+
```
67+
gcloud container clusters get-credentials sandbox \
68+
--region=us-central1-a
69+
```
70+
71+
To test the connection, run:
72+
73+
```
74+
kubectl get nodes
75+
```
76+
77+
You should see something like:
78+
79+
```
80+
NAME STATUS ROLES AGE VERSION
81+
gke-eoapi-test-default-pool-94a2b7e7-vg4f Ready <none> 5m v1.31.5-gke.1233000
82+
```
83+
5884
# Install NGINX Ingress Controller
5985

6086
NGINX Ingress Controller can be installed through `helm` using the following command:
@@ -68,13 +94,17 @@ See the [NGINX Ingress Controller docs](https://kubernetes.github.io/ingress-ngi
6894

6995
# Install Cert Manager
7096

71-
Cert Manager can be installed through `helm` using the following command:
97+
Cert Manager can be installed through `helm` using the following commands:
7298
```
99+
helm repo add jetstack https://charts.jetstack.io
100+
101+
helm repo update
102+
73103
helm upgrade --install cert-manager jetstack/cert-manager \
74104
--namespace cert-manager \
75105
--create-namespace \
76106
--version v1.12.0 \
77107
--set installCRDs=true
78108
```
79109

80-
Now we are ready to install eoapi. See the [eoapi installation instructions](../README.md/#helm-installation) for more details.
110+
Now we are ready to install eoapi. See the [eoapi installation instructions](../README.md/#helm-installation) for more details.

0 commit comments

Comments
 (0)