11/27/2019, 12:07 AM
I have a Kubernetes deployment with three replicas where one is leader and the other two are standby. The way this software works, the two standby pods never report as Ready; only the leader pod does. This is desirable, because this Deployment is fronted by a Service, and having the non-leader pods not report as Ready keeps them out of rotation in the Service load balancer. Is there a way to tell Pulumi, "this deployment is ready when one of the three pods is Ready?"
Right now it's stuck because it's waiting for all three Pods to be ready, which will never happen, and I don't want to happen.
I found
<|>: "true"
, but is there a more customizable option?