HA: changes 9

This commit is contained in:
Ruben Hensen
2024-12-24 15:00:10 +01:00
parent a848adc8ea
commit 750934bf05
2 changed files with 3 additions and 8 deletions
+2 -4
View File
@@ -1,12 +1,10 @@
apiVersion: v1
kind: Endpoints
metadata:
name: ha-endpoint
app.kubernetes.io/name: ha-endpoint
name: app
subsets:
- addresses:
- ip: 192.168.1.202
ports:
- name: app
port: 8123
protocol: TCP
port: 8123
+1 -4
View File
@@ -1,15 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: ha-svc
name: app
spec:
ports:
- name: app
port: 80
protocol: TCP
targetPort: 8123
selector:
app.kubernetes.io/name: ha-endpoint
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack