1. 14 Sep, 2016 1 commit
    • Justin Santa Barbara's avatar
      AWS: More robust volume-mount poll · 3688dc4a
      Justin Santa Barbara authored
      When we are mounting a lot of volumes, we frequently hit rate limits.
      
      Reduce the frequency with which we poll the status; introduces a bit of
      latency but probably matches common attach times pretty closely, and
      avoids causing rate limit problems everywhere.
      
      Also, we now poll for longer, as when we timeout, the volume is in an
      indeterminate state: it may be about to complete.  The volume controller
      can tolerate a slow attach/detach, but it is harder to tolerate the
      indeterminism.
      
      Finally, we ignore a sequence of errors in DescribeVolumes (up to 5 in a
      row currently).  So we will eventually return an error, but a one
      off-failure (e.g. due to rate limits) does not cause us to spuriously
      fail.
      3688dc4a
  2. 13 Sep, 2016 33 commits
  3. 12 Sep, 2016 6 commits
    • David McMahon's avatar
      Update CHANGELOG.md for v1.3.7. · 71af3312
      David McMahon authored
      71af3312
    • Kubernetes Submit Queue's avatar
      Merge pull request #32242 from jingxu97/bug-wrongvolume-9-2 · 6a9a93d4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix race condition in updating attached volume between master and node
      
      This PR tries to fix issue #29324. The cause of this issue is that a race
      condition happens when marking volumes as attached for node status. This
      PR tries to clean up the logic of when and where to mark volumes as
      attached/detached. Basically the workflow as follows,
      1. When volume is attached sucessfully, the volume and node info is
      added into nodesToUpdateStatusFor to mark the volume as attached to the
      node.
      2. When detach request comes in, it will check whether it is safe to
      detach now. If the check passes, remove the volume from volumesToReportAsAttached
      to indicate the volume is no longer considered as attached now.
      Afterwards, reconciler tries to update node status and trigger detach
      operation. If any of these operation fails, the volume is added back to
      the volumesToReportAsAttached list showing that it is still attached.
      
      These steps should make sure that kubelet get the right (might be
      outdated) information about which volume is attached or not. It also
      garantees that if detach operation is pending, kubelet should not
      trigger any mount operations.
      6a9a93d4
    • Kubernetes Submit Queue's avatar
      Merge pull request #31564 from ericchiang/update-go-oidc · 32a32962
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      vendor: update github.com/coreos/go-oidc client package
      
      This change updates the github.com/coreos/go-oidc package to it's latest commit
      (since we don't version that package).
      
      Notable changes:
      
      - Throw out JWTs with invalid claims early (coreos/go-oidc#97, brougt up in #30457)
      - Remove the capnslog dependency (coreos/go-oidc#95)
      - Support for Azure AD oddities (coreos/go-oidc#87)
      
      cc @kubernetes/sig-auth
      32a32962
    • derekwaynecarr's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #31804 from yujuhong/shim_test2 · d66fde7e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      dockershim: add unit tests for sandbox/container status
      
      Part of #31459
      d66fde7e
    • Kubernetes Submit Queue's avatar
      Merge pull request #32515 from nikhiljindal/fixFedRSTest · 6a739aae
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      federation e2e: Initialising cluster var before using it
      
      Fixing https://github.com/kubernetes/kubernetes/pull/31904#discussion_r78433657
      
      cc @jianhuiz @kubernetes/sig-cluster-federation
      6a739aae