From 8b5ec97e380d330867c4835799f57db5f81f00d3 Mon Sep 17 00:00:00 2001 From: samsep101 Date: Mon, 5 Jan 2026 02:03:44 +0500 Subject: [PATCH] Add nginx deployment --- kustomization.yaml | 4 ++++ nginx-deployment.yaml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 kustomization.yaml create mode 100644 nginx-deployment.yaml diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..5f84c74 --- /dev/null +++ b/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- nginx-deployment.yaml diff --git a/nginx-deployment.yaml b/nginx-deployment.yaml new file mode 100644 index 0000000..093eb90 --- /dev/null +++ b/nginx-deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: nginx-test +spec: + replicas: 1 + selector: + matchLabels: + app: nginx-test + template: + metadata: + labels: + app: nginx-test + spec: + containers: + - name: nginx + image: nginx:alpine + ports: + - containerPort: 80