From 439c3bea9c21a9d9e3303aaa17fc4aa04497169a Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Tue, 7 May 2024 22:00:05 +0600 Subject: [PATCH] Create php-apache.yaml --- .../examples/application/hpa/php-apache.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/bn/examples/application/hpa/php-apache.yaml diff --git a/content/bn/examples/application/hpa/php-apache.yaml b/content/bn/examples/application/hpa/php-apache.yaml new file mode 100644 index 0000000000..1c49aca6a1 --- /dev/null +++ b/content/bn/examples/application/hpa/php-apache.yaml @@ -0,0 +1,18 @@ +apiVersion: autoscaling/v2 +kind: HorizontalPodAutoscaler +metadata: + name: php-apache +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: php-apache + minReplicas: 1 + maxReplicas: 10 + metrics: + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: 50