From 474e18ae60d6388305a20e41ce61d70aa21fb781 Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Sat, 30 Sep 2023 18:50:34 +0200 Subject: [PATCH] Update README.md --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea8ea72..8232a02 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,30 @@ Through **k-inv** a.k.a. KubeInvaders you can stress a Kubernetes cluster in a f ## Installation -### Try with Docker (only for development purpose) - +### Run through Docker or Podman +#### Params +##### K8S_TOKEN +These are the permissions your service account must have +- apiGroups: [""] + resources: ["pods", "pods/log"] + verbs: ["delete"] +- apiGroups: ["batch", "extensions"] + resources: ["jobs"] + verbs: ["get", "list", "watch", "create", "update", "patch", "delete"] +- apiGroups: ["*"] + resources: ["*"] + verbs: ["get", "watch", "list"] +##### ENDPOINT +Host and web console port of kubeinvaders +##### INSECURE_ENDPOINT +Select http or https for web console +##### KUBERNETES_SERVICE_HOST +Ip or dns name of your control plane +##### KUBERNETES_SERVICE_PORT_HTTPS +TCP port listening to your controlplane +#### NAMESPACE +List the namespaces you want to stress or on which you want to see logs + ```bash docker run -p 8080:8080 \ --env K8S_TOKEN= \