mirror of
https://github.com/devitq/yandexcloud-k3s.git
synced 2026-09-20 21:40:34 +00:00
fix(): fixed healthcheck intervals
This commit is contained in:
@@ -105,10 +105,10 @@ resource "yandex_compute_instance_group" "k8s_master" {
|
|||||||
ignore_health_checks = true
|
ignore_health_checks = true
|
||||||
}
|
}
|
||||||
health_check {
|
health_check {
|
||||||
healthy_threshold = 2
|
healthy_threshold = 3
|
||||||
unhealthy_threshold = 2
|
unhealthy_threshold = 3
|
||||||
interval = 2
|
interval = 10
|
||||||
timeout = 1
|
timeout = 9
|
||||||
|
|
||||||
tcp_options {
|
tcp_options {
|
||||||
port = 6443
|
port = 6443
|
||||||
@@ -230,10 +230,10 @@ resource "yandex_compute_instance_group" "k8s_worker" {
|
|||||||
ignore_health_checks = true
|
ignore_health_checks = true
|
||||||
}
|
}
|
||||||
health_check {
|
health_check {
|
||||||
healthy_threshold = 2
|
healthy_threshold = 3
|
||||||
unhealthy_threshold = 2
|
unhealthy_threshold = 3
|
||||||
interval = 2
|
interval = 10
|
||||||
timeout = 1
|
timeout = 9
|
||||||
|
|
||||||
tcp_options {
|
tcp_options {
|
||||||
port = 80
|
port = 80
|
||||||
|
|||||||
Reference in New Issue
Block a user