|
|
|
|
|
by atmosx
1460 days ago
|
|
Assuming we're talking over-HTTP traffic, you can use a load balancer in-front of your Kubernetes cluster. We did this at work and works fine (blogpost will be out soon). It allows us to decommission a cluster by removing the cluster from the LB. There's nothing new about this technique. We're using DOKS + CloudFlare Traffic but you can use any LB service (no affiliation, as all products there are pro's and con's). Once the setup is ready, operations are easy: a) Remove cluster from the LB b) Perform cluster operations (ingress upgrade, k8s upgrade, possibly disruptive daemonset operations) c) Add cluster to LB Another pro is that when a region has cloud-provider level issues (happened with FRA1 few days ago) we can remove the cluster from the LB and stop worrying about it until the the issue is fixed. LBs have health-checks and such, to automate addition/remove of clusters. |
|