From 0821e3f707abcc0e7fbe5a965c493b4127d9b003 Mon Sep 17 00:00:00 2001 From: Dex Date: Sat, 11 May 2024 18:52:17 -0400 Subject: [PATCH] add SS --- simplysyncedllc-com/application.yaml | 23 +++++++++++++++++++++++ simplysyncedllc-com/prod/deployment.yaml | 19 +++++++++++++++++++ simplysyncedllc-com/prod/service.yaml | 13 +++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 simplysyncedllc-com/application.yaml create mode 100644 simplysyncedllc-com/prod/deployment.yaml create mode 100644 simplysyncedllc-com/prod/service.yaml diff --git a/simplysyncedllc-com/application.yaml b/simplysyncedllc-com/application.yaml new file mode 100644 index 0000000..31211db --- /dev/null +++ b/simplysyncedllc-com/application.yaml @@ -0,0 +1,23 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: simplysyncedllc-com-site + namespace: argocd +spec: + project: simplysyncedllc-com + + source: + repoURL: https://gitea.simplysyncedllc.com/Dex/argocd-configs.git + targetRevision: HEAD + path: simplysyncedllc/prod + destination: + server: https://kubernetes.default.svc + namespace: simplysyncedllc-com + + syncPolicy: + syncOptions: + - CreateNamespace=true + + automated: + selfHeal: true + prune: true diff --git a/simplysyncedllc-com/prod/deployment.yaml b/simplysyncedllc-com/prod/deployment.yaml new file mode 100644 index 0000000..08f7549 --- /dev/null +++ b/simplysyncedllc-com/prod/deployment.yaml @@ -0,0 +1,19 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: simplysyncedllc-com-deployment +spec: + selector: + matchLabels: + app: SIMPLYSYNCEDLLC_com + replicas: 2 + template: + metadata: + labels: + app: SIMPLYSYNCEDLLC_com + spec: + containers: + - name: simplysyncedllc-com-site + image: gitea.simplysyncedllc.com/dex/ss_site:1.0.0 + ports: + - containerPort: 3000 diff --git a/simplysyncedllc-com/prod/service.yaml b/simplysyncedllc-com/prod/service.yaml new file mode 100644 index 0000000..0b97fea --- /dev/null +++ b/simplysyncedllc-com/prod/service.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: Service +metadata: + name: simplysyncedllc-com-service +spec: + type: NodePort + selector: + app: SIMPLYSYNCEDLLC_com + ports: + - protocol: TCP + port: 3000 + targetPort: 3000 + nodePort: 30080