// if we don't use this source then the kubelet will do funny, mirror things.
// @see ConfigSourceAnnotationKey
MESOS_CFG_SOURCE=kubetypes.ApiserverSource
)
typeKubeletExecutorServerstruct{
typeKubeletExecutorServerstruct{
*app.KubeletServer
*app.KubeletServer
SuicideTimeouttime.Duration
SuicideTimeouttime.Duration
...
@@ -79,8 +73,14 @@ func (s *KubeletExecutorServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -79,8 +73,14 @@ func (s *KubeletExecutorServer) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&s.LaunchGracePeriod,"mesos-launch-grace-period",s.LaunchGracePeriod,"Launch grace period after which launching tasks will be cancelled. Zero disables launch cancellation.")
fs.DurationVar(&s.LaunchGracePeriod,"mesos-launch-grace-period",s.LaunchGracePeriod,"Launch grace period after which launching tasks will be cancelled. Zero disables launch cancellation.")