-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathsession-65.txt
32 lines (20 loc) · 935 Bytes
/
session-65.txt
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
27
28
29
30
31
Cluster creation and upgrade
-----------------------------
admin activity
aws eks update-kubeconfig --region us-east-1 --name expense-dev
cluster is running, few application are running inside
Cluster upgrade is planned
--------------------------
no downtime to the existing apps but no new release and no new deployments in the upgrade time...
communications sent about cluster upgrade activity is started...
1. first we need to get another node group called green.
2. taint the green nodes, so that they should not get any pods scheduled
kubectl taint nodes ip-10-0-11-151.ec2.internal project=expense:NoSchedule
3. now upgrade your control plane, do it from console
4. upgrade green node group also to 1.30
5. shift the workloads from 1.29 node group to 1.30 nodegroup
6. cordon blue nodes
7. untaint green nodes
8. drain blue nodes
inform all stake holders, application teams. perform sanity testing
close the activity