mirror of https://github.com/kubernetes/kops.git
Add Event TTL flag
Enable cluster spec to support "event-ttl" flag from kube-apiserver to change event retention time
This commit is contained in:
parent
7406e0320e
commit
83dc5df52b
|
|
@ -450,6 +450,9 @@ type KubeAPIServerConfig struct {
|
|||
|
||||
// CPURequest, cpu request compute resource for api server. Defaults to "150m"
|
||||
CPURequest string `json:"cpuRequest,omitempty"`
|
||||
|
||||
// Amount of time to retain Kubernetes events
|
||||
EventTTL *metav1.Duration `json:"eventTTL,omitempty" flag:"event-ttl"`
|
||||
}
|
||||
|
||||
// KubeControllerManagerConfig is the configuration for the controller
|
||||
|
|
|
|||
|
|
@ -450,6 +450,9 @@ type KubeAPIServerConfig struct {
|
|||
|
||||
// CPURequest, cpu request compute resource for api server. Defaults to "150m"
|
||||
CPURequest string `json:"cpuRequest,omitempty"`
|
||||
|
||||
// Amount of time to retain Kubernetes events
|
||||
EventTTL *metav1.Duration `json:"eventTTL,omitempty" flag:"event-ttl"`
|
||||
}
|
||||
|
||||
// KubeControllerManagerConfig is the configuration for the controller
|
||||
|
|
|
|||
|
|
@ -450,6 +450,9 @@ type KubeAPIServerConfig struct {
|
|||
|
||||
// CPURequest, cpu request compute resource for api server. Defaults to "150m"
|
||||
CPURequest string `json:"cpuRequest,omitempty"`
|
||||
|
||||
// Amount of time to retain Kubernetes events
|
||||
EventTTL *metav1.Duration `json:"eventTTL,omitempty" flag:"event-ttl"`
|
||||
}
|
||||
|
||||
// KubeControllerManagerConfig is the configuration for the controller
|
||||
|
|
|
|||
Loading…
Reference in New Issue