pkg/daemon: update drain helper timeout to 90s to accomodate pods with longer
expected eviction times for example: openshift-ingress/router
The 20s timeout was added when the switch to the upstream drain lib was made,
which resulted in router pod erroring on 20s consistently.
@@ -298,7 +298,7 @@ func (dn *Daemon) ClusterConnect(
IgnoreAllDaemonSets: true,
DeleteLocalData: true,
GracePeriodSeconds: -1,
- Timeout: 20 * time.Second,
+ Timeout: 90 * time.Second,
OnPodDeletedOrEvicted: func(pod *corev1.Pod, usingEviction bool) {
verbStr := "Deleted"
if usingEviction {
