Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
db6a5131
Unverified
Commit
db6a5131
authored
3 years ago
by
Sang Le
Browse files
Options
Downloads
Patches
Plain Diff
Fix ingress rules for api networking.k8s.io/v1
parent
836fa4f0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/ingress.jsonnet
+15
-3
15 additions, 3 deletions
examples/ingress.jsonnet
with
15 additions
and
3 deletions
examples/ingress.jsonnet
+
15
−
3
View file @
db6a5131
...
...
@@ -54,10 +54,14 @@ local kp =
host
:
'alertmanager.example.com'
,
http
:
{
paths
:
[{
path
:
'/'
,
pathType
:
'Prefix'
,
backend
:
{
service
:
{
name
:
'alertmanager-main'
,
port
:
'web'
,
port
:
{
name
:
'web'
},
},
},
}],
...
...
@@ -71,10 +75,14 @@ local kp =
host
:
'grafana.example.com'
,
http
:
{
paths
:
[{
path
:
'/'
,
pathType
:
'Prefix'
,
backend
:
{
service
:
{
name
:
'grafana'
,
port
:
'http'
,
port
:
{
name
:
'http'
},
},
},
}],
...
...
@@ -88,10 +96,14 @@ local kp =
host
:
'prometheus.example.com'
,
http
:
{
paths
:
[{
path
:
'/'
,
pathType
:
'Prefix'
,
backend
:
{
service
:
{
name
:
'prometheus-k8s'
,
port
:
'web'
,
port
:
{
name
:
'web'
},
},
},
}],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment