diff --git a/dev-upgrade/yapi/yapi.yaml b/dev-upgrade/yapi/yapi.yaml index e2cbddf..f93af84 100644 --- a/dev-upgrade/yapi/yapi.yaml +++ b/dev-upgrade/yapi/yapi.yaml @@ -23,7 +23,22 @@ spec: - name: http containerPort: 3000 protocol: TCP - + volumeMounts: + - name: yapi-log + mountPath: /yapi/log + volumes: + - name: yapi-log + hostPath: + path: /data/yapi/log + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: "kubernetes.io/hostname" + operator: In + values: + - bfs-k8snode-10-2-0-15.hetzner.base.beaconfireinc.com --- apiVersion: v1 kind: Service