roles/observability-agent/files/setup.sh: update
This commit is contained in:
parent
fa3832f084
commit
b27901df79
@ -41,9 +41,10 @@ fluent-bit:
|
||||
EOF
|
||||
|
||||
node_name=`kubectl get nodes | awk 'NR>1 {print $1}'`
|
||||
kubectl create namespace monitoring || echo true
|
||||
kubectl label nodes $node prometheus=true --overwrite || echo true
|
||||
helm repo add stable https://artifact.onwalk.net/chartrepo/public/ || echo true
|
||||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts || echo true
|
||||
helm repo update
|
||||
helm upgrade --install node-exporter prometheus-community/prometheus-node-exporter
|
||||
helm upgrade --install observableagent stable/observabilityagent -n monitoring --create-namespace -f values.yaml
|
||||
helm upgrade --install observableagent stable/observabilityagent -n monitoring -f values.yaml
|
||||
helm upgrade --install node-exporter prometheus-community/prometheus-node-exporter -n monitoring
|
||||
|
||||
Loading…
Reference in New Issue
Block a user