1. 15 May, 2017 20 commits
  2. 14 May, 2017 3 commits
  3. 13 May, 2017 8 commits
  4. 12 May, 2017 9 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #45692 from caesarxuchao/limit-client-go-package-import-2 · abaffb24
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 44748, 45692)
      
      Limiting client go packages visibility, round 3
      
      Continue the work in the merged PR https://github.com/kubernetes/kubernetes/pull/45258
      
      These packages in client-go will be gone after #44065 is fixed:
      pkg/api/helper, pkg/api/util, internal version of api groups, API install packages. 
      
      This PR removes the dependency on these packages and add bazel visibility rules to prevent relapse.
      abaffb24
    • Kubernetes Submit Queue's avatar
      Merge pull request #44748 from zhangxiaoyu-zidif/cleancode-1-graph_builder · 521badc4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      cleancode: graph_builder.go
      
      It make the code clean and light.
      521badc4
    • Kubernetes Submit Queue's avatar
      Merge pull request #41162 from MrHohn/esipp-ga · 35eba22c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45623, 45241, 45460, 41162)
      
      Promotes Source IP preservation for Virtual IPs from Beta to GA
      
      Fixes #33625. Feature issue: kubernetes/features#27.
      
      Bullet points:
      - Declare 2 fields (ExternalTraffic and HealthCheckNodePort) that mirror the ESIPP annotations.
      - ESIPP alpha annotations will be ignored.
      - Existing ESIPP beta annotations will still be fully supported.
      - Allow promoting beta annotations to first class fields or reversely.
      - Disallow setting invalid ExternalTraffic and HealthCheckNodePort on services. Default ExternalTraffic field for nodePort or loadBalancer type service to "Global" if not set.
      
      **Release note**:
      
      ```release-note
      Promotes Source IP preservation for Virtual IPs to GA.
      
      Two api fields are defined correspondingly:
      - Service.Spec.ExternalTrafficPolicy <- 'service.beta.kubernetes.io/external-traffic' annotation.
      - Service.Spec.HealthCheckNodePort <- 'service.beta.kubernetes.io/healthcheck-nodeport' annotation.
      ```
      35eba22c
    • Kubernetes Submit Queue's avatar
      Merge pull request #45460 from nilebox/nilebox-pod-preset-renaming · dbcfa96c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45623, 45241, 45460, 41162)
      
      Replacing “Pod Injection Policy” with “Pod Preset” in the code documentation
      
      **What this PR does / why we need it**:
      Replacing the leftovers of the old term "Pod Injection Policy" with "Pod Preset" in the code documentation.
      dbcfa96c
    • Kubernetes Submit Queue's avatar
      Merge pull request #45241 from copejon/revert-pr-45101 · f440e190
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45623, 45241, 45460, 41162)
      
      Revert #45101 Mark PersistentVolumes as [Feature:Volumes]
      
      **What this PR does / why we need it**:
      Reverts #45101 
      
      `Feature` tag should only be used when a test/suite has dependencies not met by core CI.  That is not the case for NFS backed PV tests.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      f440e190
    • Kubernetes Submit Queue's avatar
      Merge pull request #45623 from wongma7/subpath-file · 816f8e29
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Don't attempt to make and chmod subPath if it already exists
      
      fixes https://github.com/kubernetes/kubernetes/issues/45613
      
      https://github.com/kubernetes/kubernetes/pull/43775 fixed one bug and introduced another... I overlooked that subPaths can be files, in which case MkDirAll will simply fail and the pod will not able to start.
      
      Regardless of whether it is a directory or a file, there is no need to introduce the MkdirAll->Chmod  procedure if it exists, because if it exists, it should already have the correct permissions.
      
      This needs to be cherry-picked into 1.6.
      
      ```release-note
      Fix pods failing to start if they specify a file as a volume subPath to mount
      ```
      816f8e29
    • Kubernetes Submit Queue's avatar
      Merge pull request #45733 from danwinship/network-test-timeout · 7a9c2f7f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45685, 45572, 45624, 45723, 45733)
      
      Remove a test utility function that is redundant and kinda broken
      
      Framework.WaitForAnEndpoint() has no timeout, so if something goes wrong and the endpoint doesn't get created, the test will hang forever. (This is happening for some reason sometimes in OpenShift right now, and when the CI system eventually times out and kills the VM, it loses the logs that would explain what failed.)
      
      There's already another nearly-identical WaitForEndpoint() method that *does* take a timeout, so people can just use that instead.
      
      ```release-note
      NONE
      ```
      7a9c2f7f
    • Kubernetes Submit Queue's avatar
      Merge pull request #45723 from wojtek-t/simplify_iptables_proxy · 5576fafc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45685, 45572, 45624, 45723, 45733)
      
      Remove reasons from iptables syncProxyRules
      
      The reasons are no longer useful, since we know if something changed anyway, I think.
      5576fafc
    • Kubernetes Submit Queue's avatar
      Merge pull request #45624 from dashpole/kubelet_cleanup · 9c8287d6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 45685, 45572, 45624, 45723, 45733)
      
      Remove unused fields from Kubelet struct
      
      Just a small attempt to clean up some unused fields in the kubelet struct.  This doesn't make any actual code changes.
      
      /assign @mtaufen
      9c8287d6