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 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