[es] Add content/es/docs/tasks/manage-kubernetes-objects/declarative-config.md
Signed-off-by: Leonardo Murillo <leonardo@murillodigital.com>
This commit is contained in:
parent
6c6e697a78
commit
0aae93d295
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: "Administrar Objetos en Kubernetes"
|
||||||
|
description: Interactuando con el API de Kubernetes aplicando paradigmas declarativo e imperativo.
|
||||||
|
weight: 25
|
||||||
|
---
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,19 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nginx-deployment
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nginx
|
||||||
|
minReadySeconds: 5
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nginx
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nginx
|
||||||
|
image: nginx:1.14.2
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: nginx-deployment
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: nginx
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: nginx
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: nginx
|
||||||
|
image: nginx:1.16.1 # actualice el valor de image
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
Loading…
Reference in New Issue