Skip to content

Commit

Permalink
Merge pull request #1961 from yuvipanda/prometheus-nfs
Browse files Browse the repository at this point in the history
Track prometheus metrics from our NFS Server
  • Loading branch information
yuvipanda authored Nov 17, 2020
2 parents 3b514f3 + 930496d commit 1bb273a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions support/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
prometheus:
# We were using network tags to restrict NFS access to just nodes from hub-cluster
# However, it turns out packets coming from *pods* are *not* tagged with that, just from the nodes!
# I'm guessing this is an intersection of how GKE works? I'm not sure.
# Either way, I allowed TCP to port 9100 from 10.0.0.0/8 and it works fine.
extraScrapeConfigs: |
- job_name: prometheus-nfsd-server
static_configs:
- targets:
- nfsserver-01:9100
networkPolicy:
enabled: true
alertmanager:
Expand Down

0 comments on commit 1bb273a

Please sign in to comment.