kube/mysql-clusters/external.yaml

41 lines
613 B
YAML
Raw Normal View History

2023-08-16 07:39:20 +00:00
---
apiVersion: codemowers.cloud/v1beta1
kind: MysqlDatabaseClass
metadata:
name: external
annotations:
kubernetes.io/description: "External MySQL cluster"
spec:
reclaimPolicy: Retain
shared: true
---
apiVersion: v1
kind: Service
2023-09-02 08:00:30 +00:00
metadata:
name: primary-external
spec:
clusterIP: None
---
apiVersion: v1
kind: Service
2023-08-16 07:39:20 +00:00
metadata:
name: external
spec:
2023-09-02 08:00:30 +00:00
clusterIP: None
---
kind: Endpoints
apiVersion: v1
metadata:
name: primary-external
subsets:
- addresses:
- ip: 172.20.36.1
---
kind: Endpoints
apiVersion: v1
metadata:
name: external
subsets:
- addresses:
- ip: 172.20.36.1