From 2569774256a5f1ed5b55b7061a9b8823bd2b4c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ara=C3=BAjo?= <davidaraujo@av.it.pt> Date: Fri, 2 Feb 2024 13:52:55 +0000 Subject: [PATCH] NGINX and redeployall default variables set code refactoring NATS cluster complete Startup Probe failling in NATS cluster mode Cockroach cluster operator and NATS cluster mode Update Update scheduling policy for CRDB NATS cluster mode Testing CRDB cluster with node affinity Revert "Testing dynamic node resources" This reverts commit 856eb4799d2136697c721b387e6fca9fdcdbf5fd. Testing dynamic node resources NGINX and redeployall Update my_deploy.sh Update nginx_ingress_http.yaml Redeploy all fixed Add redeploy all feature --- manifests/cockroachdb/cluster.yaml | 10 ++++++---- manifests/cockroachdb/operator.yaml | 1 + my_deploy.sh | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/manifests/cockroachdb/cluster.yaml b/manifests/cockroachdb/cluster.yaml index bcb0c7049..fcc487d71 100644 --- a/manifests/cockroachdb/cluster.yaml +++ b/manifests/cockroachdb/cluster.yaml @@ -33,11 +33,13 @@ spec: resources: requests: # This is intentionally low to make it work on local k3d clusters. - cpu: 4 - memory: 4Gi + # TESTING + cpu: 1 #4 + memory: 500Mi #4Gi limits: - cpu: 8 - memory: 8Gi + # TESTING + cpu: 1 #8 + memory: 1Gi #8Gi tlsEnabled: true # You can set either a version of the db or a specific image name # cockroachDBVersion: v22.2.8 diff --git a/manifests/cockroachdb/operator.yaml b/manifests/cockroachdb/operator.yaml index d8e691308..0d578410c 100644 --- a/manifests/cockroachdb/operator.yaml +++ b/manifests/cockroachdb/operator.yaml @@ -381,6 +381,7 @@ spec: spec: containers: - args: + # TESTING - -feature-gates=TolerationRules=true,AffinityRules=true,TopologySpreadRules=true - -zap-log-level - info diff --git a/my_deploy.sh b/my_deploy.sh index 991c21e71..24da28a7c 100755 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -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="single" +export CRDB_DEPLOY_MODE="cluster" # Disable flag for dropping database, if it exists. export CRDB_DROP_DATABASE_IF_EXISTS="" -- GitLab