From 38031eb69a84a154ae2af9c19a2da4b30c8fba59 Mon Sep 17 00:00:00 2001 From: Artem Mezentsev Date: Fri, 11 Apr 2025 22:41:43 +0300 Subject: [PATCH] feat: add manifest --- deployment.yaml | 30 ++++++++++++++++++++++++++++++ kustomization.yaml | 4 ++++ 2 files changed, 34 insertions(+) create mode 100644 deployment.yaml create mode 100644 kustomization.yaml diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000..22a6ee1 --- /dev/null +++ b/deployment.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: hello-world +spec: + replicas: 1 + selector: + matchLabels: + app: hello-world + template: + metadata: + labels: + app: hello-world + spec: + containers: + - name: hello-world + image: nginxdemos/hello + ports: + - containerPort: 80 +--- +apiVersion: v1 +kind: Service +metadata: + name: hello-world +spec: + ports: + - port: 80 + targetPort: 80 + selector: + app: hello-world diff --git a/kustomization.yaml b/kustomization.yaml new file mode 100644 index 0000000..42835f5 --- /dev/null +++ b/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- deployment.yaml