fix autoscaler

Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
This commit is contained in:
天元
2020-10-26 17:59:16 +08:00
parent fecf1a710d
commit 0990e6fa64
37 changed files with 331 additions and 712 deletions

View File

@@ -274,8 +274,6 @@ func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error {
WithAnnotations("controller", "PodSpecWorkload")
return ctrl.NewControllerManagedBy(mgr).
For(&v1alpha1.PodSpecWorkload{}).
Owns(&appsv1.Deployment{}).
Owns(&corev1.Service{}).
Complete(r)
}