File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ kind: Service
1515metadata :
1616 name : login-service
1717 namespace : microforge-dev-ns
18+ labels :
19+ app : login-service
1820spec :
1921 selector :
2022 app : login-service
@@ -33,6 +35,11 @@ metadata:
3335 app : login-service
3436spec :
3537 replicas : 1
38+ strategy :
39+ type : RollingUpdate
40+ rollingUpdate :
41+ maxSurge : 1
42+ maxUnavailable : 0
3643 selector :
3744 matchLabels :
3845 app : login-service
4350 spec :
4451 containers :
4552 - name : login-service
46- image : manojmdocker14/microforge-login-service:v1.2 .0
53+ image : manojmdocker14/microforge-login-service:v1.1 .0
4754 ports :
4855 - containerPort : 8081
56+ livenessProbe :
57+ httpGet :
58+ path : /actuator/health
59+ port : 8081
60+ initialDelaySeconds : 70
61+ periodSeconds : 20
62+ timeoutSeconds : 10
63+ readinessProbe :
64+ httpGet :
65+ path : /actuator/health
66+ port : 8081
67+ initialDelaySeconds : 30
68+ periodSeconds : 10
69+ timeoutSeconds : 5
4970 env :
5071 - name : DB_HOST
5172 value : login-mysql
You can’t perform that action at this time.
0 commit comments