File tree Expand file tree Collapse file tree 1 file changed +18
-11
lines changed Expand file tree Collapse file tree 1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ metadata:
99spec :
1010 replicas : 4
1111 strategy :
12- type : RollingUpdate
13- rollingUpdate :
14- maxUnavailable : 25%
15- maxSurge : 1
12+ type : RollingUpdate
13+ rollingUpdate :
14+ maxUnavailable : 25%
15+ maxSurge : 1
1616 selector :
1717 matchLabels :
1818 app : frontend
@@ -26,23 +26,30 @@ spec:
2626 image : 033870383707.dkr.ecr.us-west-2.amazonaws.com/frontend:latest
2727 imagePullPolicy : Always
2828 ports :
29- - containerPort : 8000
29+ - containerPort : 8000
3030 env :
3131 - name : THOUGHTS_BACKEND_URL
3232 value : http://thoughts-service
3333 - name : USER_BACKEND_URL
3434 value : http://users-service
3535 livenessProbe :
3636 exec :
37- command :
38- - curl
39- - http://localhost:8000/
37+ command :
38+ - curl
39+ - http://localhost:8000/
4040 initialDelaySeconds : 5
4141 periodSeconds : 30
4242 readinessProbe :
4343 exec :
44- command :
45- - curl
46- - http://localhost:8000/
44+ command :
45+ - curl
46+ - http://localhost:8000/
4747 initialDelaySeconds : 5
4848 periodSeconds : 10
49+ resources :
50+ requests :
51+ memory : " 64Mi"
52+ cpu : " 60m"
53+ limits :
54+ memory : " 128Mi"
55+ cpu : " 70m"
You can’t perform that action at this time.
0 commit comments