Users Online

· Guests Online: 36

· Members Online: 0

· Total Members: 188
· Newest Member: meenachowdary055

Forum Threads

Newest Threads
No Threads created
Hottest Threads
No Threads created

Latest Articles

19_003.1 GitHub Code - Code.html

19_003.1 GitHub Code - Code.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 38 No Rating
Description
19_003.1 GitHub Code - Code.html



----------------------------------
web-deploy.yml

apiVersion: apps/v1
kind: Deployment
metadata:
name: simple-web
labels:
customer: acg
spec:
selector:
matchLabels:
app: web
replicas: 3
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: web
spec:
containers:
- image: nigelpoulton/acg-web:0.1
name: web-ctr
ports:
- containerPort: 8080

----------------------------------------
web-lb.yml

apiVersion: v1
kind: Service
metadata:
name: web-svc
labels:
app: web
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 8080
selector:
app: web


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

web-nodeport.yml


apiVersion: v1
kind: Service
metadata:
name: web-nodeport
labels:
app: web
spec:
type: NodePort
ports:
- port: 8080
nodePort: 31000
selector:
app: web

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

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.96 seconds
10,886,291 unique visits