diff --git a/Clase 4/Ejercicio/hello-app/hello-app.yaml b/Clase 4/Ejercicio/hello-app/hello-app.yaml new file mode 100644 index 0000000..8aaab0c --- /dev/null +++ b/Clase 4/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 + diff --git a/Clase 4/Ejercicio/nginx-app/nginx-app.yaml b/Clase 4/Ejercicio/nginx-app/nginx-app.yaml new file mode 100644 index 0000000..717e12d --- /dev/null +++ b/Clase 4/Ejercicio/nginx-app/nginx-app.yaml @@ -0,0 +1,47 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: nginx +--- +apiVersion: v1 +kind: Service +metadata: + name: my-ngnix-svc + namespace: nginx + labels: + app: nginx +spec: + type: ClusterIP + selector: + app: nginx + ports: + - port: 80 + targetPort: 80 +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: my-nginx + namespace: nginx + labels: + app: nginx +spec: + replicas: 2 + selector: + matchLabels: + app: nginx + template: + metadata: + labels: + app: nginx + spec: + containers: + - name: nginx + image: nginx + resources: + limits: + memory: "128Mi" + cpu: "500m" + ports: + - containerPort: 80 + diff --git a/Clase 4/README.md b/Clase 4/README.md new file mode 100644 index 0000000..c734dce --- /dev/null +++ b/Clase 4/README.md @@ -0,0 +1,13 @@ +# Clase 4 +![Diap1](./img/Diap1.png) +![Diap2](./img/Diap2.png) +![Diap3](./img/Diap3.png) +![Diap4](./img/Diap4.png) +![Diap5](./img/Diap5.png) +![Diap6](./img/Diap6.png) +![Diap7](./img/Diap7.png) +![Diap8](./img/Diap8.png) +![Diap9](./img/Diap9.png) +![Diap10](./img/Diap10.png) + +![Diap11](../img/Agradecimiento.png) diff --git a/Clase 4/img/Diap1.png b/Clase 4/img/Diap1.png new file mode 100644 index 0000000..f8788f5 Binary files /dev/null and b/Clase 4/img/Diap1.png differ diff --git a/Clase 4/img/Diap10.png b/Clase 4/img/Diap10.png new file mode 100644 index 0000000..ea184ef Binary files /dev/null and b/Clase 4/img/Diap10.png differ diff --git a/Clase 4/img/Diap2.png b/Clase 4/img/Diap2.png new file mode 100644 index 0000000..911a170 Binary files /dev/null and b/Clase 4/img/Diap2.png differ diff --git a/Clase 4/img/Diap3.png b/Clase 4/img/Diap3.png new file mode 100644 index 0000000..77739cf Binary files /dev/null and b/Clase 4/img/Diap3.png differ diff --git a/Clase 4/img/Diap4.png b/Clase 4/img/Diap4.png new file mode 100644 index 0000000..b921d74 Binary files /dev/null and b/Clase 4/img/Diap4.png differ diff --git a/Clase 4/img/Diap5.png b/Clase 4/img/Diap5.png new file mode 100644 index 0000000..37f0fe1 Binary files /dev/null and b/Clase 4/img/Diap5.png differ diff --git a/Clase 4/img/Diap6.png b/Clase 4/img/Diap6.png new file mode 100644 index 0000000..a0bf850 Binary files /dev/null and b/Clase 4/img/Diap6.png differ diff --git a/Clase 4/img/Diap7.png b/Clase 4/img/Diap7.png new file mode 100644 index 0000000..14a4884 Binary files /dev/null and b/Clase 4/img/Diap7.png differ diff --git a/Clase 4/img/Diap8.png b/Clase 4/img/Diap8.png new file mode 100644 index 0000000..ee27400 Binary files /dev/null and b/Clase 4/img/Diap8.png differ diff --git a/Clase 4/img/Diap9.png b/Clase 4/img/Diap9.png new file mode 100644 index 0000000..a696178 Binary files /dev/null and b/Clase 4/img/Diap9.png differ