support yapi upgrade
parent
402cf07163
commit
a441a1f74c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue