Skip to content

Commit 59f267e

Browse files
authored
Merge pull request #529 from aurelianware/claude/fix-portal-rollout-timeout-eTHyI
2 parents 9779c29 + 46aa708 commit 59f267e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/deploy-azure-aks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ jobs:
391391
- name: Rollout restart portal
392392
run: |
393393
kubectl rollout restart deployment/portal -n ${{ env.NAMESPACE }}
394-
kubectl rollout status deployment/portal -n ${{ env.NAMESPACE }} --timeout=180s
394+
kubectl rollout status deployment/portal -n ${{ env.NAMESPACE }} --timeout=600s
395395
396396
- name: Deployment summary
397397
run: |

src/portal/CloudHealthOffice.Portal/k8s/portal-deployment.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ spec:
3636
selector:
3737
matchLabels:
3838
app: portal
39+
strategy:
40+
type: RollingUpdate
41+
rollingUpdate:
42+
maxUnavailable: 0
43+
maxSurge: 1
3944
template:
4045
metadata:
4146
labels:
@@ -192,18 +197,22 @@ spec:
192197
limits:
193198
memory: "512Mi"
194199
cpu: "1000m"
200+
startupProbe:
201+
httpGet:
202+
path: /health
203+
port: 8080
204+
failureThreshold: 30
205+
periodSeconds: 5
195206
livenessProbe:
196207
httpGet:
197208
path: /health
198209
port: 8080
199-
initialDelaySeconds: 30
200210
periodSeconds: 10
201211
timeoutSeconds: 5
202212
readinessProbe:
203213
httpGet:
204214
path: /health
205215
port: 8080
206-
initialDelaySeconds: 10
207216
periodSeconds: 5
208217
timeoutSeconds: 5
209218
---

0 commit comments

Comments
 (0)