This commit is contained in:
Alejandro Lembke Barrientos 2022-10-10 22:36:02 -06:00
parent 3488aa5217
commit fb9e6b7fa8
13 changed files with 107 additions and 0 deletions

View File

@ -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

View File

@ -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

13
Clase 4/README.md Normal file
View File

@ -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)

BIN
Clase 4/img/Diap1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
Clase 4/img/Diap10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

BIN
Clase 4/img/Diap2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

BIN
Clase 4/img/Diap3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
Clase 4/img/Diap4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

BIN
Clase 4/img/Diap5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
Clase 4/img/Diap6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
Clase 4/img/Diap7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
Clase 4/img/Diap8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

BIN
Clase 4/img/Diap9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB