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
Loading
Loading
Loading
Loading
+4 −6
Changes for manifests/cockroachdb/cluster.yaml: 4 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -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
+0 −1
Changes for manifests/cockroachdb/operator.yaml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -381,7 +381,6 @@ spec:
    spec:
      containers:
      - args:
        # TESTING
        - -feature-gates=TolerationRules=true,AffinityRules=true,TopologySpreadRules=true
        - -zap-log-level
        - info
+0 −1
Changes for manifests/webuiservice.yaml: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -117,7 +117,6 @@ spec:
  - name: grafana
    port: 3000
    targetPort: 3000
# TESTING
---
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
+1 −1
Changes for my_deploy.sh: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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=""