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: ...@@ -33,13 +33,11 @@ spec:
resources: resources:
requests: requests:
# This is intentionally low to make it work on local k3d clusters. # This is intentionally low to make it work on local k3d clusters.
# TESTING cpu: 4
cpu: 1 #4 memory: 4Gi
memory: 500Mi #4Gi
limits: limits:
# TESTING cpu: 8
cpu: 1 #8 memory: 8Gi
memory: 1Gi #8Gi
tlsEnabled: true tlsEnabled: true
# You can set either a version of the db or a specific image name # You can set either a version of the db or a specific image name
# cockroachDBVersion: v22.2.8 # cockroachDBVersion: v22.2.8
......
...@@ -381,7 +381,6 @@ spec: ...@@ -381,7 +381,6 @@ spec:
spec: spec:
containers: containers:
- args: - args:
# TESTING
- -feature-gates=TolerationRules=true,AffinityRules=true,TopologySpreadRules=true - -feature-gates=TolerationRules=true,AffinityRules=true,TopologySpreadRules=true
- -zap-log-level - -zap-log-level
- info - info
......
...@@ -117,7 +117,6 @@ spec: ...@@ -117,7 +117,6 @@ spec:
- name: grafana - name: grafana
port: 3000 port: 3000
targetPort: 3000 targetPort: 3000
# TESTING
--- ---
apiVersion: autoscaling/v2 apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
......
...@@ -108,7 +108,7 @@ export CRDB_DATABASE="tfs" ...@@ -108,7 +108,7 @@ export CRDB_DATABASE="tfs"
# Set CockroachDB installation mode to 'single'. This option is convenient for development and testing. # 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 # 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. # Disable flag for dropping database, if it exists.
export CRDB_DROP_DATABASE_IF_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