mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
HA: changes 3
This commit is contained in:
1 parent
9e2d6aff10
commit
f4070385d5
3 files changed
+9
-8
No files matched your search
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: external-ip
|
||||
name: ha-endpoint
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.1.202
|
||||
|
||||
@@ -26,13 +26,14 @@ spec:
|
||||
rules:
|
||||
- host: ha.hensen.io
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: external-ip
|
||||
servicePort: 80
|
||||
path: /
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
|
||||
backend:
|
||||
service:
|
||||
name: ha-svc
|
||||
port:
|
||||
number: 80
|
||||
|
||||
# TLS configuration for HTTPS
|
||||
tls:
|
||||
# TLS secretName used on ClusterIssuer
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: external-ip
|
||||
name: ha-svc
|
||||
spec:
|
||||
ports:
|
||||
- name: app
|
||||
|
||||
Reference in new issue
Block a user