mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
HA: changes 12
This commit is contained in:
@@ -33,7 +33,7 @@ spec:
|
|||||||
service:
|
service:
|
||||||
name: ha-svc
|
name: ha-svc
|
||||||
port:
|
port:
|
||||||
number: 443
|
number: 80
|
||||||
|
|
||||||
# TLS configuration for HTTPS
|
# TLS configuration for HTTPS
|
||||||
tls:
|
tls:
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: app
|
name: ha-svc
|
||||||
spec:
|
spec:
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: app
|
||||||
ports:
|
ports:
|
||||||
- name: app
|
- name: http
|
||||||
port: 443
|
protocol: TCP
|
||||||
targetPort: 8123
|
port: 80
|
||||||
# ipFamilies:
|
targetPort: 8123
|
||||||
# - IPv4
|
externalIPs:
|
||||||
# ipFamilyPolicy: SingleStack
|
- 192.168.1.202
|
||||||
# clusterIP: None
|
|
||||||
# type: ClusterIP
|
|
||||||
Reference in New Issue
Block a user