This is the course repo for CMPT 756 (Spring 2022)
You will find resources for your assignments and term project here.
Note: This project has been developed on the local machine and not in the Ubuntu Container(./tools/shell.sh
).
- Install
istioctl
,kubectl
,eksctl
,helm
on your local machine. - Create a personal access token (PAT) for your GitHub account. You will need the three scopes: [read:packages], [write:packages] and [delete:packages]. Save your token in the file
cluster/ghcr.io-token.txt
- Instantiate configuration template:
- Make a copy of
tpl-vars-blank.txt
namedtpl-vars.txt
, in the same directory. - On the line starting
ZZ-REG-ID=
, append your GitHub userid.(Note that there are no spaces around the = sign.) - Similarly, fill
ZZ-AWS-REGION=us-west-2
,ZZ-AWS-ACCESS-KEY-ID=<access-key-of-your-acc>
,ZZ-AWS-SECRET-ACCESS-KEY=<secete-key-of-your-acc>
- Make a copy of
- Fill the
REGID=
with your GitHub userid indataminers.mak
$ make -f dataminers.mak initrepo
This step can take some time
$ make -f dataminers.mak starteks
$ make -f dataminers.mak initns
$ make -f dataminers.mak listeks
$ make -f dataminers.mak initdb
$ make -f dataminers.mak deploy
$ make -f dataminers.mak startsimulation NUM_OF_USERS=5
$ make -f dataminers.mak simulation-url
List the Simulation Docker Container
$ docker ps -a
Stop the containers running with ghcr.io/scp-2021-jan-cmpt-756/gatling:3.4.2
Image
$ docker stop <container-id>