Skip to content

Commit 5b48aae

Browse files
authored
Add ingress object for Grafana metrics (#35525)
1 parent 6150cce commit 5b48aae

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
apiVersion: networking.k8s.io/v1
17+
kind: Ingress
18+
metadata:
19+
name: beam-metrics-ingress
20+
annotations:
21+
kubernetes.io/ingress.global-static-ip-name: beam-metrics-grafana-ip
22+
kubernetes.io/ingress.allow-http: "true"
23+
labels:
24+
app: beam-metrics
25+
spec:
26+
rules:
27+
- host: "metrics.beam.apache.org"
28+
http:
29+
paths:
30+
- path: "/*"
31+
pathType: ImplementationSpecific
32+
backend:
33+
service:
34+
name: beamgrafana
35+
port:
36+
number: 80

0 commit comments

Comments
 (0)