From 791c5792d49329cf67775311a2fea1fd6c035069 Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Thu, 20 Oct 2022 23:39:53 +0200 Subject: [PATCH] try new feature... --- Dockerfile | 1 + html5/index.html | 107 +++++++++++++++------- html5/kubeinvaders.js | 18 ++++ nginx/KubeInvaders.conf | 2 +- scripts/programming_mode.lua | 6 ++ scripts/programming_mode/example.yaml | 40 -------- scripts/programming_mode/experiments.yaml | 53 +++++++++++ scripts/programming_mode/start.py | 51 ++++++----- 8 files changed, 180 insertions(+), 98 deletions(-) delete mode 100644 scripts/programming_mode/example.yaml create mode 100644 scripts/programming_mode/experiments.yaml diff --git a/Dockerfile b/Dockerfile index 4c6429f..6cb3a17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,6 +48,7 @@ COPY scripts/node.lua /usr/local/openresty/nginx/conf/kubeinvaders/node.lua COPY scripts/kube-linter.lua /usr/local/openresty/nginx/conf/kubeinvaders/kube-linter.lua COPY scripts/chaos-node.lua /usr/local/openresty/nginx/conf/kubeinvaders/chaos-node.lua COPY scripts/chaos-containers.lua /usr/local/openresty/nginx/conf/kubeinvaders/chaos-containers.lua +COPY scripts/programming_mode.lua /usr/local/openresty/nginx/conf/kubeinvaders/programming_mode.lua COPY scripts/config_kubeinv.lua /usr/local/openresty/lualib/config_kubeinv.lua COPY nginx/KubeInvaders.conf /etc/nginx/conf.d/KubeInvaders.conf RUN chmod g+rwx /var/cache/nginx /var/run /var/log/nginx /var/www/html /etc/nginx/conf.d diff --git a/html5/index.html b/html5/index.html index 33d6564..5c26694 100644 --- a/html5/index.html +++ b/html5/index.html @@ -118,16 +118,27 @@
- +
-

KubeInvaders

+
- + +
+
+ - - +
-