fix: use Recreate strategy for single-replica RWO PVC workloads (gitea, runner)
This commit is contained in:
@@ -89,6 +89,9 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- git.lunarfront.tech
|
- git.lunarfront.tech
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
role: system
|
role: system
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,8 @@ metadata:
|
|||||||
namespace: runner
|
namespace: runner
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: gitea-runner
|
app: gitea-runner
|
||||||
|
|||||||
Reference in New Issue
Block a user