diff --git a/README.md b/README.md index 2b36356..47c54e1 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ ![Alt Text](https://github.com/lucky-sideburn/KubeInvaders/blob/master/images/webui.png) +[Video HowTo of version v1.9](https://www.youtube.com/watch?v=wD7ngPlNEjY) + # Table of Contents 1. [Description](#Description) @@ -33,6 +35,9 @@ helm install kubeinvaders --set-string target_namespace="namespace1\,namespace2" ## Usage +### Watch YouTube How To +[Video How To of version v1.9](https://www.youtube.com/watch?v=wD7ngPlNEjY) + ### Show Special Keys Press 'h' or select 'Show Special Keys' from the menu. @@ -130,15 +135,16 @@ Please reach out for news, bugs, feature requests, and other issues via: ## Community blogs and videos - Kubernetes.io blog: [KubeInvaders - Gamified Chaos Engineering Tool for Kubernetes](https://kubernetes.io/blog/2020/01/22/kubeinvaders-gamified-chaos-engineering-tool-for-kubernetes/) -- Vasily Marmer:[Open Source solutions for chaos engineering in Kubernetes](https://blog.flant.com/chaos-engineering-in-kubernetes-open-source-tools/) -- Mathias Persson: [KubeInvaders - gamified chaos engineering](https://www.reeinvent.com/blog/kubeinvaders) +- DevNation RedHat Developer: [Twitter](https://twitter.com/sebi2706/status/1316681264179613707) +- Flant:[Open Source solutions for chaos engineering in Kubernetes](https://blog.flant.com/chaos-engineering-in-kubernetes-open-source-tools/) +- Reeinvent: [KubeInvaders - gamified chaos engineering](https://www.reeinvent.com/blog/kubeinvaders) - Adrian Goins: [K8s Chaos Engineering with KubeInvaders](https://www.youtube.com/watch?v=bxT-eJCkqP8) - dbafromthecold: [Chaos engineering for SQL Server running on AKS using KubeInvaders](https://dbafromthecold.com/2019/07/03/chaos-engineering-for-sql-server-running-on-aks-using-kubeinvaders/) -- Paul Klinker: [Gamification of Kubernetes Chaos Testing](https://pklinker.medium.com/gamification-of-kubernetes-chaos-testing-bd2f7a7b6037) +- Pklinker: [Gamification of Kubernetes Chaos Testing](https://pklinker.medium.com/gamification-of-kubernetes-chaos-testing-bd2f7a7b6037) - Openshift Commons Briefings: [OpenShift Commons Briefing KubeInvaders: Chaos Engineering Tool for Kubernetes](https://www.youtube.com/watch?v=3OOXOCTAYF0&t=4s) - Devoptribe.it: [In an awesome-kubernetes](https://devopstribe.it/archives/3254) - William Lam: [Interesting Kubernetes application demos](https://williamlam.com/2020/06/interesting-kubernetes-application-demos.html) ## License -KubeInvaders is licensed under the Apache License, Version 2.0. See [LICENSE](./LICENSE) for the full license text. \ No newline at end of file +KubeInvaders is licensed under the Apache License, Version 2.0. See [LICENSE](./LICENSE) for the full license text. diff --git a/helm-charts/kubeinvaders/README.md b/helm-charts/kubeinvaders/README.md index d8c81d6..cf43a33 100644 --- a/helm-charts/kubeinvaders/README.md +++ b/helm-charts/kubeinvaders/README.md @@ -19,3 +19,4 @@ helm install kubeinvaders --set-string target_namespace="namespace1\,namespace2" | image.tag | Specify tag of KubeInvaders to deploy | | ingress.hostName | URL used for ingress | | target_namespace | namespaces to take under control | +| extraEnv | Extra environment variables for pod | diff --git a/helm-charts/kubeinvaders/templates/deployment.yaml b/helm-charts/kubeinvaders/templates/deployment.yaml index 9801c13..7247552 100644 --- a/helm-charts/kubeinvaders/templates/deployment.yaml +++ b/helm-charts/kubeinvaders/templates/deployment.yaml @@ -22,15 +22,18 @@ spec: serviceAccountName: kubeinvaders containers: - env: - {{ if .Values.ingress.enabled }} + {{- if .Values.ingress.enabled }} - name: ENDPOINT value: {{ required ".Values.ingress.hostName is required if Ingress are enabled" .Values.ingress.hostName }} - {{ else }} + {{- else }} - name: ENDPOINT value: {{ required ".Values.route_host is required if Ingress are disabled" .Values.route_host }} - {{ end }} + {{- end }} - name: NAMESPACE value: {{ .Values.target_namespace }} + {{- if .Values.extraEnv }} +{{ toYaml .Values.extraEnv | indent 10 }} + {{- end }} name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} diff --git a/helm-charts/kubeinvaders/values.yaml b/helm-charts/kubeinvaders/values.yaml index 315fd80..2fbcb0a 100644 --- a/helm-charts/kubeinvaders/values.yaml +++ b/helm-charts/kubeinvaders/values.yaml @@ -39,13 +39,23 @@ ingress: enabled: true annotations: nginx.ingress.kubernetes.io/ssl-redirect: "true" - hostName: "" + hostName: "" tls: {} # Use route_host only if ingress is disabled route_host: "" legacyIngress: false + +extraEnv: [] +# extraEnv: +# - name: ALIENPROXIMITY +# value: "10" +# - name: HITSLIMIT +# value: "1" +# - name: UPDATETIME +# value: "0.5" + resources: {} nodeSelector: {} tolerations: []