make pod termination grace period configurable

This commit is contained in:
Murat Kabilov
2017-08-18 16:38:25 +02:00
parent c557027e12
commit 71dfb33b2b
3 changed files with 4 additions and 1 deletions
+2
View File
@@ -63,6 +63,8 @@ type Config struct {
Workers uint32 `name:"workers" default:"4"`
APIPort int `name:"api_port" default:"8080"`
RingLogLines int `name:"ring_log_lines" default:"100"`
PodTerminateGracePeriod time.Duration `name:"pod_terminate_grace_period" default:"5m"`
}
// MustMarshal marshals the config or panics