pacoxu / kubeadm-operator

Test work on the design of kubeadm operator. Also you can try https://github.com/chendave/kubeadm-operator
Apache License 2.0
10 stars 2 forks source link

drain: support ignore daemonsets #45

Open github-actions[bot] opened 2 years ago

github-actions[bot] commented 2 years ago

support ignore daemonsets

https://github.com/pacoxu/kubeadm-operator/blob/867d34f7974d42b73cd340f55a49dad78753c4c1/api/v1alpha1/command_descriptor_types.go#L107

type KubeadmUpgradeNodeCommandSpec struct {
    // for dry run mode
    DryRun bool `json:"dryRun,omitempty"`
}

// KubectlDrainCommandSpec provides...
type KubectlDrainCommandSpec struct {
    // +optional
    // Nodes is a list of nodes to uncordon
    Nodes []string `json:"nodes"`

    // TODO support dry-run
    // TODO support ignore daemonsets

    // INSERT ADDITIONAL SPEC FIELDS -
    // Important: Run "make" to regenerate code after modifying this file

05f0afbe6188e44ab823247b8b6d26d6ee95a59c