update: argo mysql

main
ycz008 2023-08-18 15:30:10 +08:00
parent f0cbead23d
commit b03b2f48bd
1 changed files with 7 additions and 7 deletions

View File

@ -8,13 +8,6 @@ spec:
replicas: 1
selector:
name: mysql
nodeAffinity:
required:
nodeSelectorTerms:
- key: kubernetes.io/hostname
operator: In
values:
- bfs-k8snode-10-2-2-6.hetzner.base.beaconfireinc.com
template:
metadata:
labels:
@ -41,6 +34,13 @@ spec:
- name: mysql-data-prod
hostPath:
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
kind: Service