Merge pull request #691 from 3dwardch3ng/misc

update nodes selection for sonarqube
This commit is contained in:
2024-07-27 02:14:08 +10:00
committed by GitHub
3 changed files with 8 additions and 2 deletions

View File

@@ -39,3 +39,5 @@ externalDatabase:
host: "postgresql-primary.argocd.svc.cluster.local" host: "postgresql-primary.argocd.svc.cluster.local"
user: "sonarqube_user" user: "sonarqube_user"
existingSecret: "sonarqube-secrets" existingSecret: "sonarqube-secrets"
nodeSelector:
kubernetes.io/hostname: k3s-cluster-node-3

View File

@@ -6,7 +6,7 @@ metadata:
labels: labels:
app: prometheus-node-exporter app: prometheus-node-exporter
spec: spec:
replicas: 4 replicas: 5
selector: selector:
matchLabels: matchLabels:
app: prometheus-node-exporter app: prometheus-node-exporter

View File

@@ -32,3 +32,7 @@ spec:
operator: In operator: In
values: values:
- linux - linux
- key: kubernetes.io/hostname
operator: In
values:
- k3s-cluster-node-3