Skip to content

Commit

Permalink
Updating the docs to include steps to delete the resources (nodepools…
Browse files Browse the repository at this point in the history
… and/or cluster) while cancelling the benchmark. (#584)

Signed-off-by: saketjajoo <[email protected]>
  • Loading branch information
saketjajoo authored Jul 11, 2023
1 parent 5c54432 commit b839cb7
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
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
```

0 comments on commit b839cb7

Please sign in to comment.