Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-azure-aks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
- name: Rollout restart portal
run: |
kubectl rollout restart deployment/portal -n ${{ env.NAMESPACE }}
kubectl rollout status deployment/portal -n ${{ env.NAMESPACE }} --timeout=180s
kubectl rollout status deployment/portal -n ${{ env.NAMESPACE }} --timeout=600s

- name: Deployment summary
run: |
Expand Down
13 changes: 11 additions & 2 deletions src/portal/CloudHealthOffice.Portal/k8s/portal-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ spec:
selector:
matchLabels:
app: portal
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
Expand Down Expand Up @@ -192,18 +197,22 @@ spec:
limits:
memory: "512Mi"
cpu: "1000m"
startupProbe:
httpGet:
path: /health
port: 8080
failureThreshold: 30
periodSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5
---
Expand Down
Loading