Direct Prod GKE Core¶
Imported from Confluence
Content may be outdated. Verify before following any procedures. View original | Last updated: August 2024
GKE Update Procedure for Direct¶
This document outlines the steps required to update Google Kubernetes Engine (GKE) for the Direct environment, specifically focusing on Kafka, RedisBloom, and Scylla.
1. Coordinate with the Direct Team¶
Before proceeding with any updates, contact a member of the Direct team to:
- Agree on the plan for restarting Kafka and RedisBloom.
- Determine the appropriate timing to minimize service disruption.
2. Restarting Redis¶
To restart Redis, follow these steps:
-
Restart the Redis Master Node:
-
Ensure the master node is up and running.
- Verify that it is fully loaded with all necessary data.
-
Restart Redis Slave Nodes:
-
Only restart the slave nodes after confirming the master node is operational and has completed data synchronization.
3. Restarting Kafka¶
- Proceed to restart Kafka as agreed with the Direct team.
4. Coordinate with the DS Team (AVE)¶
- Contact the Data Science (DS) team responsible for AVE (Artificial Vision Engine) and coordinate the timing for restarting Scylla.
5. Updating Scylla in GKE¶
To update Scylla in GKE:
-
Create a New Node Pool:
-
Set up a new node pool with the updated GKE version.
-
Migrate Scylla Nodes:
-
Gradually move each Scylla node to the new node pool, one at a time, ensuring minimal disruption to services.