HA: changes 3

This commit is contained in:
Ruben Hensen
2024-12-24 14:48:31 +01:00
parent 9e2d6aff10
commit f4070385d5
3 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Endpoints kind: Endpoints
metadata: metadata:
name: external-ip name: ha-endpoint
subsets: subsets:
- addresses: - addresses:
- ip: 192.168.1.202 - ip: 192.168.1.202
+7 -6
View File
@@ -26,13 +26,14 @@ spec:
rules: rules:
- host: ha.hensen.io - host: ha.hensen.io
http: http:
paths: - path: /
- backend:
serviceName: external-ip
servicePort: 80
path: /
pathType: Prefix pathType: Prefix
backend:
service:
name: ha-svc
port:
number: 80
# TLS configuration for HTTPS # TLS configuration for HTTPS
tls: tls:
# TLS secretName used on ClusterIssuer # TLS secretName used on ClusterIssuer
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: external-ip name: ha-svc
spec: spec:
ports: ports:
- name: app - name: app