From ac5f98d8659f68d2358555701df64f4fc54dae47 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sun, 11 Aug 2024 17:53:08 -0500 Subject: [PATCH] Remove Deployment in favor of a Rollout --- kustomize/app/deployment.yaml | 44 -------------------------------- kustomize/app/kustomization.yaml | 1 - 2 files changed, 45 deletions(-) delete mode 100644 kustomize/app/deployment.yaml diff --git a/kustomize/app/deployment.yaml b/kustomize/app/deployment.yaml deleted file mode 100644 index bfd6382..0000000 --- a/kustomize/app/deployment.yaml +++ /dev/null @@ -1,44 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - annotations: - reloader.stakater.com/auto: "true" - 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 - env: - - name: SESSION_SECRET - valueFrom: - secretKeyRef: - name: toy-session-secret - key: session_secret - optional: true - livenessProbe: - httpGet: - path: /livez - port: 4567 - initialDelaySeconds: 3 - periodSeconds: 3 - readinessProbe: - httpGet: - path: /readyz - port: 4567 - initialDelaySeconds: 5 - periodSeconds: 5 diff --git a/kustomize/app/kustomization.yaml b/kustomize/app/kustomization.yaml index 118e0cd..2ca103c 100644 --- a/kustomize/app/kustomization.yaml +++ b/kustomize/app/kustomization.yaml @@ -4,7 +4,6 @@ kind: Kustomization namespace: toy resources: - secret.yaml - - deployment.yaml - rollout.yaml - services.yaml - ingress.yaml