1. 01 Jul, 2017 4 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #47881 from cadmuxe/endpoint · c0337c92
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47918, 47964, 48151, 47881, 48299)
      
      Add ApiEndpoint support to GCE config.
      
      **What this PR does / why we need it**:
      Add the ability to change ApiEndpoint  for GCE.
      
      **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**:
      ```release-note
      None
      ```
      c0337c92
    • Kubernetes Submit Queue's avatar
      Merge pull request #48151 from apelisse/accept-encoding-gzip · 19724f0b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47918, 47964, 48151, 47881, 48299)
      
      GZip openapi schema if accepted by client
      
      **What this PR does / why we need it**: Uses gzip "Accept-Encoding" flag rather than specific path to download gzipped openapi schema.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48375
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      ```
      19724f0b
    • Kubernetes Submit Queue's avatar
      Merge pull request #47964 from hasanatkazmi/master · 9a303eae
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47918, 47964, 48151, 47881, 48299)
      
      removed 'Storage' option from 'kubectl top' like options
      
      **What this PR does / why we need it**:
      https://github.com/kubernetes/kubectl/issues/34
      
      **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**:
      
      ```release-note
      ```
      9a303eae
    • Kubernetes Submit Queue's avatar
      Merge pull request #47918 from jiayingz/unit-test · 57dddce8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 47918, 47964, 48151, 47881, 48299)
      
      Add unit test coverage for nvidiaGPUManager initialization
      
      Part of #47750 
      
      ```release-note
      NONE
      ```
      57dddce8
  2. 30 Jun, 2017 29 commits
    • Tim Hockin's avatar
      Merge pull request #47934 from wlan0/master · a0db2872
      Tim Hockin authored
      enable docs and man page autogeneration for cloud-controller-manager
      a0db2872
    • Kubernetes Submit Queue's avatar
      Merge pull request #47058 from dcbw/remove-dead-kubelet-shaping · 4b354d48
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43558, 48261, 42376, 46803, 47058)
      
      kubelet: remove unused bandwidth shaping teardown code
      
      Since v1.5 and the removal of --configure-cbr0:
      
      0800df74 "Remove the legacy networking mode --configure-cbr0"
      
      kubelet hasn't done any shaping operations internally.  They
      have all been delegated to network plugins like kubenet or
      external CNI plugins.  But some shaping code was still left
      in kubelet, so remove it now that it's unused.
      
      @freehan @thockin @bprashanth
      4b354d48
    • Kubernetes Submit Queue's avatar
      Merge pull request #46803 from apelisse/new-download-openapi · 9c74026f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43558, 48261, 42376, 46803, 47058)
      
      OpenAPI downloads protobuf rather than Json
      
      **What this PR does / why we need it**: 
      The current implementation of the OpenAPI getter fetches the swagger in a Json format from the apiserver. The Json file is big (~1.7mb), which means that it takes a long time to download, and then a long time to parse. Because that is going to be needed on each `kubectl` run later, we want this to be as fast as possible.
      
      The apiserver has been modified to be able to return a protobuf version of the swagger, which this patch intends to use.
      
      Note that there is currently no piece of code that exists that allows us to go from the protobuf version of the file, back into Json and/or `spec.Swagger`. Because the protobuf is not very different (but significantly different enough that it can't be translated), I've updated the code to use `openapi_v2.Document` (the protobuf type) everywhere rather than `spec.Swagger`. The behavior should be identical though.
      
      There are more changes that are coming in follow-up pull-requests: using the gzip version (also provided by the new apiserver) to even further reduce the size of the downloaded content, and use the HTTP Etag cache mechanism to completely get rid of recurrent fetch requests. I'm currently working on these two features.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: partly #38637
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      9c74026f
    • Kubernetes Submit Queue's avatar
      Merge pull request #42376 from jingxu97/Feb/mounter · 87c6fb5d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43558, 48261, 42376, 46803, 47058)
      
      Add bind mount /etc/resolv.conf from host to containerized mounter
      
      Currently, in containerized mounter rootfs, there is no DNS setup. If client
      try to set up volume with host name instead of IP address, it will fail to resolve
      the host name. 
      By bind mount the host's /etc/resolv.conf to mounter rootfs, VM hosts name
      could be resolved when using host name during mount. 
      
      ```release-note
      Fixes issue where you could not mount NFS or glusterFS volumes using hostnames on GCI/GKE with COS images.
      ```
      87c6fb5d
    • Kubernetes Submit Queue's avatar
      Merge pull request #48261 from FengyunPan/fix-removeFinalizer · 38543889
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 43558, 48261, 42376, 46803, 47058)
      
      Fix removing finalizer for garbage collector
      
      The loop should use 'continue' not 'break', otherwise removeFinalizer()
      not only removes "orphaningFinalizer" from its finalizers list but
      also removes others.
      
      Fix #48363
      
      **Release note**:
      ```release-note
      NONE
      ```
      38543889
    • Kubernetes Submit Queue's avatar
      Merge pull request #43558 from xilabao/fix-kubeadm-args · e633d3e2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubeadm: If `--config` is set, don't allow any other option as it won't have effect
      
      If use config in kubeadm init, cann't get other values from other arguments. 
      `kubeadm init --config=../kubeadm.config --token 447ad3.96cda76e3206fca0 --apiserver-bind-port 6445`
      
      So I think we need to allow get values from command and is prior than cofig file.
      e633d3e2
    • Kubernetes Submit Queue's avatar
      Merge pull request #48037 from wanghaoran1988/add_bootstrap_option · a92123c5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48295, 48298, 47339, 44910, 48037)
      
      Make the `--controllers` flag configurable in hack/local-up-cluster.sh
      
      **What this PR does / why we need it**:
      add options to enable tokencleaner,bootstrapsigner controller for bootstrap token testing
      
      **Release note**:
      ```
      None
      ```
      a92123c5
    • Kubernetes Submit Queue's avatar
      Merge pull request #44910 from mkumatag/ppc64le_test_images · 228822a9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48295, 48298, 47339, 44910, 48037)
      
      Make Makefiles in `test/images/` compatible with multiple architectures
      
      **What this PR does / why we need it**:
      This PR is for making test images multi architecture for different platforms like amd64, arm, arm64, ppc64le
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes  #31331
      
      **Special notes for your reviewer**:
      - Actual tests need to be modified to use these images based on the architecture later.
      - Not covering the cross building of docker images for `s390x` platform due to problem faced while running containers with `qemu-s390x-static`
      - Will submit separate PR for `volume and pet` test images
      - This PR depends on - https://github.com/kubernetes/ingress/pull/587
      
      **Release note**:
      
      ```NONE```
      228822a9
    • Kubernetes Submit Queue's avatar
      Merge pull request #47339 from luxas/kubeadm_v18_cleanup_misc · 2b190bd2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48295, 48298, 47339, 44910, 48037)
      
      kubeadm: Remove v1.6 version gates, cleanup unused code, etc.
      
      **What this PR does / why we need it**:
      
       - Removes v1.6 version gates and requires a control plane version of v1.7.0 and above
       - Removes unused/unnecessary functions that got freed up as a consequence of that
      
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      Fixes: kubernetes/kubeadm#327
      
      **Special notes for your reviewer**:
      
      This PR targets v1.8, can be merged first when the code freeze is lifted
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      @kubernetes/sig-cluster-lifecycle-pr-reviews @timothysc @mikedanese @pipejakob
      2b190bd2
    • Kubernetes Submit Queue's avatar
      Merge pull request #48298 from mengqiy/kubectl_crlf · 903a4541
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48295, 48298, 47339, 44910, 48037)
      
      move crlf to kubectl/util
      
      move crlf from pkg/util/crlf to pkg/kubectl/util/crlf
      
      Ref: https://github.com/kubernetes/kubernetes/issues/48209
      
      ```release-note
      NONE
      ```
      /assign @apelisse @monopole 
      
      cc: @pwittrock
      903a4541
    • Kubernetes Submit Queue's avatar
      Merge pull request #48295 from mengqiy/kubectl_util · 3dcd3089
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 48295, 48298, 47339, 44910, 48037)
      
      eliminate kubectl dependency on k8s.io/kubernetes/pkg/util
      
      Ref: https://github.com/kubernetes/kubernetes/issues/48209
      
      /assign @apelisse @monopole 
      
      cc: @pwittrock 
      ```release-note
      NONE
      ```
      3dcd3089
    • Dan Williams's avatar
      kubelet: remove NET_PLUGIN_CAPABILITY_SHAPING · 36a54bd5
      Dan Williams authored
      This was effectively unused with v1.5 and later when kubelet stopped
      doing internal shaping and delegated all shaping to plugins.
      36a54bd5
    • Dan Williams's avatar
      kubelet: remove unused bandwidth shaping teardown code · 5b8ad3f7
      Dan Williams authored
      Since v1.5 and the removal of --configure-cbr0:
      
      0800df74 "Remove the legacy networking mode --configure-cbr0"
      
      kubelet hasn't done any shaping operations internally.  They
      have all been delegated to network plugins like kubenet or
      external CNI plugins.  But some shaping code was still left
      in kubelet, so remove it now that it's unused.
      5b8ad3f7
    • Kubernetes Submit Queue's avatar
      Merge pull request #48271 from shyamjvs/cluster-ip-e2e-flag · 17e19dfc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Make cluster IP range an argument to ginkgo to fix firewall test
      
      This should fix the failing "Firewall rule should have correct firewall rules for e2e cluster" test when using a non-default cluster IP range.
      (Ref: https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gce-enormous-cluster/13#k8sio-firewall-rule-should-have-correct-firewall-rules-for-e2e-cluster)
      
      /cc @kubernetes/sig-network-pr-reviews @gmarek
      17e19dfc
    • Kubernetes Submit Queue's avatar
      Merge pull request #48344 from aleksandra-malinowska/autoscaling-tests-fix · da31dfa0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add waiting for node to become schedulable again in Cluster Autoscaler tests
      
      Adding retrying until CriticalAddonsOnly taint is removed.
      
      This fixes the issue where after disabling and fixing node as part of a test scenario, taint was added by a rescheduler and caused subsequent tests to fail.
      da31dfa0
    • Kubernetes Submit Queue's avatar
      Merge pull request #48343 from deads2k/auth-06-sa-token · 586642a5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      don't accept delete tokens that are waiting to be reaped
      
      With garbage collection, it becomes possible (even likely) that we will have finalizers specified on resources before they are reaped.  A secret or an SA which has been deleted and is awaiting reaping should not be considered valid.  This adds checking for whether those have been deleted.
      
      @kubernetes/sig-auth-misc 
      
      ```release-note
      Previously a deleted service account token secret would be considered valid until it was reaped.  Now it is invalid as soon as the deletionTimestamp is set.
      ```
      586642a5
    • Lucas Käldström's avatar
    • Shyam Jeedigunta's avatar
    • Aleksandra Malinowska's avatar
    • Manjunath A Kumatagi's avatar
      Fix verify-golint · 5f0c16b5
      Manjunath A Kumatagi authored
      5f0c16b5
    • Kubernetes Submit Queue's avatar
      Merge pull request #48328 from xiangpengzhao/fix-changelog · d20c60de
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix broken markdown format in v1.7 CHANGELOG
      
      **What this PR does / why we need it**:
      - fix broken markdown format in v1.7 CHANGELOG
      - remove those changes which have release notes `NONE`
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #48325
      
      **Special notes for your reviewer**:
      /cc @dchen1107 @caesarxuchao @luxas @idvoretskyi @@calebamiles
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      d20c60de
    • deads2k's avatar
      0939602c
    • Manjunath A Kumatagi's avatar
      Fix review comments - luxas, ixdy · 19ca6ca9
      Manjunath A Kumatagi authored
      19ca6ca9
    • Kubernetes Submit Queue's avatar
      Merge pull request #47132 from pichouk/patch-1 · 99200268
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix a typo in deletion log of apiserver
      
      **What this PR does / why we need it**:
      I just fix a typo in a log message. Nothing more 😄 
      
      **Which issue this PR fixes**
      apiserver sometimes log this message "About do delete object from database". It seems that there is a typo for `to`.
      
      ```release-note
      Fix a typo in apiserver log message
      ```
      99200268
    • Kubernetes Submit Queue's avatar
      Merge pull request #47284 from xiangpengzhao/fix-dup-targetport · e74ef816
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Validate if service has duplicate targetPort
      
      **What this PR does / why we need it**:
      Validate if a service has dup targetport
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #47222
      
      **Special notes for your reviewer**:
      /cc @thockin 
      @kubernetes/sig-network-pr-reviews
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      e74ef816
    • xiangpengzhao's avatar
      d93aa71f
    • Chao Xu's avatar
    • Chao Xu's avatar
      Update CHANGELOG.md for v1.7.0. · f3084cd3
      Chao Xu authored
      f3084cd3
    • Kubernetes Submit Queue's avatar
      Merge pull request #48060 from atlassian/refactor-converter · 231c0783
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Refactor unstructured converter
      
      **What this PR does / why we need it**:
      See #48039. Makes it impossible to misuse unstructured converter.
      
      **Which issue this PR fixes**:
      Fixes #48039
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      /sig api-machinery
      231c0783
  3. 29 Jun, 2017 7 commits