Skip to content
Snippets Groups Projects
Commit 6df82fd8 authored by David José Araújo Ferreira's avatar David José Araújo Ferreira Committed by David José Araújo Ferreira
Browse files

CRDB and NATS cluter mode

Restore default values
parent 25697742
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!226Resolve "Testing configurations for DDOS protection"
......@@ -33,13 +33,11 @@ spec:
resources:
requests:
# This is intentionally low to make it work on local k3d clusters.
# TESTING
cpu: 1 #4
memory: 500Mi #4Gi
cpu: 4
memory: 4Gi
limits:
# TESTING
cpu: 1 #8
memory: 1Gi #8Gi
cpu: 8
memory: 8Gi
tlsEnabled: true
# You can set either a version of the db or a specific image name
# cockroachDBVersion: v22.2.8
......
......@@ -381,7 +381,6 @@ spec:
spec:
containers:
- args:
# TESTING
- -feature-gates=TolerationRules=true,AffinityRules=true,TopologySpreadRules=true
- -zap-log-level
- info
......
......@@ -117,7 +117,6 @@ spec:
- name: grafana
port: 3000
targetPort: 3000
# TESTING
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
......
......@@ -108,7 +108,7 @@ export CRDB_DATABASE="tfs"
# Set CockroachDB installation mode to 'single'. This option is convenient for development and testing.
# See ./deploy/all.sh or ./deploy/crdb.sh for additional details
export CRDB_DEPLOY_MODE="cluster"
export CRDB_DEPLOY_MODE="single"
# Disable flag for dropping database, if it exists.
export CRDB_DROP_DATABASE_IF_EXISTS=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment