From 72d77a5d7afd722ba74e75e6a99dc4192b21baad Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Tue, 2 Jul 2024 16:32:38 -0500 Subject: [PATCH] add kustomize --- kustomize/deployment.yaml | 24 ++++++++++++++++++++++++ kustomize/kustomization.yaml | 6 ++++++ 2 files changed, 30 insertions(+) create mode 100644 kustomize/deployment.yaml create mode 100644 kustomize/kustomization.yaml diff --git a/kustomize/deployment.yaml b/kustomize/deployment.yaml new file mode 100644 index 0000000..2ecb36a --- /dev/null +++ b/kustomize/deployment.yaml @@ -0,0 +1,24 @@ +--- +kind: Deployment +apiVersion: apps/v1 +metadata: + name: toy + labels: + app: toy + +spec: + replicas: 3 + selector: + matchLabels: + app: toy + template: + metadata: + labels: + app: toy + spec: + containers: + - name: toy + image: git.kill0.net/ryanc/toy:latest + ports: + - name: web + containerPort: 4567 diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml new file mode 100644 index 0000000..c443d2e --- /dev/null +++ b/kustomize/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: toy +resources: + - deployment.yaml