Users Online

· Guests Online: 22

· Members Online: 0

· Total Members: 188
· Newest Member: meenachowdary055

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Latest Articles

20_003.1 GitHub Code - Deployment.html

20_003.1 GitHub Code - Deployment.html
Certifications Courses » Google Certified Associate Cloud Engineer Certification
Categories Most Recent Top Rated Popular Courses
 
Uploader Date Added Views Rating
Superadmin 31.05.17 39 No Rating
Description
20_003.1 GitHub Code - Deployment.html


-----------------------------------

deploy.yml

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: test
name: test
spec:
replicas: 3
selector:
matchLabels:
run: test
minReadySeconds: 5
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
run: test
spec:
containers:
- image: nginx:1.12
name: nginx


-------------------------
deployment.yml

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: prod-redis
name: prod-redis
spec:
selector:
matchLabels:
run: prod-redis
replicas: 3
minReadySeconds: 300
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
run: prod-redis
spec:
containers:
- image: redis:4.0
name: redis
---------------------------------

Ratings

Rating is available to Members only.

Please login or register to vote.

No Ratings have been Posted.

Comments

No Comments have been Posted.

Post Comment

Please Login to Post a Comment.
Render time: 0.88 seconds
10,886,077 unique visits