INNER CODE UNIT · Go
reportingPeriod
kserve/kserve · cmd/agent/main.go:93
reportingPeriod = 1 * time.Second //nolint: unused
// Duration the /wait-for-drain handler should wait before returning.
// This is to give networking a little bit more time to remove the pod
// from its configuration and propagate that to all loadbalancers and nodes.
drainSleepDuration = 30 * time.Second
)
type config struct {
// Making the below fields optional since raw deployment won't have them
ContainerConcurrency int `split_words:"true"`
QueueServingPort int `split_words:"true"`
UserPort int `split_words:"true"`
RevisionTimeoutSeconds int `split_words:"true"`
ServingReadinessProbe string `split_words:"true" required:"true"`
// See https://github.com/knative/serving/issues/12387
EnableHTTP2AutoDetection bool `envconfig:"ENABLE_HTTP2_AUTO_DETECTION"` // optional
EnableMultiContainerProbes bool `split_words:"true"`