From 866a98599ac42ddaaf1f093bb854c92476fe60e8 Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Tue, 7 May 2024 22:58:26 +0600 Subject: [PATCH] Create php-apache.yaml --- .../bn/examples/application/php-apache.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 content/bn/examples/application/php-apache.yaml diff --git a/content/bn/examples/application/php-apache.yaml b/content/bn/examples/application/php-apache.yaml new file mode 100644 index 0000000000..a194dce6f9 --- /dev/null +++ b/content/bn/examples/application/php-apache.yaml @@ -0,0 +1,35 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: php-apache +spec: + selector: + matchLabels: + run: php-apache + template: + metadata: + labels: + run: php-apache + spec: + containers: + - name: php-apache + image: registry.k8s.io/hpa-example + ports: + - containerPort: 80 + resources: + limits: + cpu: 500m + requests: + cpu: 200m +--- +apiVersion: v1 +kind: Service +metadata: + name: php-apache + labels: + run: php-apache +spec: + ports: + - port: 80 + selector: + run: php-apache