we-re traefik now
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#https://raw.githubusercontent.com/haproxytech/kubernetes-ingress/master/deploy/haproxy-ingress.yaml
|
||||
#https://www.haproxy.com/documentation/kubernetes/latest/installation/community/kubernetes/
|
||||
#
|
||||
# NOTES: Image is not from haproxytech, no arm64 imgs
|
||||
# NOTES: Images are not from haproxytech, no arm64 imgs
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
@@ -80,7 +80,8 @@ metadata:
|
||||
name: haproxy
|
||||
namespace: haproxy-controller
|
||||
data:
|
||||
|
||||
forwarded-for: "true"
|
||||
load-balance: "leastconn"
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
@@ -101,7 +102,8 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: ingress-default-backend
|
||||
image: gcr.io/google_containers/defaultbackend:1.0
|
||||
#image: gcr.io/google_containers/defaultbackend:1.4
|
||||
image: starlingx4arm/defaultbackend:1.5-aarch64
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
||||
|
||||
@@ -100,6 +100,8 @@ apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gitea
|
||||
annotations:
|
||||
ingress.kubernetes.io/whitelist-x-forwarded-for: "true"
|
||||
spec:
|
||||
rules:
|
||||
- host: git-ui.lan
|
||||
|
||||
@@ -91,4 +91,3 @@ spec:
|
||||
- backend:
|
||||
serviceName: hassio
|
||||
servicePort: http
|
||||
path: /
|
||||
|
||||
@@ -127,8 +127,6 @@ apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: pihole
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /admin/$1
|
||||
spec:
|
||||
rules:
|
||||
- host: pihole.lan
|
||||
@@ -137,7 +135,6 @@ spec:
|
||||
- backend:
|
||||
serviceName: pihole-tcp
|
||||
servicePort: http
|
||||
path: /(.*)
|
||||
pathType: ImplementationSpecific
|
||||
---
|
||||
apiVersion: v1
|
||||
|
||||
@@ -78,4 +78,3 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 6Gi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user