From af631382fcfc66748de6863d16c2f358cce45f82 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 7 Mar 2025 21:14:48 -0600 Subject: [PATCH] add Kubernetes manifests --- kustomize/deployment.yaml | 22 ++++++++++++++++++++++ kustomize/kustomization.yaml | 6 ++++++ kustomize/service.yaml | 14 ++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 kustomize/deployment.yaml create mode 100644 kustomize/kustomization.yaml create mode 100644 kustomize/service.yaml diff --git a/kustomize/deployment.yaml b/kustomize/deployment.yaml new file mode 100644 index 0000000..4242e1c --- /dev/null +++ b/kustomize/deployment.yaml @@ -0,0 +1,22 @@ +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: caas +spec: + selector: + matchLabels: + app: caas + template: + metadata: + labels: + app: caas + spec: + containers: + - name: caas + image: git.kill0.net/ryanc/caas:latest + imagePullPolicy: IfNotPresent + ports: + - name: http + containerPort: 80 + protocol: TCP diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml new file mode 100644 index 0000000..356c305 --- /dev/null +++ b/kustomize/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - deployment.yaml + - service.yaml diff --git a/kustomize/service.yaml b/kustomize/service.yaml new file mode 100644 index 0000000..35018b5 --- /dev/null +++ b/kustomize/service.yaml @@ -0,0 +1,14 @@ +--- +apiVersion: v1 +kind: Service +metadata: + name: caas +spec: + type: ClusterIP + selector: + app: caas + ports: + - name: http + port: 80 + protocol: TCP + targetPort: http