From 806f342235653b79572ad64e853d4d60a17867b2 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 7 Sep 2022 12:28:50 -0600 Subject: [PATCH] Agregando el ejercicio de la clase 3 --- .DS_Store | Bin 10244 -> 10244 bytes .gitignore | 3 +- Clase 3/.DS_Store | Bin 0 -> 6148 bytes Clase 3/Ejercicio/hello-app/hello-app.yaml | 47 +++++++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 Clase 3/.DS_Store create mode 100644 Clase 3/Ejercicio/hello-app/hello-app.yaml diff --git a/.DS_Store b/.DS_Store index 39ba5093ee54bc1f79a09ffd5eea1c219f30ca6f..f2af21634f8ffd599c8e2b6546c4f955e8cb6aea 100644 GIT binary patch delta 58 zcmZn(XbIR5AwHR3riRgCa*vGtWKoGb9F~SgIts>SMnD1S$sYuaHoHk4WZTT95X25w Gs1E=mei7dQ delta 41 pcmZn(XbIR5AwIcEqHOY6fzZiH66ZklW>?9BY@68?0@ygdy3mT05aR&odFX7W4a<Dp-xDiK+)%_;=XkMnNOjDZ3Zw#k1rEJC(fYrje{=uuld_izqym3R0U6D& z=QI9N)YiezX{{~v8~Ud)*U}k!hX8i86rb+o6>T%G26m1{=eW^{c@R)t(o%unP~Zcb C;3ygZ literal 0 HcmV?d00001 diff --git a/Clase 3/Ejercicio/hello-app/hello-app.yaml b/Clase 3/Ejercicio/hello-app/hello-app.yaml new file mode 100644 index 0000000..8aaab0c --- /dev/null +++ b/Clase 3/Ejercicio/hello-app/hello-app.yaml @@ -0,0 +1,47 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: hello +--- +apiVersion: v1 +kind: Service +metadata: + name: my-hello-svc + namespace: hello + labels: + app: hello +spec: + type: ClusterIP + selector: + app: hello + ports: + - port: 80 + targetPort: 8080 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: my-hello + namespace: hello + labels: + app: hello +spec: + replicas: 2 + selector: + matchLabels: + app: hello + template: + metadata: + labels: + app: hello + spec: + containers: + - name: hello + image: gcr.io/google-samples/hello-app:1.0 + resources: + limits: + memory: "128Mi" + cpu: "500m" + ports: + - containerPort: 8080 +