Skip to content

Commit

Permalink
Set KFservice default timeout to lower value (kubeflow#395)
Browse files Browse the repository at this point in the history
* Set KFservice default timeout to lower value

This is to reduce default terminationGracePeriod so that user-container
which ignore SIGTERM can be terminated more quickly
Fix kubeflow#394

* Set KFservice default timeout to 10 seconds
  • Loading branch information
pradithya aria authored and k8s-ci-robot committed Oct 2, 2019
1 parent 6af8d5d commit a492913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var (
// Controller Constants
var (
ControllerLabelName = KFServingName + "-controller-manager"
DefaultTimeout int64 = 300
DefaultTimeout int64 = 10
DefaultScalingTarget = "1"
)

Expand Down

0 comments on commit a492913

Please sign in to comment.