This project is intended to test an application's resiliency through various chaos experiments. The chosen testing application is taken from https://github.com/mreferre/yelb. You can refer to the original documentation for understanding of Yelb's functions and architecture.
This picture shows the overall setup:
Using minikube, create the cluster with 3 nodes and with sufficient memory. Below shows the kubernetes cluster architecture.
minikube start --driver=virtualbox --no-vtx-check --nodes 3 -p test --memory 3086
Enable the respective addons to the minikube cluster.
minikube -p test addons enable ingress
minikube -p test addons enable metrics-server
Apply the dashboard and create a service account
and rbac
for dashboard admin.
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
kubectl apply -f dashboard-admin.yaml
Access the dashboard at :
The picture below shows the architecture of Yelb:
Deploy Yelb to the cluster in the application
namespace
kubectl create ns application
kubectl apply -f .\Kubernetes\yaml\ -n application
Edit hosts file to add yelb.domain.com
kubectl get ing -n application