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 apiVersion: v1
kind: Endpoints kind: Endpoints
metadata: metadata:
name: ha-endpoint name: app
app.kubernetes.io/name: ha-endpoint
subsets: subsets:
- addresses: - addresses:
- ip: 192.168.1.202 - ip: 192.168.1.202
ports: ports:
- name: app - name: app
port: 8123 port: 8123
protocol: TCP
+1 -4
View File
@@ -1,15 +1,12 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ha-svc name: app
spec: spec:
ports: ports:
- name: app - name: app
port: 80 port: 80
protocol: TCP
targetPort: 8123 targetPort: 8123
selector:
app.kubernetes.io/name: ha-endpoint
ipFamilies: ipFamilies:
- IPv4 - IPv4
ipFamilyPolicy: SingleStack ipFamilyPolicy: SingleStack