1. 05 Sep, 2018 18 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #68151 from ddebroy/ddebroy-fix67852 · cdfbb01d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Implement semantic comparison of VolumeNodeAffinity for unit tests
      
      **What this PR does / why we need it**:
      Implements a semantic comparison function for VolumeNodeAffinity that is not sensitive to ordering of various members. Previous reflect.DeepEqual was sensitive to ordering causing it to be flaky.
      
      **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 # https://github.com/kubernetes/kubernetes/issues/67852
      
      **Special notes for your reviewer**:
      We want to able to successfully match `VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[{[{a In [1]} {b In [2 3]}] []}],},}` and `VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[{[{b In [3 2]} {a In [1]}] []}],},}` without being sensitive to the ordering of requirements with key `a` and `b` or the order of values with key `b`. This fix enables such semantic comparison of VolumeNodeAffinity
      
      We can move `volumeNodeAffinitiesEqual` to volume/utils post code freeze
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      /sig storage
      cc @msau42
      cdfbb01d
    • Kubernetes Submit Queue's avatar
      Merge pull request #68134 from yue9944882/chore/add-yue9944882-reviewer · d7c84996
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Add yue9944882 as subproject reviewer (core admission/apiserver)
      
      extend reviewer bandwidth 😃am a super careful reviewer
      
      i had contributed series of refactors for core admission controllers and apiserver launch flow. 
      
      /assign @deads2k 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d7c84996
    • Kubernetes Submit Queue's avatar
      Merge pull request #68080 from caesarxuchao/deprecation-notice-storage-versions · ad1721e2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Deprecation notice of the storage-versions flag
      
      This PR deprecates the `--storage-versions` flag of kube-apiserver. The flag allows user to change the API version the content in etcd will be serialized to.
      
      The flag provides unnecessary flexibility, with the side-effect of making kube-apiserver upgrades/downgrades hard to reason about. Specifically, Kubernetes follows the 4-step API version deprecation [policy](https://kubernetes.io/docs/reference/using-api/deprecation-policy/), which makes upgrades/downgrades across minor versions safe as long as all the data in etcd is encoded to the default storage versions. However, if users can specify their own storage versions, then the safety of each upgrade/downgrade needs to be analyzed case-by-case.
      
      ```release-note
      Action required: The --storage-versions flag of kube-apiserver is deprecated. Please omit this flag to ensure the default storage versions are used. Otherwise the cluster is not safe to upgrade to a version newer than 1.12. This flag will be removed in 1.13.
      ```
      
      /assign @deads2k @liggitt @lavalamp @enj 
      /sig api-machinery
      ad1721e2
    • Kubernetes Submit Queue's avatar
      Merge pull request #68147 from timothysc/etcd-3.2-latest · 2811228d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67691, 68147). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Update etcd client to 3.2.24 for latest release
      
      **What this PR does / why we need it**:
      Updates etcd client to 3.2.24 which is the latest in the 3.2 series.  See https://github.com/etcd-io/etcd/blob/master/CHANGELOG-3.2.md for details. 
      
      **Special notes for your reviewer**:
      This is only the client, in order to update the server components it requires a googler to push the 3.2.24 image.  
      
      **Release note**:
      
      ```
      Update etcd client interface to 3.2.24
      ```
      
      /assign @jpbetz @wojtek-t 
      /cc @liggitt @kubernetes/sig-cluster-lifecycle @kubernetes/sig-scalability-pr-reviews
      2811228d
    • Kubernetes Submit Queue's avatar
      Merge pull request #67691 from loburm/security_fixes · e2d6362c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67691, 68147). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Bump versions of components with latest security patches.
      
      **What this PR does / why we need it**:
      Upgrade versions of monitoring components used on GCP, to include latest security patches.
      
      **Release note**:
      ```release-note
      [fluentd-gcp-scaler addon] Bump fluentd-gcp-scaler to 0.4 to pick up security fixes.
      [prometheus-to-sd addon] Bump prometheus-to-sd to 0.3.1 to pick up security fixes, bug fixes and new features.
      [event-exporter addon] Bump event-exporter to 0.2.3 to pick up security fixes.
      ```
      e2d6362c
    • Kubernetes Submit Queue's avatar
      Merge pull request #68273 from sttts/sttts-non-fatal-in-cluster-config · 2c933695
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68265, 68273). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      apiserver: make InClusterConfig errs for delegated authn/z non-fatal
      
      Fixes https://github.com/kubernetes/kubernetes/issues/68246:
      
      Background:
      
      In gci e2e tests the kube-controller-manager is started as static pod. When it first starts, there is no kubernetes service and the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT env vars are not set inside the container.
      
      When the kube-controller-manager is restarted, the KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT env vars are set, but the static pod has no service account, i.e. /var/run/secrets/kubernetes.io/serviceaccount/token does not exist. We made the later fatal in rest.InClusterConfig and its use to setup delegated authn/z.
      2c933695
    • Kubernetes Submit Queue's avatar
      Merge pull request #68265 from mikedanese/fixgke · 79b3d3e7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68265, 68273). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      gke: fix failing e2e tests
      
      ```
      /home/kubernetes/bin/configure-helper.sh: line 2032: ENABLE_NODE_TERMINATION_HANDLER: unbound variable
      ```
      
      ```release-note
      NONE
      ```
      79b3d3e7
    • Dr. Stefan Schimanski's avatar
    • Dr. Stefan Schimanski's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #67556 from msau42/fix-assume · 2fdd328d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67709, 67556). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Fix volume scheduling issue with pod affinity and anti-affinity
      
      **What this PR does / why we need it**:
      The previous design of the volume scheduler had volume assume + bind done before pod assume + bind.  This causes issues when trying to evaluate future pods with pod affinity/anti-affinity because the pod has not been assumed while the volumes have been decided.
      
      This PR changes the design so that volume and pod are assumed first, followed by volume and pod binding.  Volume binding waits (asynchronously) for the operations to complete or error. This eliminates the subsequent passes through the scheduler to wait for volume binding to complete (although pod events or resyncs may still cause the pod to run through scheduling while binding is still in progress).   This design also aligns better with the scheduler framework design, so will make it easier to migrate in the future.
      
      Many changes had to be made in the volume scheduler to handle this new design, mostly around:
      * How we cache pending binding operations.  Now, any delayed binding PVC that is not fully bound must have a cached binding operation.  This also means bind API updates may be repeated.
      * Waiting for the bind operation to fully complete, and detecting failure conditions to abort the bind and retry scheduling.
      
      **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 #65131
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Fixes issue where pod scheduling may fail when using local PVs and pod affinity and anti-affinity without the default StatefulSet OrderedReady pod management policy
      ```
      2fdd328d
    • Kubernetes Submit Queue's avatar
      Merge pull request #67709 from feiskyer/inodes-clean · 743e4fba
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
       Kubelet: only apply default hard evictions of nodefs.inodesFree on Linux
      
      **What this PR does / why we need it**:
      
      Kubelet sets default hard evictions of `nodefs.inodesFree ` for all platforms today. This will cause errors on Windows and a lot `no observation found for eviction signal nodefs.inodesFree` errors will be logs for kubelet.
      
      ```
      kubelet.err.log:4961:W0711 22:21:12.378789    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
      kubelet.err.log:4967:W0711 22:21:30.411371    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
      kubelet.err.log:4974:W0711 22:21:48.446456    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
      kubelet.err.log:4978:W0711 22:22:06.482441    2872 helpers.go:808] eviction manager: no observation found for eviction signal nodefs.inodesFree
      ```
      
      This PR updates the default hard eviction value and only apply nodefs.inodesFree on Linux.
      
      **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 #66088
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Kubelet only applies default hard evictions of nodefs.inodesFree on Linux
      ```
      743e4fba
    • Kubernetes Submit Queue's avatar
      Merge pull request #66427 from feiskyer/win-pods-stats · 8f906fef
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      Add kubelet stats for windows system container "pods"
      
      **What this PR does / why we need it**:
      
      This PR adds kubelet stats for windows system container "pods". Without this, kubelet will always logs error: 
      
      ```
      kubelet.err.log:4832:E0711 22:12:49.241358    2872 helpers.go:735] eviction manager: failed to construct signal: "allocatableMemory.available" error: system container "pods" not found
      ```
      
      **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 #66087
      
      **Special notes for your reviewer**:
      
      /sig windows
      /sig node
      
      **Release note**:
      
      ```release-note
      Add kubelet stats for windows system container "pods"
      ```
      8f906fef
    • Mike Danese's avatar
      gke: fix failing e2e tests · ad0208d7
      Mike Danese authored
      ad0208d7
    • Anago GCB's avatar
      Update CHANGELOG-1.12.md for v1.12.0-beta.1. · f61196a5
      Anago GCB authored
      f61196a5
    • Kubernetes Submit Queue's avatar
      Merge pull request #68159 from saad-ali/csiClusterRegFix · 416f63c0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66840, 68159). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      CSI Cluster Registry and Node Info CRDs Improvements
      
      **What this PR does / why we need it**:
      https://github.com/kubernetes/kubernetes/pull/67803 merged before I could address @lavalamp's feedback. This PR addresses his feedback
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      Follow up on PR https://github.com/kubernetes/kubernetes/pull/67803
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      
      ```
      
      /assign @lavalamp 
      /assign @thockin 
      
      CC @jsafrane @vladimirvivien @verult @gnufied @childsb
      416f63c0
    • Kubernetes Submit Queue's avatar
      Merge pull request #66840 from janetkuo/job-ttl · c50a3471
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66840, 68159). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
      
      TTL for cleaning up Jobs after they finish
      
      **What this PR does / why we need it**: https://github.com/kubernetes/features/issues/592
      
      **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 #64470 
      For https://github.com/kubernetes/features/issues/592
      
      **Special notes for your reviewer**: @kubernetes/sig-apps-pr-reviews 
      
      **Release note**:
      
      ```release-note
      Add a TTL machenism to clean up Jobs after they finish.
      ```
      c50a3471
    • Timothy St. Clair's avatar
      0bb21f64
    • Michelle Au's avatar
      Add scheduler option for bind timeout · e1241599
      Michelle Au authored
      e1241599
  2. 04 Sep, 2018 22 commits