diff --git a/Dockerfile_legacy b/Dockerfile_legacy deleted file mode 100644 index 5fcd581..0000000 --- a/Dockerfile_legacy +++ /dev/null @@ -1,52 +0,0 @@ -FROM nginx - -# Install kubectl - -RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -RUN chmod +x ./kubectl -RUN mv ./kubectl /usr/local/bin/kubectl - -# Install Openresty -RUN apt-get update -RUN apt-get -y install --no-install-recommends wget gnupg ca-certificates jq openssl task-spooler at -RUN wget -O - https://openresty.org/package/pubkey.gpg | apt-key add - -RUN codename=`grep -Po 'VERSION="[0-9]+ \(\K[^)]+' /etc/os-release` && echo "deb http://openresty.org/package/debian $codename openresty" | tee /etc/apt/sources.list.d/openresty.list -RUN apt-get update -RUN apt-get -y install openresty -RUN chmod 777 /usr/local/openresty/nginx - -# Install kube-linter -RUN curl -L -O https://github.com/stackrox/kube-linter/releases/download/0.1.5/kube-linter-linux.tar.gz -RUN tar -xvf kube-linter-linux.tar.gz -RUN rm -f kube-linter-linux.tar.gz -RUN cp kube-linter /usr/local/bin/ -RUN chmod 775 /usr/local/bin/kube-linter -COPY kube-linter/kube-linter-parser.sh /opt/kube-linter-parser.sh -RUN chmod +x /opt/kube-linter-parser.sh -# Install Redis -RUN apt-get install redis -y -COPY redis/redis.conf /etc/redis/redis.conf - -# Install KubeInvaders -COPY ./js-web/KubeInvaders /var/www/html - -# Configure Nginx -#RUN sed -i.bak 's/^user/#user/' /etc/nginx/nginx.conf -RUN sed -i.bak 's/listen\(.*\)80;/listen 8081;/' /etc/nginx/conf.d/default.conf - -COPY nginx/nginx.conf /etc/nginx/nginx.conf -COPY nginx/metrics.lua-script /tmp/metrics.lua -COPY chaos-node/chaos-node.lua-script /tmp/chaos-node.lua - -COPY nginx/KubeInvaders.templ /etc/nginx/conf.d/KubeInvaders.templ -COPY nginx/KubeInvaders_dev.templ /etc/nginx/conf.d/KubeInvaders_dev.templ - -RUN chmod g+rwx /var/cache/nginx /var/run /var/log/nginx /var/www/html /etc/nginx/conf.d/KubeInvaders.templ /etc/nginx/conf.d - - -EXPOSE 8080 - -ENV PATH=/usr/local/openresty/nginx/sbin:$PATH -COPY ./temporary_hack.sh / -RUN chmod a+rwx temporary_hack.sh -ENTRYPOINT ["/temporary_hack.sh"] diff --git a/README.md b/README.md index 73b2a50..214beba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/logo.png) +![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/images/logo.png) *Gamified chaos engineering and analysis tool for Kubernetes. It is like Space Invaders but the aliens are pods or worker nodes.* @@ -76,9 +76,9 @@ Example of metrics ![Download Grafana dashboard](https://github.com/lucky-sideburn/KubeInvaders/blob/master/grafana/KubeInvadersDashboard.json) -![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/grafana1.png) +![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/images/grafana1.png) -![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/grafana2.png) +![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/images/grafana2.png) ## Installation diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 2f7efbe..0000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-minimal \ No newline at end of file diff --git a/game.project b/game.project deleted file mode 100644 index a38f3b0..0000000 --- a/game.project +++ /dev/null @@ -1,28 +0,0 @@ -[bootstrap] -main_collection = /main/kubeinvaders.collectionc - -[project] -title = KubeInvaders -version = 1.0 -dependencies = - -[display] -variable_dt = 0 -fullscreen = 0 -update_frequency = 60 -width = 1920 -height = 1080 -high_dpi = 1 - -[script] -shared_state = 1 - -[html5] -scale_mode = fit -htmlfile = /builtins/manifests/web/engine_template.html -splash_image = /logo.png -show_made_with_defold = 0 - -[library] -include_dirs = - diff --git a/grafana.png b/images/grafana.png similarity index 100% rename from grafana.png rename to images/grafana.png diff --git a/grafana1.png b/images/grafana1.png similarity index 100% rename from grafana1.png rename to images/grafana1.png diff --git a/grafana2.png b/images/grafana2.png similarity index 100% rename from grafana2.png rename to images/grafana2.png diff --git a/logo.png b/images/logo.png similarity index 100% rename from logo.png rename to images/logo.png diff --git a/kubeinvaders-switch-namespace.gif b/kubeinvaders-switch-namespace.gif deleted file mode 100644 index af7cb24..0000000 Binary files a/kubeinvaders-switch-namespace.gif and /dev/null differ diff --git a/kubeinvaders.gif b/kubeinvaders.gif deleted file mode 100644 index cd9b15f..0000000 Binary files a/kubeinvaders.gif and /dev/null differ