From 7d5d7e0a15f83b9a8b9069a09163b45e7045c15e Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Sat, 25 Jan 2025 10:26:03 +0100 Subject: [PATCH] fix doc --- README.md | 355 +++++++++++++++++++++++++++++------------------ html5/custom.css | 0 html5/custom.js | 0 html5/index.html | 0 4 files changed, 221 insertions(+), 134 deletions(-) create mode 100644 html5/custom.css create mode 100644 html5/custom.js create mode 100644 html5/index.html diff --git a/README.md b/README.md index 7f667ad..3e595a9 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,9 @@ Backed by the teams at [platformengineering.it](https://platformengineering.it) # Table of Contents 1. [Description](#Description) -2. [Installation](#Installation) +2. [Installation - Helm with ClusterIP Service + Nginx Ingress](#Installation-default) +2. [Installation - Helm with NodePort Service](#Installation-nodeport) +2. [Installation - Using Podman or Docker](#Installation-podman) 3. [Usage](#Usage) 4. [URL Monitoring During Chaos Session](#URL-Monitoring-During-Chaos-Session) 5. [Persistence](#Persistence) @@ -31,7 +33,224 @@ Backed by the teams at [platformengineering.it](https://platformengineering.it) With **k-inv**, you can stress a K8s cluster in a fun way and check how resilient it is. -## Installation +## Installation-default + +If you need a lab kubernetes cluster you can use this setup via Make and Minikube. Follow [this readme](./minikube-setup/README.md) + +[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/kubeinvaders)](https://artifacthub.io/packages/search?repo=kubeinvaders) + +```bash +# Please be sure to use kubeinvaders-1.9.8 that is ne latest helm chart version! + +helm repo add kubeinvaders https://lucky-sideburn.github.io/helm-charts/ +helm repo update + +kubectl create namespace kubeinvaders + +# With ingress and TLS enabled +helm install --set-string config.target_namespace="namespace1\,namespace2" --set ingress.enabled=true --set ingress.hostName=kubeinvaders.local --set deployment.image.tag=latest -n kubeinvaders kubeinvaders kubeinvaders/kubeinvaders --set ingress.tls_enabled=true + +# With ingress enabled but TLS disabled (in case you have a reverse-proxy that does TLS termination and nginx controller in http) +helm install --set-string config.target_namespace="namespace1\,namespace2" --set ingress.enabled=true --set ingress.hostName=kubeinvaders.local --set deployment.image.tag=latest -n kubeinvaders kubeinvaders kubeinvaders/kubeinvaders/ --set ingress.tls_enabled=false + +``` + +### Example for K3S + +```bash +curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="--disable traefik" sh -s - + +cat >/tmp/ingress-nginx.yaml <deployment.yaml </tmp/ingress-nginx.yaml <deployment.yaml <