Skip to content

Commit 835f3a1

Browse files
Describe interNamespaceAccessLabels and link to docs
1 parent f312c7d commit 835f3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/administrator/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for information about the versions of relevant software packages.
2727

2828
## Metrics scraping with prometheus or vmagent
2929

30-
Network policy needs to be modified in order for prometheus or vmagent to be able to reach the metrics endpoint. Working example configuration is as follows:
30+
Network policy needs to be modified in order for prometheus or vmagent to be able to reach the metrics endpoint. The recommended way is by setting [interNamespaceAccessLabels=accept](https://z2jh.jupyter.org/en/stable/resources/reference.html#hub-networkpolicy-internamespaceaccesslabels). This makes the hub pod's associated NetworkPolicy accept ingress from pods in other namespaces that have specific access labels.```
3131

3232
```yaml
3333
hub:

0 commit comments

Comments
 (0)