forked from PinSpace-Org/GistPin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrestart-backend.yaml
More file actions
26 lines (21 loc) 路 1006 Bytes
/
Copy pathrestart-backend.yaml
File metadata and controls
26 lines (21 loc) 路 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
title: Restart GistPin Backend
description: Rolling restart of the backend deployment
severity: low
steps:
- name: Check current pod status
command: kubectl get pods -n gistpin -l app=gistpin-backend
requires_approval: false
- name: Confirm rollout health
command: kubectl rollout status deployment/backend-deployment -n gistpin --timeout=60s
requires_approval: false
- name: Trigger rolling restart
command: kubectl rollout restart deployment/backend-deployment -n gistpin
requires_approval: true
rollback: kubectl rollout undo deployment/backend-deployment -n gistpin
- name: Wait for rollout to complete
command: kubectl rollout status deployment/backend-deployment -n gistpin --timeout=120s
requires_approval: false
rollback: kubectl rollout undo deployment/backend-deployment -n gistpin
- name: Verify pods healthy
command: kubectl get pods -n gistpin -l app=gistpin-backend --field-selector=status.phase=Running
requires_approval: false