We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a91368d commit 4917cf4Copy full SHA for 4917cf4
1 file changed
k8s/deployment.yaml
@@ -11,11 +11,10 @@ spec:
11
selector:
12
matchLabels:
13
app.kubernetes.io/name: light-object-detect
14
+ # Recreate strategy required: the HuggingFace cache PVC is
15
+ # ReadWriteOnce, so only one pod can mount it at a time.
16
strategy:
- type: RollingUpdate
- rollingUpdate:
17
- maxSurge: 1
18
- maxUnavailable: 0
+ type: Recreate
19
template:
20
metadata:
21
labels:
0 commit comments