This repository contains load testing scripts for AWS and GCP platforms, along with deployment files for a Mattermost Docker preview application and Kubernetes deployment.
- Load Testing Scripts: Scripts for load, smoke, spike, and stress testing on AWS and GCP.
- Mattermost Docker Preview: Files required to build and deploy the Mattermost Docker image.
- Kubernetes Deployment: YAML file for deploying the application on any Kubernetes cluster.
These include:
- Load Testing
- Smoke Testing
- Spike Testing
- Stress Testing
The folder mattermost-docker-preview contains all files needed to build the Docker image.
Edit the docker build command based on your machine architecture. For example:
docker buildx build --platform=linux/amd64 -t test-mattermost:latest .The latest image of the application is available on Docker Hub: https://hub.docker.com/repository/docker/siva1998/elg-5164-mattermost/general
- Pull the K6 Docker image:
docker pull grafana/k6- Run your test script (example with
scriptgcp.js):
docker run --rm -i grafana/k6 run - < scriptgcp.jsThe file deployment-kube.yaml can be used to deploy the application to any Kubernetes cluster.
kubectl apply -f deployment-kube.yamlTo monitor your Kubernetes cluster, you can install the New Relic agent using Helm. Follow the steps outlined in the official New Relic documentation for detailed instructions.
If you have any questions or need further assistance, feel free to open an issue.