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