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
// scale is a version of the autoscalingv1.Scale struct that marshals correctly.
147
+
// Specifically the Spec.Replicas field is *int32 instead of int32.
148
+
// Accordingly Spec.Replicas = 0 is not omitted, which is important for autoscale to 0 to work.
149
+
typeautoscalingv1Scalestruct {
150
+
// spec defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
u, err:=r.controller.managementClient.Resource(r.controller.machineResource).Namespace(machine.GetNamespace()).Get(context.TODO(), machine.GetName(), metav1.GetOptions{})
0 commit comments