Sitelet https://github.com/kubernetes/kops/pull/18558/files
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions k8s/crds/kops.k8s.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2407,6 +2407,12 @@ spec:
storageBackend:
description: StorageBackend is the backend storage
type: string
storageInitializationTimeout:
description: |-
StorageInitializationTimeout is the maximum amount of time to wait for the storage layer to initialize before declaring kube-apiserver ready.
Increasing this value allows etcd more time to become ready on new control-plane nodes before kube-apiserver gives up and crashes.
Default is 1m0s.
type: string
tlsCertFile:
type: string
tlsCipherSuites:
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/kops/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,11 @@ type KubeAPIServerConfig struct {
// RequestTimeout configures the duration a handler must keep a request open before timing it out. (default 1m0s)
RequestTimeout *metav1.Duration `json:"requestTimeout,omitempty" flag:"request-timeout"`

// StorageInitializationTimeout is the maximum amount of time to wait for the storage layer to initialize before declaring kube-apiserver ready.
// Increasing this value allows etcd more time to become ready on new control-plane nodes before kube-apiserver gives up and crashes.
// Default is 1m0s.
StorageInitializationTimeout *metav1.Duration `json:"storageInitializationTimeout,omitempty" flag:"storage-initialization-timeout"`

// MinRequestTimeout configures the minimum number of seconds a handler must keep a request open before timing it out.
// Currently only honored by the watch request handler
MinRequestTimeout *int32 `json:"minRequestTimeout,omitempty" flag:"min-request-timeout"`
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/kops/v1alpha2/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,11 @@ type KubeAPIServerConfig struct {
// RequestTimeout configures the duration a handler must keep a request open before timing it out. (default 1m0s)
RequestTimeout *metav1.Duration `json:"requestTimeout,omitempty" flag:"request-timeout"`

// StorageInitializationTimeout is the maximum amount of time to wait for the storage layer to initialize before declaring kube-apiserver ready.
// Increasing this value allows etcd more time to become ready on new control-plane nodes before kube-apiserver gives up and crashes.
// Default is 1m0s.
StorageInitializationTimeout *metav1.Duration `json:"storageInitializationTimeout,omitempty" flag:"storage-initialization-timeout"`

// MinRequestTimeout configures the minimum number of seconds a handler must keep a request open before timing it out.
// Currently only honored by the watch request handler
MinRequestTimeout *int32 `json:"minRequestTimeout,omitempty" flag:"min-request-timeout"`
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/apis/kops/v1alpha2/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/apis/kops/v1alpha3/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ type KubeAPIServerConfig struct {
// RequestTimeout configures the duration a handler must keep a request open before timing it out. (default 1m0s)
RequestTimeout *metav1.Duration `json:"requestTimeout,omitempty" flag:"request-timeout"`

// StorageInitializationTimeout is the maximum amount of time to wait for the storage layer to initialize before declaring kube-apiserver ready.
// Increasing this value allows etcd more time to become ready on new control-plane nodes before kube-apiserver gives up and crashes.
// Default is 1m0s.
StorageInitializationTimeout *metav1.Duration `json:"storageInitializationTimeout,omitempty" flag:"storage-initialization-timeout"`

// MinRequestTimeout configures the minimum number of seconds a handler must keep a request open before timing it out.
// Currently only honored by the watch request handler
MinRequestTimeout *int32 `json:"minRequestTimeout,omitempty" flag:"min-request-timeout"`
Expand Down
2 changes: 2 additions & 0 deletions pkg/apis/kops/v1alpha3/zz_generated.conversion.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/apis/kops/v1alpha3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions pkg/apis/kops/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading