From f45785e922f4ed7b523f8c5e46758fe390c16b8e Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Tue, 7 May 2024 22:56:24 +0600 Subject: [PATCH] Create deployment-update.yaml --- .../application/deployment-update.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 content/bn/examples/application/deployment-update.yaml diff --git a/content/bn/examples/application/deployment-update.yaml b/content/bn/examples/application/deployment-update.yaml new file mode 100644 index 0000000000..1c0b9d1ab8 --- /dev/null +++ b/content/bn/examples/application/deployment-update.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-deployment +spec: + selector: + matchLabels: + app: nginx + replicas: 2 + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx:1.16.1 # Update the version of nginx from 1.14.2 to 1.16.1 + ports: + - containerPort: 80