1. 22 Mar, 2017 4 commits
  2. 21 Mar, 2017 25 commits
  3. 20 Mar, 2017 11 commits
    • Random-Liu's avatar
      fbc320af
    • Kubernetes Submit Queue's avatar
      Merge pull request #43399 from derekwaynecarr/fix_node_e2e · e4536e85
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42452, 43399)
      
      Fix faulty assumptions in summary API testing
      
      **What this PR does / why we need it**:
      1. on systemd, launch kubelet in dedicated part of cgroup hierarchy
      1. bump allowable memory usage for busy box containers as my own local testing often showed values > 1mb which were valid per the memory limit settings we impose
      1. there is a logic flaw today in how we report node.memory.stats that needs to be fixed in follow-on.
      
      for the last issue, we look at `/sys/fs/cgroup/memory.stat[rss]` value which if you have global accounting enabled on systemd machines (as expected) will report 0 because nothing runs local to the root cgroup.  we really want to be showing the total_rss value for non-leaf cgroups so we get the full hierarchy of usage.
      e4536e85
    • Kubernetes Submit Queue's avatar
      Merge pull request #42452 from jingxu97/Mar/nodeNamePrefix · a2d74cda
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42452, 43399)
      
      Modify getInstanceByName to avoid calling getInstancesByNames
      
      This PR modify getInstanceByname to loop through all management zones
      directly instead of calling getInstancesByNames. Currently
      getInstancesByNames use a node name prefix as a filter to list the
      instances. If the prefix does not match, it will return all instances
      which is very wasteful since getInstanceByName only query one instance
      with a specific name.
      
      Partially fix issue #42445
      a2d74cda
    • Christian Bell's avatar
      Unify test timeouts under a common name. · 273eb6b9
      Christian Bell authored
      273eb6b9
    • Janet Kuo's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #43368 from feiskyer/dns-policy · 948e3754
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43398, 43368)
      
      CRI: add support for dns cluster first policy
      
      **What this PR does / why we need it**:
      
      PR #29378 introduces ClusterFirstWithHostNet policy but only dockertools was updated to support the feature. 
      
      This PR updates kuberuntime to support it for all runtimes.
      
      
      **Which issue this PR fixes** 
      
      fixes #43352
      
      **Special notes for your reviewer**:
      
      Candidate for v1.6.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      cc @thockin @luxas @vefimova @Random-Liu
      948e3754
    • Kubernetes Submit Queue's avatar
      Merge pull request #43398 from enisoc/deletion-race-flake · bc82d87f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Deflake TestSyncDeploymentDeletionRace
      
      **What this PR does / why we need it**:
      
      The cache was sometimes catching up while we were testing the case
      where the cache is not yet caught up.
      
      Before this fix, I could reproduce the failure with the following
      command. After the fix, it passes.
      
      ```
      go test -count 100000 -run TestSyncDeploymentDeletionRace
      ```
      
      I checked the other controllers, and they all were already not starting informers for the deletion race test. I also checked that the deletion race tests for other controllers all pass with `-count 100000`.
      
      **Which issue this PR fixes**:
      
      Fixes #43390
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      bc82d87f
    • Kubernetes Submit Queue's avatar
      Merge pull request #43370 from feiskyer/port-mapping · e668ee11
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42659, 43370)
      
      dockershim: process protocol correctly for port mapping
      
      **What this PR does / why we need it**:
      
      dockershim: process protocol correctly for port mapping.
      
      **Which issue this PR fixes** 
      
      Fixes #43365.
      
      **Special notes for your reviewer**:
      
      Should be included in v1.6.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      cc/ @Random-Liu @justinsb @kubernetes/sig-node-pr-reviews
      e668ee11
    • Kubernetes Submit Queue's avatar
      Merge pull request #42659 from enisoc/controller-ref-rc-rs · e1b4d034
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42659, 43370)
      
      RC/RS: Fixes for ControllerRef.
      
      **What this PR does / why we need it**:
      
      This fixes some issues with RC/RS ControllerRef handling that were brought up in reviews for other controller types, after #41984 was merged. See the individual commit messages for details.
      
      **Which issue this PR fixes**:
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      ```
      e1b4d034
    • Derek Carr's avatar
      Fix faulty assumptions in summary API testing · 5c8b9577
      Derek Carr authored
      5c8b9577
    • Anthony Yeh's avatar
      Deflake TestSyncDeploymentDeletionRace · 0b923364
      Anthony Yeh authored
      The cache was sometimes catching up while we were testing the case
      where the cache is not yet caught up.
      
      Before this fix, I could reproduce the failure with the following
      command. After the fix, it passes.
      
      ```
      go test -count 100000 -run TestSyncDeploymentDeletionRace
      ```
      0b923364