From 4c5381c865ffb9b6bbcb72263bd7d7323e8b74b9 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Tue, 19 Oct 2021 14:36:37 -0400 Subject: [PATCH] changed ingress to haproxy ingress --- nagios_ingress.yml | 4 ++-- nagios_ingress.yml-old | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 nagios_ingress.yml-old diff --git a/nagios_ingress.yml b/nagios_ingress.yml index 148e223..ad73fd7 100644 --- a/nagios_ingress.yml +++ b/nagios_ingress.yml @@ -1,10 +1,10 @@ --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: nagios annotations: - kubernetes.io/ingress.class: traefik + kubernetes.io/ingress.class: haproxy spec: rules: - host: nagios.lan diff --git a/nagios_ingress.yml-old b/nagios_ingress.yml-old new file mode 100644 index 0000000..148e223 --- /dev/null +++ b/nagios_ingress.yml-old @@ -0,0 +1,19 @@ +--- +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: nagios + annotations: + kubernetes.io/ingress.class: traefik +spec: + rules: + - host: nagios.lan + http: + paths: + - path: / + pathType: Prefix + backend: + serviceName: nagios + servicePort: 80 + +# EOF