mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2026-11-11 00:40:07 +01:00
fix: Add Recreate strategy to Kubernetes deployment (#1306)
This commit is contained in:
1 parent
d807a365ff
commit
6944293a32
2 files changed
+3
-3
No files matched your search
@@ -25,6 +25,4 @@ jobs:
|
|||||||
failure-threshold: warning
|
failure-threshold: warning
|
||||||
-
|
-
|
||||||
name: Validate JSON and YML files
|
name: Validate JSON and YML files
|
||||||
uses: GrantBirki/json-yaml-validate@v5.0.0
|
uses: GrantBirki/json-yaml-validate@v5
|
||||||
with:
|
|
||||||
yaml_exclude_regex: ".*\\kubernetes\\.yml$"
|
|
||||||
@@ -18,6 +18,8 @@ metadata:
|
|||||||
name: dsm
|
name: dsm
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: dsm
|
app: dsm
|
||||||
|
|||||||
Reference in new issue
Block a user