1. 01 Feb, 2017 26 commits
    • Michael Fraenkel's avatar
      Port forward over websockets · beb53fb7
      Michael Fraenkel authored
      - split out port forwarding into its own package
      
      Allow multiple port forwarding ports
      - Make it easy to determine which port is tied to which channel
      - odd channels are for data
      - even channels are for errors
      
      - allow comma separated ports to specify multiple ports
      
      Add  portfowardtester 1.2 to whitelist
      beb53fb7
    • Kubernetes Submit Queue's avatar
      Merge pull request #36734 from YuPengZTE/devPunctuation · 96cfe7b9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      error strings should not end with punctuation
      
      **What this PR does / why we need it**:
      Delete the end punctuation of error strings
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      **Special notes for your reviewer**:
      https://github.com/golang/go/wiki/CodeReviewComments#error-strings
      **Release note**:
      
      ```release-note
      ```
      Signed-off-by: 's avataryupeng <yu.peng36@zte.com.cn>
      96cfe7b9
    • Kubernetes Submit Queue's avatar
      Merge pull request #40749 from deads2k/generic-35-options · 914c57eb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      remove unneeded storage options
      
      Cleanup of some storage serialization options that only kube and federation api server (and maybe not even that one) need.
      
      You may have called it a snip, but this moves the options out of generic entirely.
      914c57eb
    • Kubernetes Submit Queue's avatar
      Merge pull request #40630 from liggitt/apply-null · 9807cd7d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40529, 40630)
      
      propagate explicit nulls in apply
      
      Rebase of https://github.com/kubernetes/kubernetes/pull/35496 on top of https://github.com/kubernetes/kubernetes/pull/40260
      
      The client-side propagation of the raw value is no longer needed, since the client is preserving the original object in unstructured form (explicit nulls are preserved).
      
      Kept tests and CreateThreeWayMergePatch changes from https://github.com/kubernetes/kubernetes/pull/35496
      
      ```release-note
      kubectl apply now supports explicitly clearing values not present in the config by setting them to null
      ```
      
      - [x] Clean up orphaned objects in test-cmd to preserve pre- and post- conditions
      - [x] improve CreateThreeWayMergePatch test to not filter based on string comparison to test name
      9807cd7d
    • Kubernetes Submit Queue's avatar
      Merge pull request #40529 from lucab/to-k8s/e2e_node-kubelet-busybox-argv0 · f2727812
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40529, 40630)
      
      test/e2e_node: tie together expected string and exec
      
      This commit ties together busybox-sh invocation and test expectation
      to avoid subtle mismatches between exec command and output string.
      f2727812
    • Kubernetes Submit Queue's avatar
      Merge pull request #40769 from madhusudancs/fed-e2e-nocluster · 1b67b0da
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40645, 40541, 40769)
      
      [Federation] Marked the tests that don't need registered clusters so.
      
      Somewhat related to issue #40766. 
      
      cc @kubernetes/sig-federation-pr-reviews
      1b67b0da
    • Kubernetes Submit Queue's avatar
      Merge pull request #40541 from fabianofranz/fix_sorting_printer_with_missing_fields · 61d45f59
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40645, 40541, 40769)
      
      Fix sorting printer when sorting by a missing field
      
      **What this PR does / why we need it**:
      
      When calling `kubectl get` with the `--sort-by` flag, the command will error out if the field used for sorting is not present in at least one of the objects returned in the list, *even if it is a field valid in the object's model*. 
      
      For example, taking a list of `ReplicationController` where one of them has `status: { replicas: 0 }` (so nothing in `status.availableReplicas`, even that being a valid object in the model and present in every other object of the list) :
      
      ```
      $ oc get rc --sort-by=status.availableReplicas
      error: availableReplicas is not found
      ```
      
      This PR now traverses the entire list of objects to be sorted and, if at least one has the field provided in `--sort-by`, we sort correctly and consider the field empty in every other object where the field is not present. If none of the objects has the field, we error out (that will catch really invalid fields, and valid ones but not present in any object in the list, which is acceptable). No swagger validation here.
      
      **Release note**:
      ```release-note
      Fixed an issue where 'kubectl get --sort-by=' would return an error when the specified field were not present in at least one of the returned objects, even that being a valid field in the object model.
      ```
      61d45f59
    • Kubernetes Submit Queue's avatar
      Merge pull request #40645 from brendandburns/fr · 5eef1270
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add initial french translations for kubectl
      
      Add initial French translations, mostly as an example of how to add a new language.
      
      @fabianofranz @kubernetes/sig-cli-pr-reviews
      5eef1270
    • Kubernetes Submit Queue's avatar
      Merge pull request #40763 from derekwaynecarr/log-noise-aws · 9ae2dfac
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40638, 40742, 40710, 40718, 40763)
      
      Reduce log noise when aws cloud cannot find public-ip4 metadata
      
      **What this PR does / why we need it**:
      The PR removes excessive log spam produced by the aws cloud provider for normal operating conditions.
      
      **Which issue this PR fixes** 
      fixes https://github.com/kubernetes/kubernetes/issues/23155
      
      **Special notes for your reviewer**:
      
      **Release note**:
      ```release-note
      NONE
      ```
      9ae2dfac
    • Kubernetes Submit Queue's avatar
      Merge pull request #40718 from janetkuo/secret-volume-describe-fix · dcf26ed8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40638, 40742, 40710, 40718, 40763)
      
      Fix formatting issue of secret volume describer
      
      Fixing a `kubectl describe` bug
      
      **Before**:
      
      ```yaml
      ...
      Volumes:
        default-token-z7g96:
          Type:       Secret (a volume populated by a Secret)
          SecretName:     Optional:   %v
      
      %!(EXTRA string=default-token-z7g96, bool=false)QoS Class:      BestEffort
      ...
      ```
      
      **After**:
      
      ```yaml
      ...
      Volumes:
        default-token-z7g96:
          Type:       Secret (a volume populated by a Secret)
          SecretName: default-token-z7g96
          Optional:   false
      QoS Class:      BestEffort
      ...
      ```
      dcf26ed8
    • Kubernetes Submit Queue's avatar
      Merge pull request #40710 from deads2k/client-21-record · 76550cf2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40638, 40742, 40710, 40718, 40763)
      
      move client/record
      
      An attempt at moving client/record to client-go.  It's proving very stubborn and needs a lot manual intervention and near as I can tell, no one actually gets any benefit from the sink and source complexity it adds.
      
      @sttts @caesarchaoxu
      76550cf2
    • Kubernetes Submit Queue's avatar
      Merge pull request #40742 from deads2k/generic-34-storage · 0469fc6f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40638, 40742, 40710, 40718, 40763)
      
      move pkg/storage to apiserver
      
      Mechanical move of `pkg/storage` (not sub packages) to `k8s.io/apiserver`.
      
      @sttts
      0469fc6f
    • Kubernetes Submit Queue's avatar
      Merge pull request #40638 from yujuhong/rm_label · d399924b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kuberuntime: remove the kubernetesManagedLabel label
      
      The CRI shim should be responsible for returning only those
      containers/sandboxes created through CRI. Remove this label in kubelet.
      d399924b
    • Kubernetes Submit Queue's avatar
      Merge pull request #39443 from freehan/cri-hostport · 32d79c34
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443)
      
      refactor hostport logic
      
      Refactor hostport logic to avoid using api.Pod object directly.
      32d79c34
    • Kubernetes Submit Queue's avatar
      Merge pull request #40274 from muteor/fix-libvirt-coreos-bin-permissions · 1ed1ba44
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443)
      
      Libvirt-coreos - Add execute permissions to kubernetes/bin
      
      **What this PR does / why we need it**:
      
      The master node was failing to start for me due to the permission errors on the kubernetes server binaries.
      
      **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
      ```
      1ed1ba44
    • Kubernetes Submit Queue's avatar
      Merge pull request #40342 from louyihua/remove_warning · 8fe7a2de
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443)
      
      Eliminate "Unknown service type: ExternalName"
      
      When creating an ExternalName service, rest.go still generate the warning message "Unknown service type: ExternalName". This should be eliminated as this type of service is supported now.
      8fe7a2de
    • Kubernetes Submit Queue's avatar
      Merge pull request #40368 from sc68cal/patch/centos_name · fd13413b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 40111, 40368, 40342, 40274, 39443)
      
      Change OPENSTACK_IMAGE_NAME to be more specific
      
      There may already be other images in the cloud named CentOS7,
      but since we are fetching a very specific version (1604) we should
      go ahead and make the image name very specific as well.
      
      
      
      **What this PR does / why we need it**:
      
      Some clouds already have `Centos7` as an image that is available, however it may not be the *specific* version that openstack-heat looks for and downloads from CentOS.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: 
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note 
      OpenStack-Heat will now look for an image named "CentOS-7-x86_64-GenericCloud-1604". To restore the previous behavior set OPENSTACK_IMAGE_NAME="CentOS7"
      ```
      fd13413b
    • Kubernetes Submit Queue's avatar
      Merge pull request #40111 from juanvallejo/jvallejo/add-ensure-print-headers · c09311fa
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add printer#EnsurePrintHeaders method
      
      This patch adds a new `EnsurePrintHeaders` method to the
      HumanReadablePrinter `ResourcePrinter`, which allows headers to be
      printed in cases where multiple lists of the same resource are printed
      consecutively, but are separated by non-printer related information.
      
      Related downstream PR: https://github.com/openshift/origin/pull/12528
      
      **Release note**:
      ```release-note
      release-note-none
      ```
      
      cc @fabianofranz @AdoHe
      c09311fa
    • Kubernetes Submit Queue's avatar
      Merge pull request #40614 from beeradb/patch-1 · c7d204cb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix issue template to read more clearly
      
      **What this PR does / why we need it**:
      
      This PR fixes the github issue template. Currently the wording is very awkward.
      c7d204cb
    • Kubernetes Submit Queue's avatar
      Merge pull request #40508 from vjsamuel/master · b5d92d6f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Preventing nil pointer reference in client_config
      
      When a user tries to set the `extensions` map in the kube config, loading of the client config causes nil pointer exception because the `Context`, `Cluster`, `AuthInfo` objects are created without initializing the extensions map. This PR attempts to fix that.
      b5d92d6f
    • Kubernetes Submit Queue's avatar
      Merge pull request #40744 from liggitt/1.6-release-notes · 2e59a9cd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update 1.6.0-alpha.1 changelog
      
      clean up some auth-related changelogs
      2e59a9cd
    • Kubernetes Submit Queue's avatar
      Merge pull request #40318 from bonifaido/patch-1-kubefed · 6de46a8e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix kubectl->kubefed typo
      
      **What this PR does / why we need it**: The kubefed CLI too had a typo in it's example text.
      
      **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**:
      6de46a8e
    • deads2k's avatar
      sync · a12d45a2
      deads2k authored
      a12d45a2
    • deads2k's avatar
    • deads2k's avatar
      move client/record · 8a120004
      deads2k authored
      8a120004
    • deads2k's avatar
      move pkg/storage to apiserver · 1ef5d260
      deads2k authored
      1ef5d260
  2. 31 Jan, 2017 14 commits