You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Name is the identifier of this cron scale. name must be unique in the same ehpa
77
+
// +kubebuilder:validation:Type=string
78
+
Namestring`json:"name,omitempty"`
79
+
// Description is the description of the cron
80
+
// +optional
81
+
// +kubebuilder:validation:Type=string
82
+
Descriptionstring`json:"description,omitempty"`
83
+
// TimeZone is the time zone of this cron schedule running in, default is UTC time.
84
+
// +optional
85
+
// +kubebuilder:validation:Type=string
86
+
TimeZone*string`json:"timezone,omitempty"`
87
+
// Start is a crontab format, see https://en.wikipedia.org/wiki/Cron
88
+
// Define the cron schedule start, when the cron start is triggered, hpa will reconcile targetRef to scale to the TargetReplicas continuously.
89
+
// +kubebuilder:validation:Type=string
90
+
Startstring`json:"start,omitempty"`
91
+
// End is a crontab format, see https://en.wikipedia.org/wiki/Cron
92
+
// Define the cron schedule end, when it ended, EHPA will stop to trigger hpa to scale.
93
+
// Between the start and end, EHPA will keep replicas of the targetRef to equal to TargetReplicas, a scaling is a process rather than a instant action, make it as a final consistent system.
94
+
// +kubebuilder:validation:Type=string
95
+
Endstring`json:"end,omitempty"`
96
+
// TargetReplicas is the target replicas when it is time to do scale between cron start and end
0 commit comments