Merge pull request 'Bug: Fail heimdall over to another worker within ~2 minutes of node loss' (#37) from bug/heimdall-failover into main
This commit was merged in pull request #37.
This commit is contained in:
commit
ba53cbc465
1 file changed
+15
@@ -47,6 +47,7 @@ new k8s.apps.v1.Deployment(
|
|||||||
},
|
},
|
||||||
spec: {
|
spec: {
|
||||||
replicas: 1,
|
replicas: 1,
|
||||||
|
strategy: { type: "Recreate" },
|
||||||
selector: { matchLabels: labels },
|
selector: { matchLabels: labels },
|
||||||
template: {
|
template: {
|
||||||
metadata: { labels },
|
metadata: { labels },
|
||||||
@@ -70,6 +71,20 @@ new k8s.apps.v1.Deployment(
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
terminationGracePeriodSeconds: 5,
|
terminationGracePeriodSeconds: 5,
|
||||||
|
tolerations: [
|
||||||
|
{
|
||||||
|
key: "node.kubernetes.io/unreachable",
|
||||||
|
operator: "Exists",
|
||||||
|
effect: "NoExecute",
|
||||||
|
tolerationSeconds: 30,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "node.kubernetes.io/not-ready",
|
||||||
|
operator: "Exists",
|
||||||
|
effect: "NoExecute",
|
||||||
|
tolerationSeconds: 30,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user