From 61df1dfb31ccc0933a576e2b0482d3579b690c53 Mon Sep 17 00:00:00 2001 From: Eugenio Marzo Date: Sun, 24 Jan 2021 20:20:06 +0100 Subject: [PATCH] fix dock --- README.md | 8 +++++--- redis/values.yaml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ab73f1b..bb12f6d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ 1. [Description](#Description) 2. [Special Input Keys and features](#Special-Input-Keys-and-features) 3. [Installation](#Installation) -4. [Prometheus Metrics - Make sense of Kubeinvaders!](#Metrics) +4. [Prometheus Metrics](#Metrics) 5. [Notes for large clusters](#Notes-for-large-clusters) 6. [Configuration](#Configuration) @@ -57,11 +57,13 @@ git clone https://github.com/lucky-sideburn/KubeInvaders.git kubectl create namespace kubeinvaders +# Install Redis for exposing Prometheus Metrics +helm install redis bitnami/redis -n kubeinvaders -f redis/values.yaml + helm install kubeinvaders --set-string target_namespace="namespace1\,namespace2" \ --namespace kubeinvaders ./helm-charts/kubeinvaders \ ---set ingress.hostName=kubeinvaders.io +--set ingress.hostName=kubeinvaders.io --set REDIS_HOST=redis-master ``` - ### Install client on your workstation The easiest way to install KubeInvaders is on your workstation but if you choose this method you cannot use kube-linter feature directly from the game. Follow this guide: diff --git a/redis/values.yaml b/redis/values.yaml index 1b5c98a..2174ce4 100644 --- a/redis/values.yaml +++ b/redis/values.yaml @@ -42,7 +42,7 @@ image: ## Cluster settings cluster: enabled: false - slaveCount: 3 + slaveCount: 1 ## Use redis sentinel in the redis pod. This will disable the master and slave services and ## create one redis service with ports to the sentinel and the redis instances @@ -385,7 +385,7 @@ master: ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ ## persistence: - enabled: true + enabled: false ## The path the volume will be mounted at, useful when using different ## Redis images. path: /data