diff --git a/solution/day-1/step-1/unicorn-front-deployment-limited.yaml b/solution/day-1/step-1/unicorn-front-deployment-limited.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a57fdaa3a9dd8258fae7f41f54d43b73c1c379f6 --- /dev/null +++ b/solution/day-1/step-1/unicorn-front-deployment-limited.yaml @@ -0,0 +1,28 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: unicorn-front-deployment + labels: + app: unicorn-front +spec: + replicas: 1 + selector: + matchLabels: + app: unicorn-front + template: + metadata: + labels: + app: unicorn-front + spec: + containers: + - name: unicorn-front + image: registry.takima.io/school/proxy/nginx:1.7.9 + ports: + - containerPort: 80 + resources: + requests: + memory: "64Mi" + cpu: "250m" + limits: + memory: "128Mi" + cpu: "500m" diff --git a/solution/day-1/step-1/unicorn-front-deployment.yaml b/solution/day-1/step-1/unicorn-front-deployment.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f31595bc2e1834d9f468d12b4d9de4202ab85eda --- /dev/null +++ b/solution/day-1/step-1/unicorn-front-deployment.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: unicorn-front-deployment + labels: + app: unicorn-front +spec: + replicas: 1 + selector: + matchLabels: + app: unicorn-front + template: + metadata: + labels: + app: unicorn-front + spec: + containers: + - name: unicorn-front + image: registry.takima.io/school/proxy/nginx:1.7.9 + ports: + - containerPort: 80 diff --git a/solution/day-1/step-1/unicorn-front-pod.yaml b/solution/day-1/step-1/unicorn-front-pod.yaml new file mode 100644 index 0000000000000000000000000000000000000000..029b3f0fb8e9f2092d84ccddbcbf9b51cd114a9b --- /dev/null +++ b/solution/day-1/step-1/unicorn-front-pod.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Pod +metadata: + name: unicorn-front-pod + labels: + app: unicorn-front +spec: + containers: + - image: public.ecr.aws/l3x6e3t5/takima-training/nginx + name: unicorn-front diff --git a/solution/day-1/step-1/unicorn-front-replicaset.yaml b/solution/day-1/step-1/unicorn-front-replicaset.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b05336e5bd075531e2f9748eba0465e616a497f4 --- /dev/null +++ b/solution/day-1/step-1/unicorn-front-replicaset.yaml @@ -0,0 +1,20 @@ +apiVersion: apps/v1 +kind: ReplicaSet +metadata: + name: unicorn-front-replicaset + labels: + app: unicorn-front +spec: + template: + metadata: + name: unicorn-front-pod + labels: + app: unicorn-front + spec: + containers: + - name: unicorn-front + image: public.ecr.aws/l3x6e3t5/takima-training/nginx + replicas: 3 + selector: + matchLabels: + app: unicorn-front