QuestionQ111

VerifiedImplementing observability practices and troubleshooting issues

You receive a Cloud Monitoring alert that indicates possible malicious activity on a node in your Google Kubernetes Engine (GKE) cluster. The alert suggests that a container running on that node might be compromised. You must isolate the node to prevent further compromise while you investigate the issue, while also minimizing disruption to applications running in the cluster. What should you do?

Explanation

Cordoning prevents new Pods from being scheduled onto the suspect node. Draining then evicts its existing workloads so managed workloads can be rescheduled to other nodes, reducing exposure while preserving application availability. In GKE security incident mitigation, draining respects PodDisruptionBudgets, which helps limit disruption.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!