rshamunov commented on code in PR #25508:
URL: https://github.com/apache/beam/pull/25508#discussion_r1119818317


##########
playground/infrastructure/helm-playground/templates/autoscaling-scio.yaml:
##########
@@ -12,15 +12,21 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-apiVersion: autoscaling/v1
+apiVersion: autoscaling/v2
 kind: HorizontalPodAutoscaler
 metadata:
   name: playground-scio
 spec:
-  maxReplicas: 10
-  minReplicas: 2
+  maxReplicas: 4 
+  minReplicas: 2 
   scaleTargetRef:
     apiVersion: apps/v1
     kind: Deployment
     name: playground-scio
-  targetCPUUtilizationPercentage: 90
+  metrics:
+  - type: Resource
+    resource:
+      name: memory
+      target:
+        type: Utilization
+        averageUtilization: 80

Review Comment:
   Please also remove trailing spaces (yamllint for hints)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to