mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-19 07:55:09 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix out of bounds error on non-64-bit machines This fixes an out of bounds error when running the controllers on a 32-bit machine ``` W0628 17:52:30.171975 1 node_lifecycle_controller.go:782] Missing timestamp for Node kube-master. Assuming now as a timestamp. I0628 17:52:30.172115 1 taint_manager.go:205] Starting NoExecuteTaintManager panic: runtime error: index out of range goroutine 1740 [running]: k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler.(*NoExecuteTaintManager).Run.func1(0x165e6000, 0x8, 0x15984100) /workspace/anago-v1.11.0-rc.3.3+91e7b4fd31fcd3/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler/taint_manager.go:229 +0x1f8 created by k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler.(*NoExecuteTaintManager).Run /workspace/anago-v1.11.0-rc.3.3+91e7b4fd31fcd3/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/pkg/controller/nodelifecycle/scheduler/taint_manager.go:217 +0x27c ``` See https://play.golang.org/p/rIpicHGHtiT for an example of the coercion overflow /assign @wojtek-t /kind bug ```release-note fixes an out of range panic in the NoExecuteTaintManager controller when running a non-64-bit build ```