@@ -98,6 +101,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -98,6 +101,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
"The period for syncing nodes from cloudprovider. Longer periods will result in "+
"The period for syncing nodes from cloudprovider. Longer periods will result in "+
"fewer calls to cloud provider, but may delay addition of new nodes to cluster.")
"fewer calls to cloud provider, but may delay addition of new nodes to cluster.")
fs.DurationVar(&s.ResourceQuotaSyncPeriod,"resource_quota_sync_period",s.ResourceQuotaSyncPeriod,"The period for syncing quota usage status in the system")
fs.DurationVar(&s.ResourceQuotaSyncPeriod,"resource_quota_sync_period",s.ResourceQuotaSyncPeriod,"The period for syncing quota usage status in the system")
fs.DurationVar(&s.NamespaceSyncPeriod,"namespace_sync_period",s.NamespaceSyncPeriod,"The period for syncing namespace life-cycle updates")
fs.DurationVar(&s.PodEvictionTimeout,"pod_eviction_timeout",s.PodEvictionTimeout,"The grace peroid for deleting pods on failed nodes.")
fs.DurationVar(&s.PodEvictionTimeout,"pod_eviction_timeout",s.PodEvictionTimeout,"The grace peroid for deleting pods on failed nodes.")
Items[]Minion`json:"items" description:"list of nodes"`
Items[]Minion`json:"items" description:"list of nodes"`
}
}
typeFinalizerNamestring
// These are internal finalizer values to Kubernetes, must be qualified name unless defined here
const(
FinalizerKubernetesFinalizerName="kubernetes"
)
// NamespaceSpec describes the attributes on a Namespace
// NamespaceSpec describes the attributes on a Namespace
typeNamespaceSpecstruct{
typeNamespaceSpecstruct{
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
Finalizers[]FinalizerName`json:"finalizers,omitempty" description:"an opaque list of values that must be empty to permanently remove object from storage"`
}
}
// NamespaceStatus is information about the current status of a Namespace.
// NamespaceStatus is information about the current status of a Namespace.
Items[]Minion`json:"items" description:"list of nodes"`
Items[]Minion`json:"items" description:"list of nodes"`
}
}
typeFinalizerNamestring
// These are internal finalizer values to Kubernetes, must be qualified name unless defined here
const(
FinalizerKubernetesFinalizerName="kubernetes"
)
// NamespaceSpec describes the attributes on a Namespace
// NamespaceSpec describes the attributes on a Namespace
typeNamespaceSpecstruct{
typeNamespaceSpecstruct{
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
Finalizers[]FinalizerName`json:"finalizers,omitempty" description:"an opaque list of values that must be empty to permanently remove object from storage"`
}
}
// NamespaceStatus is information about the current status of a Namespace.
// NamespaceStatus is information about the current status of a Namespace.
Items[]Node`json:"items" description:"list of nodes"`
Items[]Node`json:"items" description:"list of nodes"`
}
}
typeFinalizerNamestring
// These are internal finalizer values to Kubernetes, must be qualified name unless defined here
const(
FinalizerKubernetesFinalizerName="kubernetes"
)
// NamespaceSpec describes the attributes on a Namespace
// NamespaceSpec describes the attributes on a Namespace
typeNamespaceSpecstruct{
typeNamespaceSpecstruct{
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage
Finalizers[]FinalizerName`json:"finalizers,omitempty" description:"an opaque list of values that must be empty to permanently remove object from storage"`
}
}
// NamespaceStatus is information about the current status of a Namespace.
// NamespaceStatus is information about the current status of a Namespace.