-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
executable file
·38 lines (34 loc) · 1.86 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# RELEASES.
kind_release="https://kind.sigs.k8s.io/dl/v0.23.0/kind-linux-amd64"
k8s_release="latest" # "latest" or in the format: kindest/node:v<version>@sha256:<sha>, see https://github.com/kubernetes-sigs/kind/releases
operator_release=https://github.com/RedisLabs/redis-enterprise-k8s-docs.git
logcollector_release=https://raw.githubusercontent.com/RedisLabs/redis-enterprise-k8s-docs/master/log_collector/log_collector.py
loadbalancer_release=https://raw.githubusercontent.com/metallb/metallb/v0.14.6/config/manifests/metallb-native.yaml
ingresscontroller_release_ingress_nginx=https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/cloud/deploy.yaml
ingresscontroller_release_haproxy_ingress=https://raw.githubusercontent.com/jcmoraisjr/haproxy-ingress/master/docs/haproxy-ingress.yaml
ingresscontroller_release_nginx_ingress="https://github.com/nginxinc/kubernetes-ingress.git --branch v3.6.1"
grafana_dashboards_release="https://github.com/redis-field-engineering/redis-enterprise-observability.git --branch main"
grafana_dashboards_folder="grafana/dashboards/grafana_v9-11/software/basic/"
metrics_server_release=https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/high-availability-1.21+.yaml
# SETTINGS.
## Kind/K8s
num_clusters=2
worker_nodes=3
control_nodes=1
## K8s infra
install_loadbalancer=yes
install_ingress=yes
ingresscontroller_type=ingress-nginx # options: ingress-nginx, haproxy-ingress, nginx-ingress
install_monitoring=no
install_dashboard=no
install_metrics=no
## Redis
patch_dns=yes
enable_admissioncontroller=yes
rackzone_aware=no
rackzone_zones=3
active_active=yes # WARNING: active_active will only work out of the box with install_ingress, install_loadbalancer & patch_dns = yes
## Apps
install_redisinsight=yes
install_benchmark=no # DISABLED by default as it generates load.