update: argo mysql
parent
f0cbead23d
commit
b03b2f48bd
|
@ -8,13 +8,6 @@ spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
name: mysql
|
name: mysql
|
||||||
nodeAffinity:
|
|
||||||
required:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- key: kubernetes.io/hostname
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -41,6 +34,13 @@ spec:
|
||||||
- name: mysql-data-prod
|
- name: mysql-data-prod
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/prod/mysql
|
path: /data/prod/mysql
|
||||||
|
nodeAffinity:
|
||||||
|
required:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
Loading…
Reference in New Issue