kubernetes/test/e2e/storage/utils
Patrick Ohly d71829a1fc e2e: avoid setting NodeName for CSI driver deployments
We don't want to set the name directly because then starting the pod
can fail when the node is temporarily out of resources
(https://github.com/kubernetes/kubernetes/issues/87855).

For CSI driver deployments, we have three options:
- modify the pod spec with custom code, similar
  to how the NodeSelection utility code does it
- add variants of SetNodeSelection and SetNodeAffinity which
  work with a pod spec instead of a pod
- change their parameter from pod to pod spec and then use
  them also when patching a pod spec

The last approach is used here because it seems more general. There
might be other cases in the future where there's only a pod spec that
needs to be modified.
2020-02-26 10:33:29 +01:00
..
BUILD Use log functions of core framework on e2e/storage/utils 2019-11-13 16:17:11 +09:00
create.go generated: run refactor 2020-02-08 12:30:21 -05:00
deployment.go e2e: avoid setting NodeName for CSI driver deployments 2020-02-26 10:33:29 +01:00
framework.go fix golint errors in test/e2e/storage/utils 2019-05-21 11:11:21 +02:00
host_exec.go e2e: avoid setting NodeName for CSI driver deployments 2020-02-26 10:33:29 +01:00
local.go use log functions of core framework in the 'test/e2e/storage/*' 2019-09-06 10:26:16 +08:00
utils.go generated: run refactor 2020-02-08 12:30:21 -05:00