Last active
December 16, 2021 17:33
-
-
Save krogebry/65460be69aaceb9339f19063252ace72 to your computer and use it in GitHub Desktop.
Ingress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: /$2 | |
name: ops | |
spec: | |
rules: | |
- host: ops.fqdn | |
http: | |
paths: | |
- backend: | |
service: | |
name: prometheus-operated | |
port: | |
name: web | |
path: /prom(/|$)(.*) | |
pathType: ImplementationSpecific | |
- backend: | |
service: | |
name: alertmanager-operated | |
port: | |
name: web | |
path: /alerts(/|$)(.*) | |
pathType: ImplementationSpecific | |
- backend: | |
service: | |
name: grafana | |
port: | |
name: web | |
path: /grafana(/|$)(.*) | |
pathType: ImplementationSpecific | |
tls: | |
- hosts: | |
- ops.fqdn | |
secretName: super-secret-cert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment