Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 35 additions & 3 deletions docs/gcp-gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Here's an example command to create a cluster. See the [gcloud docs](https://clo

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

# Enable CSI Driver
Expand All @@ -55,10 +55,38 @@ CSI Driver is required for persistent volumes to be mounted to pods. You can ena
gcloud container clusters update sandbox --update-addons=GcePersistentDiskCsiDriver=ENABLED --zone=us-central1-a
```

# Connect to Your Cluster

See [GKE docs for installing and authenticating with kubectl](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#install_plugin)

See [docs for installing Helm](https://helm.sh/docs/intro/install/)

Configure kubectl to connect to your GKE cluster:

```
gcloud container clusters get-credentials sandbox \
--region=us-central1-a
```

To test the connection, run:

```
kubectl get nodes
```

You should see something like:

```
NAME STATUS ROLES AGE VERSION
gke-eoapi-test-default-pool-94a2b7e7-vg4f Ready <none> 5m v1.31.5-gke.1233000
```

# Install NGINX Ingress Controller

NGINX Ingress Controller can be installed through `helm` using the following command:
```
kubectl create ns eoapi

helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace eoapi
Expand All @@ -68,13 +96,17 @@ See the [NGINX Ingress Controller docs](https://kubernetes.github.io/ingress-ngi

# Install Cert Manager

Cert Manager can be installed through `helm` using the following command:
Cert Manager can be installed through `helm` using the following commands:
```
helm repo add jetstack https://charts.jetstack.io

helm repo update

helm upgrade --install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--version v1.12.0 \
--set installCRDs=true
```

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