Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DryRun bool
NodeName string
MetadataURL string
IgnoreDaemonSets bool
DeleteLocalData bool
KubernetesServiceHost string
KubernetesServicePort string
PodTerminationGracePeriod int
NodeTerminationGracePeriod int
WebhookURL string
WebhookHeaders string
WebhookTemplate string
WebhookProxy string
EnableScheduledEventDraining bool
EnableSpotInterruptionDraining bool
MetadataTries int
CordonOnly bool
TaintNode bool
JsonLogging bool
UptimeFromFile string
EnablePrometheus bool
PrometheusPort int
}
Config arguments set via CLI, environment variables, or defaults
func ParseCliArgs ¶
ParseCliArgs parses cli arguments and uses environment variables as fallback values
Click to show internal directories.
Click to hide internal directories.