Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the docs to include steps to delete the resources (nodepools and/or cluster) while cancelling the benchmark. #584

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
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
28 changes: 28 additions & 0 deletions prombench/docs/eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,31 @@ make node_create
```shell
make resource_apply
```

### Stopping a benchmarking test manually

---

- Set the following environment variables:
```
export AUTH_FILE=<path to yaml credentials file that was created>
export CLUSTER_NAME=prombench
export SEPARATOR=,
export EKS_WORKER_ROLE_ARN=<Amazon EKS worker node IAM role ARN>
export EKS_CLUSTER_ROLE_ARN=<Amazon EKS cluster role ARN>
export EKS_SUBNET_IDS=SUBNETID1,SUBNETID2,SUBNETID3
export ZONE=us-east-1
export PROVIDER=eks

export PR_NUMBER=<PR to benchmark against the selected $RELEASE>
```

- To delete just the nodepool (while keeping the cluster's main node intact), run:
```
make clean
```

- To delete everything (complete teardown of the entire cluster and all the resources), run:
```
make cluster_delete
```
25 changes: 25 additions & 0 deletions prombench/docs/gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,28 @@ make node_create
```
make resource_apply
```

### Stopping a benchmarking test manually

---

- Set the following environment variables:
```
export GKE_PROJECT_ID=<google-cloud project-id>
export CLUSTER_NAME=prombench
export ZONE=us-east1-b
export AUTH_FILE=<path to service-account.json>
export PROVIDER=gke

export PR_NUMBER=<PR to benchmark against the selected $RELEASE>
```

- To delete just the nodepool (while keeping the cluster's main node intact), run:
```
make clean
```

- To delete everything (complete teardown of the entire cluster and all the resources), run:
```
make cluster_delete
```