In this repository we add scaling techniques to the EPI framework setup to demonstrate scaling capabilities under stress test experiments.
Deploying secvices; here we assume you have a kubernetes master and worker nodes running and configured
$ cd EPI-services
$ kubectl apply -f decrypt.yaml #BF1 = The decryption server
$ kubectl apply -f encrypt.yaml #BF2 = The encryption server
# cpu requests and limits in firewall.yaml are set with low numbers in experimental environments
$ kubectl apply -f firewall.yaml #BF3 = The firewall server
$ kubectl apply -f proxy.yaml #The SOCKS proxy
$ kubectl apply -f socat.yaml #The end server $ pipenv install click socksx
$ pipenv shell
$ cd Scripts
$ locust -f ./locust.py --headless -u <number of clients> -r <spawn rate> -H <destination IP>- to collect latency;
- This folder can be run on any node to collect latency and expose to other nodes;
- to generate workloads;
- This folder can be run on any node to transmit requests;