We want to have a cookbook we can use to completely depool all services running on a kubernetes cluster from the discovery system, or to depool just one.
A cli I could imagine would be:
# Depool a cluster from traffic for one or more services # This will need to check that the service is available in some other cluster before acting $ cookbook sre.k8s.depool-service <k8s-cluster> [SVC1,SVC2,...] # Pool a cluster for one or more services $ cookbook sre.k8s.pool-service <k8s-cluster> [SVC1,...] # Check status of traffic to services $ cookbook.sre.k8s.check-service-route [SVC1,...]