Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/simplymathematics/deckard i…
Browse files Browse the repository at this point in the history
…nto update-pod.yaml
  • Loading branch information
simplymathematics committed Nov 26, 2023
2 parents e98bd2c + d369ad5 commit 74874e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deckard/iaac/gcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ sudo apt-get update && sudo apt-get install google-cloud-cli
1-We then create the cluster called `k8s-cluster`. This cluster will be installed in `europe-west4` in GCP regions.
```
gcloud container clusters create k8s-cluster \
--region europe-west4 --num-nodes 1 --no-enable-autoupgrade
--zone europe-west4-a --num-nodes 1 --no-enable-autoupgrade
```

2- In order to manage the Kubernetes cluster we need to [install `kubectl`](https://kubernetes.io/docs/tasks/tools/#kubectl).

3- Then run the following command to get the credentials:
```
gcloud container clusters get-credentials k8s-cluster \
--region europe-west4
--zone europe-west4-a
```

After this step you should now be able to access kubernetes cluster, give it a try by simply running the following:
Expand All @@ -50,7 +50,7 @@ gke-k8s-cluster-default-pool-feae82f2-zfsj Ready <none> 5m v1.27.3-gke
```
gcloud container node-pools create k8s-node-pool \
--accelerator type=nvidia-tesla-v100,count=1,gpu-driver-version=default \
--region europe-west4 --cluster k8s-cluster \
--zone europe-west4-a --cluster k8s-cluster \
--machine-type n1-standard-2 \
--num-nodes 1 \
--min-nodes 1 \
Expand Down

0 comments on commit 74874e7

Please sign in to comment.