kubernetes/plugin/pkg/admission
Jing Xu abbde43374 Add sync state loop in master's volume reconciler
At master volume reconciler, the information about which volumes are
attached to nodes is cached in actual state of world. However, this
information might be out of date in case that node is terminated (volume
is detached automatically). In this situation, reconciler assume volume
is still attached and will not issue attach operation when node comes
back. Pods created on those nodes will fail to mount.

This PR adds the logic to periodically sync up the truth for attached volumes kept in the actual state cache. If the volume is no longer attached to the node, the actual state will be updated to reflect the truth. In turn, reconciler will take actions if needed.

To avoid issuing many concurrent operations on cloud provider, this PR
tries to add batch operation to check whether a list of volumes are
attached to the node instead of one request per volume.

More details are explained in PR #33760
2016-10-28 09:24:53 -07:00
..
admit autogenerated 2016-10-21 17:32:32 -07:00
alwayspullimages autogenerated 2016-10-21 17:32:32 -07:00
antiaffinity autogenerated 2016-10-21 17:32:32 -07:00
deny autogenerated 2016-10-21 17:32:32 -07:00
exec autogenerated 2016-10-21 17:32:32 -07:00
gc autogenerated 2016-10-21 17:32:32 -07:00
imagepolicy autogenerated 2016-10-21 17:32:32 -07:00
initialresources autogenerated 2016-10-21 17:32:32 -07:00
limitranger autogenerated 2016-10-21 17:32:32 -07:00
namespace autogenerated 2016-10-21 17:32:32 -07:00
persistentvolume/label Add sync state loop in master's volume reconciler 2016-10-28 09:24:53 -07:00
podnodeselector autogenerated 2016-10-21 17:32:32 -07:00
resourcequota autogenerated 2016-10-21 17:32:32 -07:00
security autogenerated 2016-10-21 17:32:32 -07:00
securitycontext/scdeny autogenerated 2016-10-21 17:32:32 -07:00
serviceaccount autogenerated 2016-10-21 17:32:32 -07:00
storageclass/default autogenerated 2016-10-21 17:32:32 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00