Made multi-scheduler graduated to Beta and then v1.

This commit is contained in:
Klaus Ma
2017-01-06 07:47:54 +08:00
parent 60489f837b
commit c8c4b81963
22 changed files with 92 additions and 65 deletions

View File

@@ -174,6 +174,9 @@ func SetDefaults_PodSpec(obj *PodSpec) {
period := int64(DefaultTerminationGracePeriodSeconds)
obj.TerminationGracePeriodSeconds = &period
}
if obj.SchedulerName == "" {
obj.SchedulerName = DefaultSchedulerName
}
}
func SetDefaults_Probe(obj *Probe) {
if obj.TimeoutSeconds == 0 {