fix doc
@@ -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"]
|
||||
@@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
*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
|
||||
|
||||

|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
theme: jekyll-theme-minimal
|
||||
@@ -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 =
|
||||
|
||||
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 190 KiB |