Merge pull request #129549 from kannon92/documentation-eviction-transition-duration
add documentation that 0s duration will be overwritten for 5m Kubernetes-commit: a1bbf17d734a087597376c5b6a2e39d77d9004d8
This commit is contained in:
commit
87f23a11a4
|
|
@ -530,6 +530,7 @@ type KubeletConfiguration struct {
|
||||||
EvictionSoftGracePeriod map[string]string `json:"evictionSoftGracePeriod,omitempty"`
|
EvictionSoftGracePeriod map[string]string `json:"evictionSoftGracePeriod,omitempty"`
|
||||||
// evictionPressureTransitionPeriod is the duration for which the kubelet has to wait
|
// evictionPressureTransitionPeriod is the duration for which the kubelet has to wait
|
||||||
// before transitioning out of an eviction pressure condition.
|
// before transitioning out of an eviction pressure condition.
|
||||||
|
// A duration of 0s will be converted to the default value of 5m
|
||||||
// Default: "5m"
|
// Default: "5m"
|
||||||
// +optional
|
// +optional
|
||||||
EvictionPressureTransitionPeriod metav1.Duration `json:"evictionPressureTransitionPeriod,omitempty"`
|
EvictionPressureTransitionPeriod metav1.Duration `json:"evictionPressureTransitionPeriod,omitempty"`
|
||||||
|
|
|
||||||
4
go.mod
4
go.mod
|
|
@ -14,8 +14,8 @@ require (
|
||||||
github.com/stretchr/testify v1.9.0
|
github.com/stretchr/testify v1.9.0
|
||||||
google.golang.org/grpc v1.65.0
|
google.golang.org/grpc v1.65.0
|
||||||
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a
|
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a
|
||||||
k8s.io/apimachinery v0.0.0-20250115201602-f863467e6f42
|
k8s.io/apimachinery v0.0.0-20250116201610-c74304d2a679
|
||||||
k8s.io/apiserver v0.0.0-20250115204229-2387b5d4a957
|
k8s.io/apiserver v0.0.0-20250116204222-626adbf67c7d
|
||||||
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f
|
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f
|
||||||
k8s.io/component-base v0.0.0-20250115203345-3fc0045268f4
|
k8s.io/component-base v0.0.0-20250115203345-3fc0045268f4
|
||||||
k8s.io/cri-api v0.0.0-20250115210534-a2aeca53612b
|
k8s.io/cri-api v0.0.0-20250115210534-a2aeca53612b
|
||||||
|
|
|
||||||
8
go.sum
8
go.sum
|
|
@ -155,10 +155,10 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
||||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a h1:2wVqfU2ZFQqc1hN9LkYE8MMQcjLQDJKn52a+YiVrS7Q=
|
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a h1:2wVqfU2ZFQqc1hN9LkYE8MMQcjLQDJKn52a+YiVrS7Q=
|
||||||
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a/go.mod h1:/mUSMQWyTyZYxFG6+AwbXd2lQZDLPEK4VwjtCDQDSjE=
|
k8s.io/api v0.0.0-20250115201908-3f63dba05c7a/go.mod h1:/mUSMQWyTyZYxFG6+AwbXd2lQZDLPEK4VwjtCDQDSjE=
|
||||||
k8s.io/apimachinery v0.0.0-20250115201602-f863467e6f42 h1:R3hoY8HCR4WZBT0bqbtd8adoNilLSSDBOLcsbZ/UZ4M=
|
k8s.io/apimachinery v0.0.0-20250116201610-c74304d2a679 h1:f+gXPU8rTkOiMzAjHDfeA0/CY+7jsxbuz5j6GpJ35f8=
|
||||||
k8s.io/apimachinery v0.0.0-20250115201602-f863467e6f42/go.mod h1:h8DnJz4KNjkQsP8iFir+s3sSBEK3Iy43bfB2gFjSR+A=
|
k8s.io/apimachinery v0.0.0-20250116201610-c74304d2a679/go.mod h1:h8DnJz4KNjkQsP8iFir+s3sSBEK3Iy43bfB2gFjSR+A=
|
||||||
k8s.io/apiserver v0.0.0-20250115204229-2387b5d4a957 h1:LPRltRImqbTw3Q/0lAJib21k7yVGYKdrIlcPH4QIeRg=
|
k8s.io/apiserver v0.0.0-20250116204222-626adbf67c7d h1:A/CY+NXGrqS5BC3BWC5bagb6fDdDir9p+V/wyysb3oE=
|
||||||
k8s.io/apiserver v0.0.0-20250115204229-2387b5d4a957/go.mod h1:pWFVqMYDvwj3h2lNABKXiERupupotjX5xkQp1q+ZXx0=
|
k8s.io/apiserver v0.0.0-20250116204222-626adbf67c7d/go.mod h1:pWFVqMYDvwj3h2lNABKXiERupupotjX5xkQp1q+ZXx0=
|
||||||
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f h1:9EALd5DDBLNBQMylk0AjvIOzrrVwNO0xp83ZqpZseWc=
|
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f h1:9EALd5DDBLNBQMylk0AjvIOzrrVwNO0xp83ZqpZseWc=
|
||||||
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f/go.mod h1:/SaT+FF0ONApY3h89Q30AgOrfd9U7BMq7pfDItb6PG8=
|
k8s.io/client-go v0.0.0-20250115202322-49eb6dc0666f/go.mod h1:/SaT+FF0ONApY3h89Q30AgOrfd9U7BMq7pfDItb6PG8=
|
||||||
k8s.io/component-base v0.0.0-20250115203345-3fc0045268f4 h1:SPLlKM4cULKD2vse+QVTA3CC/pBUKGQeoetFzeyo78g=
|
k8s.io/component-base v0.0.0-20250115203345-3fc0045268f4 h1:SPLlKM4cULKD2vse+QVTA3CC/pBUKGQeoetFzeyo78g=
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue