mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
HA: changes 10
This commit is contained in:
@@ -19,7 +19,7 @@ metadata:
|
|||||||
# If you encounter a redirect loop or are getting a 307 response code
|
# If you encounter a redirect loop or are getting a 307 response code
|
||||||
# then you need to force the nginx ingress to connect to the backend using HTTPS.
|
# then you need to force the nginx ingress to connect to the backend using HTTPS.
|
||||||
#
|
#
|
||||||
# nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
|
||||||
# namespace: ente-photos
|
# namespace: ente-photos
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
@@ -33,7 +33,7 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: ha-svc
|
name: ha-svc
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 443
|
||||||
|
|
||||||
# TLS configuration for HTTPS
|
# TLS configuration for HTTPS
|
||||||
tls:
|
tls:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: app
|
- name: app
|
||||||
port: 80
|
port: 443
|
||||||
targetPort: 8123
|
targetPort: 8123
|
||||||
ipFamilies:
|
ipFamilies:
|
||||||
- IPv4
|
- IPv4
|
||||||
|
|||||||
Reference in New Issue
Block a user