Merge pull request #29961 from bang9211/bang9211/run-stateless-application-deployment/v0.1

[ko]Translate tasks/run-application/run-stateless-application-deployment.md in Korean
This commit is contained in:
Kubernetes Prow Robot
2021-10-08 17:34:36 -07:00
committed by GitHub
3 changed files with 198 additions and 0 deletions
@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 4 # Update the replicas from 2 to 4
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
@@ -0,0 +1,19 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.16.1 # Update the version of nginx from 1.14.2 to 1.16.1
ports:
- containerPort: 80