diff --git a/stage-maker/deployment.yaml b/stage-maker/deployment.yaml new file mode 100644 index 0000000..d885859 --- /dev/null +++ b/stage-maker/deployment.yaml @@ -0,0 +1,26 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: stage-maker + labels: + app: stage-maker +spec: + replicas: 1 + selector: + matchLabels: + app: stage-maker + template: + metadata: + labels: + app: stage-maker + spec: + serviceAccountName: stage-editor + containers: + - name: stage-maker + image: git.jwetzell.com/jwetzell/stage-maker:v0.0.5 + resources: + limits: + memory: "1024Mi" + requests: + cpu: 1000m + memory: "512MI" \ No newline at end of file diff --git a/stage-maker/kustomization.yaml b/stage-maker/kustomization.yaml index d77e21b..e5a4126 100644 --- a/stage-maker/kustomization.yaml +++ b/stage-maker/kustomization.yaml @@ -1,5 +1,5 @@ resources: - namespace.yaml - - pod.yaml + - deployment.yaml - cluster-role.yaml - service-account.yaml diff --git a/stage-maker/pod.yaml b/stage-maker/pod.yaml deleted file mode 100644 index e4a8773..0000000 --- a/stage-maker/pod.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Pod -metadata: - name: stage-maker - namespace: stage-maker -spec: - serviceAccountName: stage-editor - containers: - - name: stage-maker - image: git.jwetzell.com/jwetzell/stage-maker:v0.0.5 \ No newline at end of file