1. 16 Feb, 2017 10 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #41239 from vmware/e2eTestsUpdate-v2 · 68238037
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37137, 41506, 41239, 41511, 37953)
      
      e2e test for storage class diskformat verification for vsphere cloud provider
      
      **What this PR does / why we need it**:
      This PR adds a new e2e test for vsphere cloud provider.
      Test is to verify diskformat specified in storage-class is being honored while volume creation.
      
      Steps:
      
      1. Create StorageClass with diskformat set to valid type (supported options are `eagerzeroedthick`, `zeroedthick` and `thin`)
      2. Create PVC which uses the StorageClass created in step 1.
      3. Wait for PV to be provisioned.
      4. Wait for PVC's status to become Bound
      5. Create POD using PVC on specific node.
      6. Wait for Disk to be attached to the node.
      7. Get node VM's devices and find PV's Volume Disk.
      8. Get Backing Info of the Volume Disk and obtain Property of `VirtualDiskFlatVer2BackingInfo` - `EagerlyScrub` and `ThinProvisioned`
      9. Based on the value of `EagerlyScrub` and `ThinProvisioned`, verify if diskformat is correct.
      10. Delete POD and Wait for Volume Disk to be detached from the Node.
      11. Delete PVC, PV and Storage Class
      
      
      
      **Which issue this PR fixes** *
      fixes #
      
      **Special notes for your reviewer**:
      Test is executed against v1.6.0-alpha.1
      Test is failing on v1.4.8
      
      **Release Note**
      ```release-note
      NONE
      ```
      @kerneltime @BaluDontu @abrarshivani please review this PR
      68238037
    • Kubernetes Submit Queue's avatar
      Merge pull request #41506 from shyamjvs/fix-kubemark-rbac · fcd7c3f0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 37137, 41506, 41239, 41511, 37953)
      
      Bump addon-manager version to v6.4-alpha.1 in kubemark
      
      Fixes https://github.com/kubernetes/kubernetes/issues/41493
      
      cc @wojtek-t @liggitt
      fcd7c3f0
    • Kubernetes Submit Queue's avatar
      Merge pull request #37137 from ingvagabund/stop-controller-when-the-stop-channel-is-closed · 28123f95
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Stop controller when the stop channel is closed (when queue is empty and Pop is hanging)
      
      Fixes: #28158
      
      When a ``Pop`` function is invoked over empty queue, the control loop inside the functions is stacked indefinitely. In order to break the loop, introduce logic that waits for a signal to exit the loop.
      
      Intention of the PR is not to handle situation where manipulation operations are invoked over closed queue. Intention is to break the indefinite loop.
      28123f95
    • Kubernetes Submit Queue's avatar
      Merge pull request #41490 from gmarek/empty · ce144e1e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Empty test starts a single Pod
      ce144e1e
    • Kubernetes Submit Queue's avatar
      Merge pull request #41452 from yujuhong/rename_flag · 148155f8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Change node e2e cri-validation configs
      
      Copy the configs to a new directory to test non-cri implementation. We can
      remove the original directory after the dependent PRs are merged.
      148155f8
    • Kubernetes Submit Queue's avatar
      Merge pull request #41502 from luxas/kubeadm_bump_limit · c478d728
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41104, 41245, 40722, 41439, 41502)
      
      Bump the minimum kubeadm control plane version to v1.6.0-alpha.2
      
      **What this PR does / why we need it**:
      
      There went in quite a lot of useful features into v1.6.0-alpha.2 that kubeadm will use.
      This bump the minimum limit so we can depend on those features.
      
      **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
      ```
      @mikedanese @errordeveloper @pires @dmmcquay @dgoodwin
      c478d728
    • Kubernetes Submit Queue's avatar
      Merge pull request #41439 from deads2k/apiserver-12-sample-fuzz · 92360ffc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41104, 41245, 40722, 41439, 41502)
      
      add sample fuzzing tests
      
      Make fuzzing tests as simple as possible from both the API installer and the scheme, so its easy to add for api groups and so that I can build a scheme and then make sure I got it right.
      
      @kubernetes/sig-api-machinery-pr-reviews @sttts @mikedanese
      92360ffc
    • Kubernetes Submit Queue's avatar
      Merge pull request #40722 from micmro/40721 · 01393e34
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41104, 41245, 40722, 41439, 41502)
      
      openstack-heat: do not daemonize salt-minion
      
      _openstack-heat_ does currently not setup a _salt-master_, so it is not necessary to  daemonize it.
      
      **What this PR does / why we need it**:
      as stated in #40721:
      
      > The _openstack-heat_ provider only installs _salt-minions_, no _salt-master_. The configuration does not take this into account which causes the following issues:
      > 
      > - the _salt minion_ is not able to DNS resolve `salt` (see fist part of error log below)
      > - the _salt-minion_ is daemonized and fails finding the master (second part of error log below). From my understanding is not required when there is no salt-master, as the setup uses `salt-call` 
      > anyway (see [gce provider](https://github.com/kubernetes/kubernetes/blob/master/cluster/gce/configure-vm.sh#L328-L339) as reference).
      > 
      > ```
      > Jan 31 03:00:04 kube-stack-master salt-minion[9795]: [ERROR   ] DNS lookup of 'salt' failed.
      > Jan 31 03:00:04 kube-stack-master salt-minion[9795]: [ERROR   ] Master hostname: 'salt' not found. Retrying in 30 seconds
      > ...
      > Jan 31 02:35:30 kube-stack-master salt-minion[9690]: [ERROR   ] Error while bringing up minion for multi-master. Is master at salt responding?
      > ```
      > 
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #40721
      
      **Release note**:
      ```release-note
      Do not daemonize `salt-minion` for the openstack-heat provider.
      ```
      01393e34
    • Kubernetes Submit Queue's avatar
      Merge pull request #41245 from wojtek-t/rollback_2_2_1 · e6286644
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41104, 41245, 40722, 41439, 41502)
      
      Change the etcd rollback tool to do rollback to 2.2.1 version.
      
      I did some tests of it and for my 3-node cluster with 1 deployment it worked fine.
      
      But before merging this, we should probably do way more testing (we should rerun tests that @mml was doing for the previous script).
      
      @lavalamp @xiang90
      e6286644
    • Kubernetes Submit Queue's avatar
      Merge pull request #41104 from apprenda/kubeadm_client-go_move · d60d8a7b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubeadm: Migrate to client-go
      
      **What this PR does / why we need it**: Finish the migration for kubeadm to use client-go wherever possible
      
      **Which issue this PR fixes**: fixes #https://github.com/kubernetes/kubeadm/issues/52
      
      **Special notes for your reviewer**: /cc @luxas @pires 
      
      **Release note**:
      ```release-note
      NONE
      ```
      d60d8a7b
  2. 15 Feb, 2017 30 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #34931 from nhlfr/cadvisor-container-info-table · a1afc024
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubelet: Make cadvisor GetContainerInfo tests table driven
      a1afc024
    • Kubernetes Submit Queue's avatar
      Merge pull request #40907 from cblecker/clientgo-pem-functions · e73e2542
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Move private key parsing from serviceaccount/jwt.go to client-go/util/cert
      
      **What this PR does / why we need it**:
      Unify private key parsing from serviceaccount/jwt.go into the client-go library.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*:
      Partial fix to #40807 - only private key functions.
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```release-note
      Move private key parsing from serviceaccount/jwt.go to client-go/util/cert
      ```
      e73e2542
    • Derek McQuay's avatar
      kubeadm: moved import to client-go, where possible · 70e7d64b
      Derek McQuay authored
      Some imports dont exist yet (or so it seems) in client-go (examples
      being:
      
        - "k8s.io/kubernetes/pkg/api/validation"
        - "k8s.io/kubernetes/pkg/util/initsystem"
        - "k8s.io/kubernetes/pkg/util/node"
      
      one change in kubelet to import to client-go
      70e7d64b
    • Kubernetes Submit Queue's avatar
      Merge pull request #41395 from gmarek/owners · 1fc1e5ef
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add gmarek and jszczepkowski to cluster/gce owners
      
      cc @mikedanese @zmerlynn @roberthbailey
      1fc1e5ef
    • Kubernetes Submit Queue's avatar
      Merge pull request #33550 from rtreffer/kubelet-allow-multiple-dns-server · 3bc575c9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Allow multipe DNS servers as comma-seperated argument for kubelet --dns
      
      This PR explores how kubectls "--dns" could be extended to specify multiple DNS servers for in-cluster PODs. Testing on the local libvirt-coreos cluster shows that multiple DNS server are injected without issues.
      
      Specifying multiple DNS servers increases resilience against
      - Packet drops
      - Single server failure
      
      I am debugging services that do 50+ DNS requests for a single incoming interactive request, thus highly increase the chance of a slowdown (+5s) due to a single packet drop. Switching to two DNS servers will reduce the impact of the issues (roughly +1s on glibc, 0s on musl, error-rate goes down to error-rate^2).
      
      Note that there is no need to change any runtime related code as far as I know. In the case of "default" dns the /etc/resolv.conf is parsed and multiple DNS server are send to the backend anyway. This only adds the same capability for the clusterFirst case.
      
      I've heard from @thockin that multiple DNS entries are somehow considered. I've no idea what was considered, though. This is what I would like to see for our production use, though.
      
      ```release-note
      NONE
      ```
      3bc575c9
    • Kubernetes Submit Queue's avatar
      Merge pull request #41261 from ncdc/shared-informers-07-resourcequota · 1ad5cea2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Switch resourcequota controller to shared informers
      
      Originally part of #40097 
      
      I have had some issues with this change in the past, when I updated `pkg/quota` to use the new informers while `pkg/controller/resourcequota` remained on the old informers. In this PR, both are switched to using the new informers. The issues in the past were lots of flakey test failures in the ResourceQuota e2es, where it would randomly fail to see deletions and handle replenishment. I am hoping that now that everything here is consistently using the new informers, there won't be any more of these flakes, but it's something to keep an eye out for.
      
      I also think `pkg/controller/resourcequota` could be cleaned up. I don't think there's really any need for `replenishment_controller.go` any more since it's no longer running individual controllers per kind to replenish. It instead just uses the shared informer and adds event handlers to it. But maybe we do that in a follow up.
      
      cc @derekwaynecarr @smarterclayton @wojtek-t @deads2k @sttts @liggitt @timothysc @kubernetes/sig-scalability-pr-reviews
      1ad5cea2
    • Shyam Jeedigunta's avatar
    • Yu-Ju Hong's avatar
      Add non-cri configurations for node e2e tests · 0189da49
      Yu-Ju Hong authored
      0189da49
    • Yu-Ju Hong's avatar
      Remove EXPERIMENTAL_CRI in local-up-cluster.sh · 9287d6ee
      Yu-Ju Hong authored
      Kubelet now uses CRI by default.
      9287d6ee
    • Kubernetes Submit Queue's avatar
      Merge pull request #41474 from wojtek-t/debug_decode_parameters · 14bdecee
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41332, 41069, 41470, 41474)
      
      Fix unnecessary conversions in parameter codec.
      
      Fix #41472
      
      @deads2k @smarterclayton @sttts
      14bdecee
    • Kubernetes Submit Queue's avatar
      Merge pull request #41470 from kubernetes/revert-41018-revert-40735-avoid_copy_in_cacher · a2e4d377
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41332, 41069, 41470, 41474)
      
      "Avoid unnecessary copies in cacher""
      
      This is resend of #40735 (which I reverted when I suspected it to cause issues). But the issue was a completely different. So it's safe to resubmit.
      a2e4d377
    • Kubernetes Submit Queue's avatar
      Merge pull request #41069 from soltysh/test_owners · 30a54103
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41332, 41069, 41470, 41474)
      
      Update test owners
      
      @nikhiljindal I've noticed you've duplicated the `test_owners.csv` contents in c1c2a121 was that intentional. I'm removing it here, since it's failing `hack/update_owners.py`
      30a54103
    • Lucas Käldström's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #41332 from jszczepkowski/etcd-cluster-state-16 · 33aedca5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Added configurable etcd initial-cluster-state to kube-up script.
      
      Added configurable etcd initial-cluster-state to kube-up script. This
      allows creation of multi-master cluster from scratch. This is a
      cherry-pick of #41320 from 1.5 branch.
      
      ```release-note
      Added configurable etcd initial-cluster-state to kube-up script.
      ```
      33aedca5
    • gmarek's avatar
      Empty test starts a single Pod · bcedf60d
      gmarek authored
      bcedf60d
    • Kubernetes Submit Queue's avatar
      Merge pull request #41343 from p0lyn0mial/kubectl_get_short_names_from_discovery_api · fbc94c08
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      shortcut expander will take the list of short names from the api ser…
      
      **What this PR does / why we need it**: the shortcut expander will take the list of short names for resources from the API server during the discovery. For backward compatibility a hardcoded list of short names will always be appended while evaluating a short name.
      fbc94c08
    • deads2k's avatar
      add sample fuzzing tests · 2d5fe9d8
      deads2k authored
      2d5fe9d8
    • Kubernetes Submit Queue's avatar
      Merge pull request #40928 from deads2k/agg-01-local-up · 5802799e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      make kube-aggregator run as static pod for local-up-cluster
      
      Runs the kube-aggregator as a static pod for local-up-cluster.  Looks like someone broke kubectl negotiation again, so I'll fix that up separately.
      
      @kubernetes/sig-api-machinery-misc 
      @lavalamp you're probably looking to run kube-aggregator as a static pod, here's an example.
      @jwforres I'll make a secure variant for wiring up to openshift.
      5802799e
    • Michal Rostecki's avatar
    • Wojciech Tyczynski's avatar
      Merge pull request #41480 from liggitt/kubemark-scheduler · 50fe0160
      Wojciech Tyczynski authored
      Mount kubeconfig dir into kubemark container
      50fe0160
    • Jordan Liggitt's avatar
      d69a75d5
    • Kubernetes Submit Queue's avatar
      Merge pull request #41455 from gnufied/fix-aws-device-allocator · 17e74563
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix AWS device allocator to only use valid device names
      
      According to
      http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html
      we can only use /dev/xvd[b-c][a-z] as device names - so we can only
      allocate upto 52 ebs volumes on a node.
      
      fixes #41453 
      
      cc @justinsb  @kubernetes/sig-storage-pr-reviews
      17e74563
    • Jess Frazelle's avatar
      Update CHANGELOG.md for v1.4.9. · d3086944
      Jess Frazelle authored
      d3086944
    • deads2k's avatar
      45d274bb
    • deads2k's avatar
      kube-aggregator manifests based on hostpath · c2ac9e5c
      deads2k authored
      c2ac9e5c
    • Kubernetes Submit Queue's avatar
      Merge pull request #41313 from sttts/sttts-apiserver-server-storage · 61ec9678
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41134, 41410, 40177, 41049, 41313)
      
      apiserver: further cleanup of apiserver storage plumbing
      
      - move kubeapiserver`s `RESTOptionsFactory` back to EtcdOptions by adding a `AddWithStorageFactoryTo`
      - factor out storage backend `Config` construction from EtcdOptions
      - move all `StorageFactory` related code into server/storage subpackage.
      
      In short: remove my stomach ache about `kubeapiserver.RESTOptionsFactory`.
      
      approved based on #40363
      61ec9678
    • Kubernetes Submit Queue's avatar
      Merge pull request #41049 from copejon/pv-provision-in-unmanaged-zone · f551c571
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41134, 41410, 40177, 41049, 41313)
      
      PV E2E:  dynamically provisioned volume should not create in unmanaged zone
      
      **What this PR does / why we need it**:
      Adds e2e test to that attempts to provision a volume in an unmanaged zone and fails on success.  This is to catch regressions of #31948.
      
      
      cc @jeffvance 
      ```release-note
      NONE
      ```
      f551c571
    • Kubernetes Submit Queue's avatar
      Merge pull request #40177 from copejon/isolate-recycler-test · f2da9d8c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41134, 41410, 40177, 41049, 41313)
      
      Isolate recycler behavior in PV E2E
      
      **What this PR does / why we need it**:
      Sets the default `reclaimPolicy` for PV E2E to `Retain` and isolates `Recycle` tests to their own context.  The purpose of this is to future proof the PV test suite against the possible deprecation of the `Recycle` behavior.  This is done by consolidating recycling test code into a single Context block that can be removed en masse without affecting the test suite.
      
      Secondly, adds a liveliness check for the NFS server pod prior to each test to avoid maxing out timeouts if the NFS server becomes unavailable.
      
      cc @saad-ali @jeffvance
      f2da9d8c
    • Kubernetes Submit Queue's avatar
      Merge pull request #41410 from irfanurrehman/fed-bug-fix-1 · 33c9ab48
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41134, 41410, 40177, 41049, 41313)
      
      [Federation][Kubefed] Bug fix relating kubeconfig path in kubefed init
      
      **What this PR does / why we need it**:
      Fixes https://github.com/kubernetes/kubernetes/issues/41305
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      https://github.com/kubernetes/kubernetes/issues/41305
      The kubeconfig explicit path is not updated correctly when supplied through the --kubeconfig flag in kubefed init. This leads to the details about the initialised federation control plane not getting updated in the correct kubeconfig file.
      
      **Special notes for your reviewer**:
      @madhusudancs 
      
      **Release note**:
      
      ```
      Fixed a bug that caused the kubeconfig entry for the initialized federation control plane to be not written to the supplied kubeconfig file when the file was supplied through the --kubeconfig flag.
      ```
      33c9ab48
    • Kubernetes Submit Queue's avatar
      Merge pull request #41134 from shyamjvs/refactor-final-blow · 5cc2f73b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41134, 41410, 40177, 41049, 41313)
      
      Refactored kubemark code into provider-specific and provider-independent parts [Part-3]
      
      Fixes #38967
      Applying final part of the changes in PR #39033 (which refactored kubemark code completely). The changes included in this PR are:
      
      - Removed `test/kubemark/common.sh` and moved relevant parts of its code to the right places in start-kubemark/stop-kubemark scripts.
      - Added DOCKER_REGISTRY, PROJECT, KUBEMARK_IMAGE_MAKE_TARGET variables to `/test/kubemark/cloud-provider-config.sh` to make the kubemark image push location variable wrt provider.
      - Removed get-real-pod-for-hollow-node.sh as it doesn't seem to do anything useful.
      
      @kubernetes/sig-scalability-misc @wojtek-t @gmarek
      5cc2f73b