update nodes selection for sonarqube

This commit is contained in:
2024-07-27 02:13:52 +10:00
parent 3e8f0430ca
commit c16ef7c55e
3 changed files with 8 additions and 2 deletions

View File

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

View File

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

View File

@@ -31,4 +31,8 @@ spec:
- key: kubernetes.io/os
operator: In
values:
- linux
- linux
- key: kubernetes.io/hostname
operator: In
values:
- k3s-cluster-node-3