From 333892ffca4d47e31e95f416fdf8c16e3bd31947 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Thu, 5 Sep 2024 15:22:04 +1000 Subject: [PATCH] multiple updates --- apps/nexus/base/deployment.yaml | 8 ++++---- apps/sonarqube/env/k3s-cluster/values.yaml | 2 +- .../argo-events/env/k3s-cluster/kustomization.yaml | 12 ++++++------ .../env/k3s-cluster/{config.json.bak => config.json} | 0 infrastructures/minio/env/k3s-cluster/values.yaml | 2 +- .../env/k3s-cluster/node-exporter.yaml | 2 +- .../env/k3s-cluster/templates/sonarqube-pv.yaml | 2 +- .../env/k3s-cluster/{config.json => config.json.bak} | 0 8 files changed, 14 insertions(+), 14 deletions(-) rename infrastructures/metallb-conf/env/k3s-cluster/{config.json.bak => config.json} (100%) rename resources/configmaps/env/k3s-cluster/{config.json => config.json.bak} (100%) diff --git a/apps/nexus/base/deployment.yaml b/apps/nexus/base/deployment.yaml index 0b3b44a..0237297 100644 --- a/apps/nexus/base/deployment.yaml +++ b/apps/nexus/base/deployment.yaml @@ -21,11 +21,11 @@ spec: image: klo2k/nexus3:3.68.1-02 resources: limits: - memory: "3Gi" - cpu: "1" + memory: "6Gi" + cpu: "6" requests: - memory: "2Gi" - cpu: "500m" + memory: "4Gi" + cpu: "4" ports: - containerPort: 8081 volumeMounts: diff --git a/apps/sonarqube/env/k3s-cluster/values.yaml b/apps/sonarqube/env/k3s-cluster/values.yaml index 1e3fb76..fa78013 100644 --- a/apps/sonarqube/env/k3s-cluster/values.yaml +++ b/apps/sonarqube/env/k3s-cluster/values.yaml @@ -40,4 +40,4 @@ externalDatabase: user: "sonarqube_user" existingSecret: "sonarqube-secrets" nodeSelector: - kubernetes.io/hostname: k3s-cluster-node-3 + kubernetes.io/hostname: k3s-cluster-node-y diff --git a/infrastructures/argo-events/env/k3s-cluster/kustomization.yaml b/infrastructures/argo-events/env/k3s-cluster/kustomization.yaml index 0c244a4..9eb39a3 100644 --- a/infrastructures/argo-events/env/k3s-cluster/kustomization.yaml +++ b/infrastructures/argo-events/env/k3s-cluster/kustomization.yaml @@ -2,9 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../base - - ./examples/eventbus.yaml - - ./examples/event-source.yaml - - ./examples/ingress.yaml - - ./examples/sensor.yaml - - ./examples/workflow.yaml - - ./examples/webhook.yaml \ No newline at end of file +# - ./examples/eventbus.yaml +# - ./examples/event-source.yaml +# - ./examples/ingress.yaml +# - ./examples/sensor.yaml +# - ./examples/workflow.yaml +# - ./examples/webhook.yaml \ No newline at end of file diff --git a/infrastructures/metallb-conf/env/k3s-cluster/config.json.bak b/infrastructures/metallb-conf/env/k3s-cluster/config.json similarity index 100% rename from infrastructures/metallb-conf/env/k3s-cluster/config.json.bak rename to infrastructures/metallb-conf/env/k3s-cluster/config.json diff --git a/infrastructures/minio/env/k3s-cluster/values.yaml b/infrastructures/minio/env/k3s-cluster/values.yaml index e9af075..2de4d1c 100644 --- a/infrastructures/minio/env/k3s-cluster/values.yaml +++ b/infrastructures/minio/env/k3s-cluster/values.yaml @@ -7,7 +7,7 @@ auth: rootUserSecretKey: "root_user" rootPasswordSecretKey: "root_password" nodeSelector: - kubernetes.io/hostname: k3s-cluster-node-2 + kubernetes.io/hostname: k3s-cluster-node-y service: type: LoadBalancer ports: diff --git a/infrastructures/prometheus-exporters/env/k3s-cluster/node-exporter.yaml b/infrastructures/prometheus-exporters/env/k3s-cluster/node-exporter.yaml index ae6ab1c..39885ef 100644 --- a/infrastructures/prometheus-exporters/env/k3s-cluster/node-exporter.yaml +++ b/infrastructures/prometheus-exporters/env/k3s-cluster/node-exporter.yaml @@ -6,7 +6,7 @@ metadata: labels: app: prometheus-node-exporter spec: - replicas: 5 + replicas: 6 selector: matchLabels: app: prometheus-node-exporter diff --git a/resources/app-volumes/env/k3s-cluster/templates/sonarqube-pv.yaml b/resources/app-volumes/env/k3s-cluster/templates/sonarqube-pv.yaml index 0c8e249..3783dd4 100644 --- a/resources/app-volumes/env/k3s-cluster/templates/sonarqube-pv.yaml +++ b/resources/app-volumes/env/k3s-cluster/templates/sonarqube-pv.yaml @@ -35,4 +35,4 @@ spec: - key: kubernetes.io/hostname operator: In values: - - k3s-cluster-node-3 \ No newline at end of file + - k3s-cluster-node-y \ No newline at end of file diff --git a/resources/configmaps/env/k3s-cluster/config.json b/resources/configmaps/env/k3s-cluster/config.json.bak similarity index 100% rename from resources/configmaps/env/k3s-cluster/config.json rename to resources/configmaps/env/k3s-cluster/config.json.bak