func addDefaultingFuncs(scheme *runtime.Scheme) error { … } func SetDefaults_DaemonSet(obj *appsv1beta2.DaemonSet) { … } func SetDefaults_StatefulSet(obj *appsv1beta2.StatefulSet) { … } // SetDefaults_Deployment sets additional defaults compared to its counterpart // in extensions. These addons are: // - MaxUnavailable during rolling update set to 25% (1 in extensions) // - MaxSurge value during rolling update set to 25% (1 in extensions) // - RevisionHistoryLimit set to 10 (not set in extensions) // - ProgressDeadlineSeconds set to 600s (not set in extensions) func SetDefaults_Deployment(obj *appsv1beta2.Deployment) { … } func SetDefaults_ReplicaSet(obj *appsv1beta2.ReplicaSet) { … }