Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
063226b1
Commit
063226b1
authored
Sep 04, 2017
by
Johannes 'fish' Ziemke
Committed by
GitHub
Sep 04, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #821 from prometheus/fish/add-k8s-ingrss
Add k8s ingress discovery
parents
f227c8e8
f15d9429
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
configuration.md
content/docs/operating/configuration.md
+16
-0
No files found.
content/docs/operating/configuration.md
View file @
063226b1
...
...
@@ -653,6 +653,22 @@ Available meta labels:
*
If the endpoints belong to a service, all labels of the
`role: service`
discovery are attached.
*
For all targets backed by a pod, all labels of the
`role: pod`
discovery are attached.
#### `ingress`
The
`ingress`
role discovers a target for each path of each ingress.
This is generally useful for blackbox monitoring of an ingress.
The address will be set to the host specified in the ingress spec.
Available meta labels:
*
`__meta_kubernetes_namespace`
: The namespace of the ingress object.
*
`__meta_kubernetes_ingress_name`
: The name of the ingress object.
*
`__meta_kubernetes_ingress_label_<labelname>`
: The label of the ingress object.
*
`__meta_kubernetes_ingress_annotation_<annotationname>`
: The annotation of the ingress object.
*
`__meta_kubernetes_ingress_scheme`
: Protocol scheme of ingress,
`https`
if TLS
config is set. Defaults to
`http`
.
*
`__meta_kubernetes_ingress_path`
: Path from ingress spec. Defaults to
`/`
.
See below for the configuration options for Kubernetes discovery:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment