1. 27 Jan, 2017 9 commits
    • Madhusudan.C.S's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #39999 from tanshanshan/unit-test-scheduler1 · 72138162
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40543, 39999)
      
      Improve code coverage for scheduler/algorithm/priorities
      
      **What this PR does / why we need it**:
      
      Improve code coverage for scheduler/algorithm/priorities from #39559 
      
      This is my first unit test  for kubernetes , thanks for your review.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      72138162
    • Kubernetes Submit Queue's avatar
      Merge pull request #40543 from deads2k/generic-30-feature · 1b8ae3a7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40543, 39999)
      
      remove pkg/feature dependency from genericapiserver.
      
      @sttts I think you just forgot this when you were snipping the rest of the link.  If I understood the previous pull correctly, this ought to ensure proper registration of the bits we need, right?
      1b8ae3a7
    • Kubernetes Submit Queue's avatar
      Merge pull request #40546 from ixdy/bazel-release-tars · be835455
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Default EMBED_LICENSE_TARGETS=true for make bazel-release
      
      **What this PR does / why we need it**: the cluster startup scripts currently fail if `LICENSES` or `kubernetes-src.tar.gz` don't exist, e.g. https://github.com/kubernetes/kubernetes/blob/master/cluster/gce/gci/configure.sh#L180-L181.
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      be835455
    • Kubernetes Submit Queue's avatar
      Merge pull request #40249 from rmmh/remove-node-out-of-disk-space · bb29efb0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249)
      
      Disable the NodeOutOfDisk test. Fixes #40246.
      
      It destroys test clusters to the point that other tests also fail, and almost never passes.
      
      https://k8s-testgrid.appspot.com/google-gce#gce-flaky&width=20&include-filter-by-regex=space
      
      /cc @madhusudancs @vishh 
      
      ```release-note
      NONE
      ```
      bb29efb0
    • Kubernetes Submit Queue's avatar
      Merge pull request #40534 from aveshagarwal/master-pod-anti-affinity-e2e · 80aea340
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249)
      
      Fix e2e: validates that InterPodAntiAffinity is respected if matching 2
      
      **What this PR does / why we need it**:
      Fixed e2e: validates that InterPodAntiAffinity is respected if matching 2
      
      ```
      • Failure [120.255 seconds]
      [k8s.io] SchedulerPredicates [Serial]
      /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:656
        validates that InterPodAntiAffinity is respected if matching 2 [It]
        /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:561
      
        Not scheduled Pods: []v1.Pod(nil)
        Expected
            <int>: 0
        to equal
            <int>: 1
      
        /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:933
      ```
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      https://github.com/kubernetes/kubernetes/issues/30142
      
      
      **Special notes for your reviewer**:
      xref: https://bugzilla.redhat.com/show_bug.cgi?id=1413748
      While looking into the above bug, I found that the e2e was failing.
      
      **Release note**:
      
      ```release-note
      ```
      80aea340
    • Kubernetes Submit Queue's avatar
      Merge pull request #40547 from PI-Victor/fix_typo_logging · 892cd7a2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249)
      
      fix a typo in cni log
      
      **What this PR does / why we need it**:
      fixes a typo s/unintialized/uninitialized in pkg/kubelet/network/cni/cni.go
      
      **Release note**:
      
      ```release-note
      ```
      892cd7a2
    • Kubernetes Submit Queue's avatar
      Merge pull request #40073 from matthyx/master · e3a37434
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249)
      
      Issue #13501 - printEvent Source to much more cleaner
      
      Create a formatEventSource func and use it.
      
      
      
      **What this PR does / why we need it**:
      Adds a smarter way to print EventSource, removing "{ }" and the eventual extra ", " when Host is empty.
      It was also reported in OpenShift issue https://github.com/openshift/origin/issues/6586
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #13501 
      
      **Special notes for your reviewer**:
      I have used this new func in all user facing printouts, but there are other places where EventSource are printed to logs, like DumpEventsInNamespace in test/e2e/framework/util.go for instance.
      Don't know if I should correct there too...
      
      **Release note**:
      
      ```release-note
      Improve formatting of EventSource in kubectl get and kubectl describe
      ```
      e3a37434
    • Kubernetes Submit Queue's avatar
      Merge pull request #40046 from juanvallejo/jvallejo/update-multiple-types-requested-check · bef60b86
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249)
      
      update check for "all" resources
      
      This patch updates the check for `all` resources to handle cases where a resource's name is "all". Rather than cycling through all given args until `all` is found, this patch makes sure that only a single argument `all` was specified at all.
      
      **Release note**:
      ```release-note
      release-note-none
      ```
      
      @fabianofranz @pwittrock
      bef60b86
  2. 26 Jan, 2017 31 commits