1. 01 Sep, 2017 14 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #51408 from feiskyer/magic · d56b6761
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50719, 51216, 50212, 51408, 51381)
      
      Use constants instead of magic string for runtime names
      
      **What this PR does / why we need it**:
      
      Use constants instead of magic string for runtime names.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #51678
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d56b6761
    • Kubernetes Submit Queue's avatar
      Merge pull request #50212 from jhorwit2/jah/psp-hostpath · 39377837
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50719, 51216, 50212, 51408, 51381)
      
      Allow PSP's to specify a whitelist of allowed paths for host volume
      
      **What this PR does / why we need it**:
      
      Reverts the revert for the allowed host path feature that was moved from v1.7 to v1.8. This PR also changes the api as discussed in https://github.com/kubernetes/kubernetes/pull/47811.
      
      Original pr: https://github.com/kubernetes/kubernetes/pull/43946
      revert: https://github.com/kubernetes/kubernetes/pull/47851
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #29326
      
      **Special notes for your reviewer**:
      
      cc @liggitt @ericchiang @php-coder 
      
      It seems the api build process has changed. Hopefully I did it right 👼 .
      
      **Release note**:
      
      ```release-note
      Allow PSP's to specify a whitelist of allowed paths for host volume
      ```
      39377837
    • Kubernetes Submit Queue's avatar
      Merge pull request #51216 from stevekuznetsov/skuznets/fix-import-verifier · 23ba6038
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50719, 51216, 50212, 51408, 51381)
      
      Fix prefixing bug in import verifier
      
      In order to check if an import is of an allowed tree, we need to check
      that the import is either literally to the base of the tree or that the
      import is below the tree (the import, suffixed with `/`, should be a
      prefix) instead of checking simply that the import is a prefix of the
      allowed tree, as that causes issues with packages that are prefixes of
      each other, like `k8s.io/api` and `k8s.io/apimachinery`.
      Signed-off-by: 's avatarSteve Kuznetsov <skuznets@redhat.com>
      
      ```release-note
      NONE
      ```
      
      Fixes https://github.com/kubernetes/kubernetes/issues/51212
      /assign @sttts @deads2k 
      
      This will be broken right now hopefully you'll be able to build on top to fix it @sttts
      23ba6038
    • Kubernetes Submit Queue's avatar
      Merge pull request #50719 from crimsonfaith91/immutability · 9a3dfbca
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 50719, 51216, 50212, 51408, 51381)
      
      Make selector immutable for v1beta2 deployment, replicaset and daemonset prior update
      
      **What this PR does / why we need it**:
      This PR ensures controller selector is immutable for deployment and replicaset prior update by ignoring any change to `Spec`.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50808
      
      **Special notes for your reviewer**:
      This will be a breaking change.
      
      **Release note**:
      
      ```release-note
      For Deployment, ReplicaSet, and DaemonSet, selectors are now immutable when updating via the new `apps/v1beta2` API. For backward compatibility, selectors can still be changed when updating via `apps/v1beta1` or `extensions/v1beta1`.
      ```
      9a3dfbca
    • Kubernetes Submit Queue's avatar
      Merge pull request #50404 from apelisse/http-cache · 0f2c2bd8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)
      
      Kubectl to use http caching to cache openapi responses from the server
      
      **What this PR does / why we need it**: 
      
      This PR is trying to address the problems raised in #50254 
      
      > * uses a disk-based cache that is not safe between processes (does not use atomic fs operations)
      > * writes get/list responses to disk that should not be cached (like kubectl get secrets)
      > * is vulnerable to partially written cache responses being used as responses to future requests
      > * breaks uses of the client transport that make use of websockets
      > * defaults to enabling the cache for any client builder using RecommendedConfigOverrideFlags or DefaultClientConfig which affects more components than just kubectl
      
      All of these points are addressed by this pull-request:
      1. It now uses atomic fs operations
      2. Doesn't cache by default, only if requested by the client (and it's only done by openapi client)
      3. Fixed because of atomic fs operations
      4. Found the reason for the bug: Cache wrapper couldn't be unwrapped. I implemented the `WrappedRoundTripper` interface.
      5. Since 2. is fixed, I think that should be fine
      
      @smarterclayton @liggitt 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50254
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Allows kubectl to use http caching mechanism for the OpenAPI schema. The cache directory can be configured through `--cache-dir` command line flag to kubectl. If set to empty string, caching will be disabled.
      ```
      0f2c2bd8
    • Kubernetes Submit Queue's avatar
      Merge pull request #50846 from FengyunPan/change-log-level · b5fad6eb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)
      
      Use 'Infof' instead of 'Errorf' for a debug log
      
      Outputing error log for a debug is confused.
      
      **Release note**:
      ```release-note
      NONE
      ```
      b5fad6eb
    • Kubernetes Submit Queue's avatar
      Merge pull request #50123 from WIZARD-CXY/fixlog · 00846fc7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)
      
      make get pod log with follow option as CONNECT verb
      
      **What this PR does / why we need it**:
      Don't make the get log with follow option request mix with GET pods request. Make it reported as a WATCH pod log request.
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      Fixes #49998 
      
      ```release-note
      Pod log attempts are now reported in apiserver prometheus metrics with verb `CONNECT` since they can run for very long periods of time.
      ```
      00846fc7
    • Kubernetes Submit Queue's avatar
      Merge pull request #49616 from sakeven/feature/found_HashEquivalencePod · a8a505b7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)
      
      getHashEquivalencePod should return if equivalence pod is found
      Signed-off-by: 's avatarsakeven <jc5930@sina.cn>
      
      
      
      **What this PR does / why we need it**:
      
      getHashEquivalencePod should return if equivalence pod is found, rather than simply check equivalenceHash equals to 0 later.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```
      NONE
      ```
      a8a505b7
    • Kubernetes Submit Queue's avatar
      Merge pull request #51480 from mml/timeout-flag · 9a3a578c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51480, 49616, 50123, 50846, 50404)
      
      Add KUBE_APISERVER_REQUEST_TIMEOUT_SEC env var.
      
      Cluster startup support for the flag added by #51415.  I won't merge until that PR merges.
      
      Bug: #51355
      
      cc @jpbetz
      9a3a578c
    • Kubernetes Submit Queue's avatar
      Merge pull request #51633 from deads2k/controller-03-wait · 4af900b4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51707, 51662, 51723, 50163, 51633)
      
      update GC controller to wait until controllers have been initialized …
      
      fixes #51013
      
      Alternative to https://github.com/kubernetes/kubernetes/pull/51492 which keeps those few controllers (only one) from starting the informers early.
      4af900b4
    • Kubernetes Submit Queue's avatar
      Merge pull request #50163 from jingxu97/Aug/sizeLimit · 8679a8f5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51707, 51662, 51723, 50163, 51633)
      
      Change SizeLimit to a pointer
      
      This PR fixes issue #50121
      
      ```release-note
      The `emptyDir.sizeLimit` field is now correctly omitted from API requests and responses when unset.
      ```
      8679a8f5
    • Kubernetes Submit Queue's avatar
      Merge pull request #51723 from bowei/cluster-gce-owner · 11529382
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51707, 51662, 51723, 50163, 51633)
      
      Add bowei to the OWNER for cluster/gce
      
      ```release-note
      NONE
      ```
      11529382
    • Kubernetes Submit Queue's avatar
      Merge pull request #51662 from vishh/test-e2e-owners · 98619a68
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51707, 51662, 51723, 50163, 51633)
      
      Adding vishh to test/ reviewers and approvers
      
      Rationale: Reviewing/Shepherding lots of features/PRs around node and resource management.
      98619a68
    • Kubernetes Submit Queue's avatar
      Merge pull request #51707 from liggitt/unit-race · cd004bb1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 51707, 51662, 51723, 50163, 51633)
      
      Make feature gate threadsafe
      
      Fixes #51548 caused by #51436
      cd004bb1
  2. 31 Aug, 2017 11 commits
  3. 30 Aug, 2017 15 commits