You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose that we change --rc back to bool and add another int flag for specifying replicas, since other controllers also take replicas in their spec. We can default it to -1 as unset, and then we don't specify it in spec (and let K8s API server decide the default value). If it's set to something >= 0, we set it explicitly.
The text was updated successfully, but these errors were encountered:
Right now all flags for specifying controller types are
bool
, except for--rc
, which isint
.This is confusing because I cannot do this
And this (surprisingly) gives me a deployment
I propose that we change
--rc
back tobool
and add anotherint
flag for specifying replicas, since other controllers also takereplicas
in their spec. We can default it to-1
as unset, and then we don't specify it in spec (and let K8s API server decide the default value). If it's set to something >= 0, we set it explicitly.The text was updated successfully, but these errors were encountered: