1. 04 Sep, 2018 8 commits
  2. 03 Sep, 2018 8 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #67788 from mohamed-mehany/inter-pod-affinity-optimization · 7548764f
      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.
      
      Affinity/Anti-Affinity Optimization of Pod Being Scheduled
      
      **What this PR does / why we need it**:
      Following #66948, it was noticed that the applied optimizations for anti-affinity rules lookup of existing pods could be further applied to checking affinity and anti-affinity terms of the Pod being scheduled. This is done by mapping topology pairs to pods that potentially match the pod being scheduled instead of mapping nodes to matching pods, and accordingly the search space is reduced.
      
      **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 #67738
      
      **Special notes for your reviewer**:
      /sig scheduling
      /sig scalability
      
      **Release note**:
      
      ```release-note
      Improve performance of Pod affinity/anti-affinity in the scheduler
      ```
      7548764f
    • Kubernetes Submit Queue's avatar
      Merge pull request #68019 from damemi/hpa-v2beta2-conversion-fix · ed958b7d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67397, 68019). 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 conversion for autoscaling/v1 ObjectMetricSource and add fuzzer
      
      **What this PR does / why we need it**:
      Selectors in ObjectMetricSource's weren't being persisted through roundtrip conversions, and this wasn't caught because we had no fuzzer testing MetricIdentifier selectors
      
      **Which issue(s) this PR fixes**:
      none
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      ed958b7d
    • Kubernetes Submit Queue's avatar
      Merge pull request #67397 from neolit123/bind-address · d47a5136
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67397, 68019). 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.
      
      kubeadm: fix offline and air-gapped support
      
      **What this PR does / why we need it**:
      
      1.
      
      Change the error output of getAllDefaultRoutes() so that it includes
      information on which files were probed for the IP routing tables
      even if such files are obvious.
      
      Introduce a new error type which can be used to figure out of this
      error is exactly of the "no routes" type.
      
      2.
      
      If netutil.ChooseBindAddress() fails looking up IP route tables
      it will fail with an error in which case the kubeadm config
      code will hard stop.
      
      This scenario is possible if the Linux user intentionally disables
      the WiFi from the distribution settings. In such a case the distro
      could empty files such files as /proc/net/route and ChooseBindAddress()
      will return an error.
      
      For improved offline support, don't error on such scenarios but instead
      show a warning. This is done by using the NoRoutesError type.
      Also default the address to 0.0.0.0.
      
      While doing that, prevent some commands like `init`, `join` and also
      phases like `controlplane` and `certs` from using such an invalid
      address.
      
      3.
      
      If there is no internet, label versions fail and this breaks
      air-gapped setups unless the users pass an explicit version.
      
      To work around that:
      - Remain using 'release/stable-x.xx' as the default version.
      - On timeout or any error different from status 404 return error
      - On status 404 fallback to using the version of the client via
      kubeadmVersion()
      
      Add unit tests for kubeadmVersion().
      
      **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
      refs kubernetes/kubeadm#1041
      
      **Special notes for your reviewer**:
      1st and second commits fix offline support.
      3rd commit fixes air-gabbed support (as discussed in the linked issue)
      
      the api-machinery change is only fmt.Errorf() related.
      
      **Release note**:
      
      ```release-note
      kubeadm: fix air-gapped support and also allow some kubeadm commands to work without an available networking interface
      ```
      
      /cc @kubernetes/sig-cluster-lifecycle-pr-reviews 
      /cc @kubernetes/sig-api-machinery-pr-reviews 
      /assign @kad
      /assign @xiangpengzhao 
      /area UX
      /area kubeadm
      /kind bug
      d47a5136
    • Kubernetes Submit Queue's avatar
      Merge pull request #68021 from krzysztof-jastrzebski/hpa5 · 5e9a3ada
      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.
      
      Increase Horizontal Pod Autoscaler update frequency to every 15s
      
      **What this PR does / why we need it**:
      PR increases Horizontal Pod Autoscaler default update interval (30s -> 15s). It will improve HPA reaction time for metric changes.
      
      **Release note**:
      ```release-note
      Increase Horizontal Pod Autoscaler default update interval (30s -> 15s). It will improve HPA reaction time for metric changes.
      ```
      5e9a3ada
    • Kubernetes Submit Queue's avatar
      Merge pull request #68143 from shyamjvs/garbage-collect-kubemark-image · 1cfeede6
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68127, 68143). 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.
      
      GC kubemark image after cluster starts up
      
      Last piece to fix https://github.com/kubernetes/kubernetes/issues/59567
      
      /cc @wojtek-t 
      
      ```release-note
      NONE
      ```
      1cfeede6
    • Kubernetes Submit Queue's avatar
      Merge pull request #68127 from serathius/metrics-server-30s · 6701e24c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 68127, 68143). 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.
      
      Increase metrics-server scrape frequency to 30s
      
      With new release of metrics-server and it's performance improvement, we will reduce metrics pipeline latency from 60s to 30s. 
      This is part of sig-autoscaling effort to improve HPA https://github.com/kubernetes/kubernetes/pull/68021
      ```release-note
      Increase scrape frequency of metrics-server to 30s
      ```
      /cc @kawych @mwielgus @DirectXMan12 @dashpole
      6701e24c
    • Marek Siarkowicz's avatar
      abe3554d
    • Eunsoo Park's avatar
      Fixup openstack cloud provider loadbalancer deletion error · da5618e6
      Eunsoo Park authored
      
      This change enables ```getLoadBalancer``` to return the loadbalancer even if no floating ip is associated to the VIP port of the loadbalancer.
      Signed-off-by: default avatarEunsoo Park <esevan.park@gmail.com>
      da5618e6
  3. 02 Sep, 2018 22 commits
  4. 01 Sep, 2018 2 commits