File tree Expand file tree Collapse file tree 2 files changed +42
-42
lines changed Expand file tree Collapse file tree 2 files changed +42
-42
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : apps/v1
2
+ kind : Deployment
3
+ metadata :
4
+ name : webpage-deployment
5
+ namespace : production
6
+ spec :
7
+ replicas : 2
8
+ revisionHistoryLimit : 5
9
+ selector :
10
+ matchLabels :
11
+ application : webpage
12
+ strategy :
13
+ type : RollingUpdate
14
+ rollingUpdate :
15
+ maxSurge : 1
16
+ maxUnavailable : 1
17
+ minReadySeconds : 30
18
+ template :
19
+ metadata :
20
+ name : webpage-pod
21
+ labels :
22
+ application : webpage
23
+ spec :
24
+ containers :
25
+ - name : webpage-container
26
+ image : mithuntechnologies/maven-web-application:1
27
+ imagePullPolicy : Always
28
+ ports :
29
+ - containerPort : 8080
30
+ ---
31
+ apiVersion : v1
32
+ kind : Service
33
+ metadata :
34
+ name : webpage-service
35
+ namespace : production
36
+ spec :
37
+ type : NodePort
38
+ selector :
39
+ application : webpage
40
+ ports :
41
+ - port : 80
42
+ targetPort : 8080
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments