Skip to content

Commit

Permalink
add node_name lable to jobs metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimss committed Jun 30, 2024
1 parent 4a45bcf commit b0a849d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/mlops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ controlPlane:
readinessPeriodSeconds: 100
readinessTimeoutSeconds: 60
cnvrgScheduler:
enabled: false
enabled: true
requests:
cpu: 200m
memory: 1000Mi
Expand Down
4 changes: 3 additions & 1 deletion charts/optionals/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ istio:
# deploy istio CRDs & istiod
helmfile apply -lstage=istio-infra --wait
# deploy istio ingress controller
helmfile apply -lstage=istio-gateway --wait
helmfile apply -lstage=istio-gateway --wait
nginx:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.10.1/deploy/static/provider/cloud/deploy.yaml
1 change: 1 addition & 0 deletions charts/optionals/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ releases:
labels:
stage: istio-gateway


repositories:
- name: istio
url: https://istio-release.storage.googleapis.com/charts
3 changes: 3 additions & 0 deletions pkg/app/dbs/tmpl/prom/prometheus/scrapeconfigs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ data:
- source_labels: [__meta_kubernetes_namespace]
action: replace
target_label: namespace
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: node_name
kubernetes_sd_configs:
- role: pod
selectors:
Expand Down

0 comments on commit b0a849d

Please sign in to comment.