Skip to content

Commit

Permalink
Evict Flux from an unreachable node after 5m
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Nov 26, 2023
1 parent aedf966 commit ebc72c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/flux-aio/debug_values.cue
Expand Up @@ -59,7 +59,7 @@ values: {
sourceServer: true
}
persistence: enabled: true
proxy: http: "http://my.proxy"
proxy: http: "http://my.proxy"
env: {
"TEST_KEY1": "VAL1"
"TEST_KEY2": "VAL2"
Expand Down
6 changes: 6 additions & 0 deletions modules/flux-aio/templates/config.cue
Expand Up @@ -130,6 +130,12 @@ import (

tolerations: *[{
operator: "Exists"
key: "node.kubernetes.io/not-ready"
}, {
operator: "Exists"
key: "node.kubernetes.io/unreachable"
effect: "NoExecute"
tolerationSeconds: 300
}] | corev1.#Toleration
}

Expand Down

0 comments on commit ebc72c2

Please sign in to comment.