feat(ingress): Move to nginx ingress
This commit is contained in:
parent
7b8482cddc
commit
b657037848
@ -1,16 +1,18 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: grafana-ingress
|
||||
namespace: monitoring
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik-inter"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`grafana.entos`)
|
||||
services:
|
||||
- name: grafana-svc
|
||||
port: 80
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
- host: grafana.entos
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: grafana-svc
|
||||
port:
|
||||
number: 80
|
||||
|
@ -1,16 +1,18 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: prometheus-ingress
|
||||
namespace: monitoring
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik-inter"
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`prometheus.entos`)
|
||||
services:
|
||||
- name: prometheus-svc
|
||||
port: 9090
|
||||
ingressClassName: nginx-internal
|
||||
rules:
|
||||
- host: prometheus.entos
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: prometheus-svc
|
||||
port:
|
||||
number: 9090
|
||||
|
Loading…
Reference in New Issue
Block a user