Months ago I deleted default taint and after upgrading k8s from 1.16 to 1.17 got stuck with pending nginx ingress pod. It has these tolerations:

        for 300s
        for 300s

At the same time I had on the master k8s-m1 taint.

To restore the defaults on your master Kubernetes node run the following command:

$ # k8s-m1 is the name of your master node
$ kubectl taint nodes k8s-m1
$ kubectl taint nodes k8s-m1"":NoSchedule