mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
HA: changes 3
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -26,12 +26,13 @@ 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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user