Skip to content

Node drain podselector field #207

Open
@sangeetha-thackarajan

Description

@sangeetha-thackarajan

// DrainSpec encapsulates kubectl drain parameters minus node/pod selectors.
type DrainSpec struct {
Timeout *time.Duration json:"timeout,omitempty"
GracePeriod *int32 json:"gracePeriod,omitempty"
DeleteLocalData *bool json:"deleteLocalData,omitempty"
IgnoreDaemonSets *bool json:"ignoreDaemonSets,omitempty"
Force bool json:"force,omitempty"
DisableEviction bool json:"disableEviction,omitempty"
SkipWaitForDeleteTimeout int json:"skipWaitForDeleteTimeout,omitempty"
}

will there be an option to use --podselector in DrainSpec? right now only !upgrade.cattle.io/controller=system-upgrade-controller pods (and the Daemonsets) are not evicted. I want to skip some other critical controller-pods(that are hosting my images and RPMs) as well in SUC plan.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions