mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2025-09-06 02:30:43 +00:00
Clear History
This commit is contained in:
50
code/Makefile
Normal file
50
code/Makefile
Normal file
@@ -0,0 +1,50 @@
|
||||
# Cluster
|
||||
cluster-up::
|
||||
minikube start --cni calico
|
||||
|
||||
cluster-down::
|
||||
minikube delete
|
||||
|
||||
cluster-dash::
|
||||
minikube dashboard
|
||||
|
||||
cluster-env::
|
||||
# minikube docker-env | source
|
||||
eval $(minikube docker-env --shell bash)
|
||||
|
||||
# Namespace
|
||||
ns-up::
|
||||
kubectl create namespace simulator
|
||||
kubens simulator
|
||||
|
||||
ns-down::
|
||||
kubectl delete namespaces simulator
|
||||
|
||||
ns-reset:: ns-down ns-up
|
||||
|
||||
# Chaos Mesh
|
||||
chaos-up::
|
||||
curl -sSL https://mirrors.chaos-mesh.org/v2.5.1/install.sh | bash
|
||||
|
||||
chaos-dash::
|
||||
minikube service chaos-dashboard -n chaos-mesh
|
||||
|
||||
# CRD
|
||||
crd-up::
|
||||
kubectl apply -f ./crd/iluzio.yaml
|
||||
|
||||
# Docker
|
||||
docker::
|
||||
./images/build.sh
|
||||
|
||||
# General
|
||||
dash:
|
||||
$(MAKE) -j 2 cluster-dash chaos-dash
|
||||
|
||||
start:: cluster-up ns-up chaos-up crd-up docker dash
|
||||
|
||||
reset:: cluster-down start
|
||||
|
||||
operator-up::
|
||||
poetry install
|
||||
poetry run kopf run -n simulator src/main.py
|
Reference in New Issue
Block a user