1. 02 Aug, 2018 2 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #66832 from msau42/udev · d3c09656
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64645, 66832). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Detect if GCE PD udev link is wrong and try to correct it
      
      **What this PR does / why we need it**:
      udev can miss scsi events and not update device links properly when disks are detached and reattached to the same node in a different order.  This PR workarounds the issue by comparing the udev link name, which is the PD disk name, with the scsi disk serial number returned from scsi_id, and prevents mounting of the disk if the link is wrong.  It will also run `udevadm trigger` on the disk to try to correct the bad link.
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      This fix prevents a GCE PD volume from being mounted if the udev device link is stale and tries to correct the link.
      ```
      d3c09656
    • Kubernetes Submit Queue's avatar
      Merge pull request #64645 from aveshagarwal/master-quota-priority-e2e · c6de629b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64645, 66832). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
       Add e2e tests for resource quota's priority class scope.
      
      This pr is built on top of https://github.com/kubernetes/kubernetes/pull/57963.
      
      @vikaschoudhary16 @sjenning @derekwaynecarr @bsalamat 
      @kubernetes/sig-scheduling-pr-reviews 
      
      ```release-note
      None
      ```
      c6de629b
  2. 01 Aug, 2018 31 commits
  3. 31 Jul, 2018 7 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #60551 from brahmaroutu/conf_CRD · 99133f51
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66445, 66643, 60551). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Adding details to Conformance Tests using RFC 2119 standards.
      
      This PR is part of the conformance documentation. This is to provide more formal specification using RFC 2119 keywords to describe the test so that who ever is running conformance tests do not have to go through the code to understand why and what is tested.
      The documentation information added here into each of the tests eventually result into a document which is currently checked in at location https://github.com/cncf/k8s-conformance/blob/master/docs/KubeConformance-1.9.md
      
      I would like to have this PR reviewed for v1.10 as I consider it important to strengthen the conformance documents.
      99133f51
    • Kubernetes Submit Queue's avatar
      Merge pull request #66643 from smarterclayton/improve_events · f49708bd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66445, 66643, 60551). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Improve the output of `kubectl get events`
      
      Events have long shown the most data of the core objects in their output, but that data is of varying use to a user. Following the principle that events are intended for the system to communicate information back to the user, and that Message is the primary human readable field, this commit alters the default columns to ensure event is shown with the most width given to the message, and all other fields organized by their relevance to the message.
      
      1. Events are no longer sorted in the printer (this was a bug and was broken with paging and server side rendering)
      2. Only the last seen, type, reason, kind, and message fields are shown by default, which makes the message prominent
      3. Source, subobject, count, and first seen are only shown under `-o wide`
      4. The duration fields were changed to be the more precise output introduced for job duration (2-3 sig figs)
      5. Prioritized the column order for scanning - when, how important, what kind of error, what kind of object, and the message.
      6. Trim trailing newlines on the message.
      
      ```release-note
      Improved the output of `kubectl get events` to prioritize showing the message, and move some fields to `-o wide`.
      ```
      
      ```
      $ kubectl get events --sort-by lastTimestamp
      LAST SEEN TYPE      REASON                   KIND                    MESSAGE
      16m       Normal    SawCompletedJob          CronJob                 Saw completed job: image-mirror-origin-v3.11-quay-1532581200
      16m       Normal    SuccessfulDelete         CronJob                 Deleted job image-mirror-origin-v3.11-quay-1532577600
      14m       Normal    Scheduled                Pod                     Successfully assigned 50c42204-9091-11e8-b2a1-0a58ac101869 to origin-ci-ig-n-fqfh
      14m       Normal    Pulling                  Pod                     pulling image "docker-registry.default.svc:5000/ci/commenter:latest"
      14m       Normal    Created                  Pod                     Created container
      14m       Normal    Pulled                   Pod                     Successfully pulled image "docker-registry.default.svc:5000/ci/commenter:latest"
      14m       Normal    Started                  Pod                     Started container
      14m       Normal    SandboxChanged           Pod                     Pod sandbox changed, it will be killed and re-created.
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m14s     Normal    ScaleDown                Pod                     deleting pod for node scale down
      4m13s     Normal    SuccessfulCreate         ReplicationController   Created pod: tide-30-hmncf
      4m13s     Normal    Scheduled                Pod                     Successfully assigned tide-30-hmncf to origin-ci-ig-n-x64l
      4m12s     Normal    SuccessfulCreate         ReplicationController   Created pod: console-jenkins-operator-16-dd5k8
      4m12s     Normal    SuccessfulCreate         ReplicationController   Created pod: sinker-23-scfmt
      ```
      f49708bd
    • Kubernetes Submit Queue's avatar
      Merge pull request #66445 from rosti/kubeadm-test-cmd-init · 65ba40c2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66445, 66643, 60551). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      kubeadm: Improve kubeadm init cmd tests
      
      **What this PR does / why we need it**:
      
      This PR improves kubeadm init cmd tests in the following ways:
      
      - Fix a few cases that were always successful (despite completely wrong).
      - Add more test cases (for different configs in particular)
      - Use dry run, to avoid modifying the system and using kubeadm reset
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes NONE
      
      **Special notes for your reviewer**:
      /cc @kubernetes/sig-cluster-lifecycle-pr-reviews
      /area kubeadm
      /assign @luxas
      /assign @timothysc
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      65ba40c2
    • Srini Brahmaroutu's avatar
    • Maria Alejandra Kurylec's avatar
      Note: · 677eaa5b
      Maria Alejandra Kurylec authored
      this PR is the result of splitting https://github.com/kubernetes/kubernetes/pull/65793 into 2 sections
      1) This part, addressing the refactor so eligible-test-for-conformance can use get rid of privileged security context.
      2) a second part that will address the promotion of the testcases to be in conformance suite
      
      Changes:
      a) demoted privileged mode for these tests (not needed)
      b) regular tests (the other ones existing in the file) will still be using privileged security context.
      c) adding privilegedSecurityContext field to VolInfo, so each volume-flavor can let the test know if the security context has to be privileged or not.
      This allows granular changes and updates per volume).
      d) fixing formatting issue.
      677eaa5b
    • Kubernetes Submit Queue's avatar
      Merge pull request #66816 from cofyc/revert66061 · 167a513f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66270, 60554, 66816). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Revert "Passing `KUBE_TEST_ARGS` variable to make through process environment"
      
      This reverts commit fda0edcd.
      
      
      
      **What this PR does / why we need it**:
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Fixes #66782
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      167a513f
    • Kubernetes Submit Queue's avatar
      Merge pull request #60554 from brahmaroutu/conf_sched · 2579ecd7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66270, 60554, 66816). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Adding details to Conformance Tests using RFC 2119 standards.
      
      This PR is part of the conformance documentation. This is to provide more formal specification using RFC 2119 keywords to describe the test so that who ever is running conformance tests do not have to go through the code to understand why and what is tested.
      The documentation information added here into each of the tests eventually result into a document which is currently checked in at location https://github.com/cncf/k8s-conformance/blob/master/docs/KubeConformance-1.9.md
      
      I would like to have this PR reviewed for v1.10 as I consider it important to strengthen the conformance documents.
      2579ecd7