1. 30 Aug, 2018 1 commit
  2. 28 Aug, 2018 15 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #67902 from liggitt/http2-buffers · 9edf196c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). 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>.
      
      Size http2 buffers to allow concurrent streams
      
      http/2 requests from a given client multiplex over a single connection via streams, chopped up into frames.
      
      The amount of data the client is allowed to send for a given stream and for the overall connection before acknowledgement is determined by the server's MaxUploadBufferPerStream and MaxUploadBufferPerConnection settings respectively, both defaulting to 1MB.
      
      The number of concurrent streams a client is allowed to send over a single connection is determined by the server's MaxConcurrentStreams setting, defaulting to 250.
      
      We observed a starvation issue with the kube aggregator's proxy client if handling of a POST through the aggregator to a backend server exceeded the 1MB buffer size AND the backend server required a second POST request through the aggregator to be handled before it could drain the first request's body.
      
      Logically, if concurrent streams are allowed in a single connection, the connection buffer should be MaxUploadBufferPerStream*MaxConcurrentStreams to allow individual streams to make progress even when one stream is blocked.
      
      This PR shrinks the `MaxUploadBufferPerStream` size to 256kb (which is still large enough to allow all the resources we saw in our test clusters to be sent in a single frame), and grows the MaxUploadBufferPerConnection to accomodate concurrent streams.
      
      I'm also opening a golang issue, [reproducer](https://gist.github.com/liggitt/00239c99b4c148ac1b23e57f86b3af93), and fix for the defaults for this
      
      ```release-note
      adjusted http/2 buffer sizes for apiservers to prevent starvation issues between concurrent streams
      ```
      9edf196c
    • Kubernetes Submit Queue's avatar
      Merge pull request #64973 from nokia/k8s-sctp · 2eb14e30
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). 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>.
      
      SCTP support implementation for Kubernetes
      
      **What this PR does / why we need it**: This PR adds SCTP support to Kubernetes, including Service, Endpoint, and NetworkPolicy.
      
      **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 #44485
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      
      SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy.  
      
      ```
      2eb14e30
    • Kubernetes Submit Queue's avatar
      Merge pull request #67694 from… · 4007eed7
      Kubernetes Submit Queue authored
      Merge pull request #67694 from sttts/sttts-kube-apiserver-always-create-extension-apiserver-authentication
      
      Automatic merge from submit-queue (batch tested with PRs 67694, 64973, 67902). 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>.
      
      kube-apiserver: always create configmap/extension-apiserver-authentication
      
      Other components (aggregated apiservers) read the configmap and fail hard if it does not exist. But they work without all fields being set (https://github.com/kubernetes/kubernetes/pull/66394). In the future, components like ctrl-manager and scheduler won't need kube-apiserver to authenticate with them at all. So, consequently we should always create the file, even if it is empty.
      
      ```release-note
      Always create configmaps/extensions-apiserver-authentication from kube-apiserver.
      ```
      4007eed7
    • Kubernetes Submit Queue's avatar
      Merge pull request #67885 from zanetworker/fix-typo-runtime-conversion · 965df074
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. 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>.
      
      fix typo in runtime conversion.go
      
      **What this PR does / why we need it**:
      Fix typo in runtime conversion.go in function `Convert_Slice_string_To_bool`
      
      **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**:
      NONE 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      965df074
    • Kubernetes Submit Queue's avatar
      Merge pull request #67688 from Lion-Wei/kube-proxy-config · 029bb4e2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.
      
      Move kubeproxy ComponentConfig external types to `k8s.io/kube-proxy`
      
      **What this PR does / why we need it**:
      This PR implements most of kubernetes/community#2354 for the kube-proxy.
      The PR:
      - Moves k8s.io/kubernetes/pkg/proxy/apis/kubeproxyconfig as-is to k8s.io/kubernetes/pkg/proxy/apis/config as agreed
      - Moves the external types to the new staging repo k8s.io/kube-proxy, in the k8s.io/kube-proxy/config/v1beta1 package.
      - Makes k8s.io/kubernetes/pkg/proxy/apis/config/v1beta1 source the types from k8s.io/kube-proxy/config/v1beta1. The defaulting and conversion code is kept in this package as before.
      - All references to these packages have been updated.
      
      Ref #67233
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      kube-proxy v1beta1 external ComponentConfig types are now available in the `k8s.io/kube-proxy` repo
      ```
      029bb4e2
    • Kubernetes Submit Queue's avatar
      Merge pull request #67917 from yguo0905/tpu-location · 8c9f145f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.
      
      GCE: Add ListLocations to Cloud TPU API
      
      Add ListLocations to Cloud TPU API.
      
      **Release note**:
      
      ```release-note
      None
      ```
      
      /assign @vishh 
      /assign @MrHohn
      for approval.
      8c9f145f
    • Kubernetes Submit Queue's avatar
      Merge pull request #67734 from Huang-Wei/fix-nodelost-issue · 0148f25f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.
      
      fix an issue that scheduling doesn't respect NodeLost status of a node
      
      **What this PR does / why we need it**:
      
      - if Node is in UnknowStatus, apply unreachable taint with NoSchedule effect
      - some internal data structure refactoring
      - update unit test
      
      **Which issue(s) this PR fixes**:
      Fixes #67733, and very likely #67536
      
      **Special notes for your reviewer**:
      
      See detailed reproducing steps in #67733.
      
      **Release note**:
      ```release-note
      Apply unreachable taint to a node when it lost network connection.
      ```
      0148f25f
    • Kubernetes Submit Queue's avatar
      Merge pull request #67854 from tallclair/klet-deps · 23bea724
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.
      
      Remove unused kubelet dependency
      
      **What this PR does / why we need it**:
      Cleanup unused `ExternalKubeClient`. I think it's a vestige of when the Kubelet still used the internal types.
      
      **Release note**:
      ```release-note
      NONE
      ```
      
      /kind cleanup
      /sig node
      /assign @mtaufen
      23bea724
    • Kubernetes Submit Queue's avatar
      Merge pull request #64597 from wteiken/add_review_annotations2 · 583dd0ff
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 64597, 67854, 67734, 67917, 67688). 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>.
      
      Allow ImageReview backend to add audit annotations.
      
      **What this PR does / why we need it**: 
      This can be used to create annotations that will allow auditing of the created 
      pods.
      
      The change also introduces "fail open" audit annotations in addition to the
      previously existing pod annotation for fail open.  The pod annotations for 
      fail open will be deprecated soon.
      
      
      **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
      Allow ImageReview backend to return annotations to be added to the created pod.
      ```
      583dd0ff
    • Kubernetes Submit Queue's avatar
      Merge pull request #67916 from MrHohn/ip-masq-chain-name · f825c2d0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. 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>.
      
      Bump ip-masq-agent to v2.1.1
      
      **What this PR does / why we need it**:
      - Update debian-iptables image for CVEs.
      - Change chain name to IP-MASQ to be compatible with the pre-injected masquerade rules.
      
      **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**:
      /assign @bowei 
      cc @satyasm
      
      **Release note**:
      
      ```release-note
      Bump ip-masq-agent to v2.1.1
      - Update debian-iptables image for CVEs.
      - Change chain name to IP-MASQ to be compatible with the
      pre-injected masquerade rules.
      ```
      f825c2d0
    • Lion-Wei's avatar
      update autogenerated file · 47153803
      Lion-Wei authored
      47153803
    • Lion-Wei's avatar
    • liangwei's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #66052 from lubinsz/master · f0e2a249
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 66085, 66052). 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>.
      
      use pause image with fat-manifest
      
      What this PR does / why we need it:
      Pause manifest code is merged in #57723, so we should use new image in test.
      
      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:
      f0e2a249
    • Kubernetes Submit Queue's avatar
      Merge pull request #66085 from liggitt/updatejob · d744c6ea
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. 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>.
      
      fix updateJob scheduling of resync
      
      fixes #66071 
      
      ```release-note
      NONE
      ```
      d744c6ea
  3. 27 Aug, 2018 24 commits