1. 15 Aug, 2016 1 commit
  2. 14 Aug, 2016 6 commits
  3. 13 Aug, 2016 27 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #30401 from caesarxuchao/kubemark-gc-upstream · 817256a7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Let load and density e2e tests use GC if it's on
      
      I've run the 100 and 500 nodes tests and they both pass.
      
      The test-infra half of the PR is https://github.com/kubernetes/test-infra/pull/369
      
      cc @lavalamp
      817256a7
    • Brendan Burns's avatar
      Fix third party APIResource reporting · b3658c7b
      Brendan Burns authored
      b3658c7b
    • Kubernetes Submit Queue's avatar
      Merge pull request #29740 from svanharmelen/f-cloudstack-cloudprovider · ceb75699
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add CloudStack cloud provider (extended and refactored)
      
      This PR is superseding PR #26165 is which some groundwork for this PR has been done. So this PR now fixes #26165 and fixes #26045.
      
      I've been in contact with @ngtuna about this updated version of his earlier work (which is still in this PR as one squashed commit) and he has given his 👍  for this 😉
      
      This PR adds additional logic for allocating and associating a public IP, if the `—load-balancer-ip` option is not used. It will do proper management of public IP’s that are allocated by this provider ( so IP’s that are no longer needed/used will also be released again).
      
      Additionally the provider can now also work with CloudStack projects and advanced (VPC) networks. And lastly the Zone interface now returns an actual zone (supplied by the cloud config), a few logical errors are fixed and the first few tests are added.
      
      All the functionality is extensively tested against both basic and advanced (VPC) networks and of course all new and existing (integration) tests are all passing.
      ceb75699
    • Kubernetes Submit Queue's avatar
      Merge pull request #30251 from hongchaodeng/r2 · e39d7f71
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Move new etcd storage (low level storage) into cacher
      
      In an effort for #29888, we are pushing forward this:
      
      What?
      - It changes creating etcd storage.Interface impl into creating config
      - In creating cacher storage (StorageWithCacher), it passes config created above and new etcd storage inside.
      
      Why?
      - We want to expose the information of (etcd) kv client to cacher. Cacher storage uses this information to talk to remote storage.
      e39d7f71
    • Kubernetes Submit Queue's avatar
      Merge pull request #30557 from freehan/cniconfig · 7d00b427
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      move syncNetworkConfig to Init for cni network plugin
      
      start syncNetworkConfig routine in `Init` instead of probing. This fixes a bug where the syncNetworkConfig runs periodically even `cni` network plugin is not in use.
      7d00b427
    • Kubernetes Submit Queue's avatar
      Merge pull request #30556 from ixdy/kubekins-test-bc · 874a1869
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Install bc in the kubekins-test image
      
      I finally figured out those
      ```
      /dev/fd/63: line 124: bc: command not found
      /dev/fd/63: line 125: bc: command not found
      ```
      lines that keep appearing in build logs.
      
      Image is not yet pushed.
      874a1869
    • Kubernetes Submit Queue's avatar
      Merge pull request #30528 from hongchaodeng/fix · 25f29cb7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      add RequiresExactMatch test for empty andterm
      
      What?
      Add a test path for empty andterm.
      
      Why?
      fields.Everything() returns empty andterm.
      fields.SelectorFromSet() returns empty andterm.
      25f29cb7
    • Kubernetes Submit Queue's avatar
      Merge pull request #30517 from kubernetes/cri/remove-resources · 9d3bd4ca
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove resource specifications from CRI until further notice
      
      See #29871 for the discussion issue.
      
      cc @dchen1107 @vishh @yujuhong @euank @yifan-gu @feiskyer
      9d3bd4ca
    • Kubernetes Submit Queue's avatar
      Merge pull request #30510 from derekwaynecarr/logging-fix · f98de240
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Endpoint controller logs errors during normal cluster behavior
      
      The endpoint controller logs an error when its forbidden from creating new endpoints during namespace termination.  This is normal cluster behavior, and therefore should not be logged.  This confuses operators administrating the cluster.
      
      Updated to log at a lower level in response to a forbidden message when performing a create operation.  In case of an error on the API server side of the house, I continue to requeue the key.  It should be ignored in a future syncService call once the service is deleted as part of namespace termination.
      
      See https://bugzilla.redhat.com/show_bug.cgi?id=1347425
      
      /cc @kubernetes/rh-cluster-infra
      f98de240
    • Kubernetes Submit Queue's avatar
      Merge pull request #30508 from timothysc/etcd304_cleanup · b47596a8
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Update core etcd references to use 3.0.4
      
      This updates the core references to use 3.0.4. 
      
      There are still legacy references in the code base that should be cleaned, or just removed but I'm reluctant to purge.  
      
      /cc @kubernetes/sig-scalability
      b47596a8
    • Sander van Harmelen's avatar
      Enable managing public IP’s and work with projects · 7c3e6441
      Sander van Harmelen authored
      This commit adds logic for allocating and associating a public IP, if the `—load-balancer-ip` option is not used. It will do proper management of IP’s that are allocated by this provider, so IP’s that are no longer needed/used will also be released again.
      
      Additionally the provider can now also work with CloudStack projects and advanced (VPC) networks.
      
      Lastly the Zone interface now returns an actual zone (supplied by the cloud config), a few logical errors are fixed and the first few tests are added.
      
      All the functionality is extensively tested against both basic and advanced (VPC) networks.
      7c3e6441
    • Kubernetes Submit Queue's avatar
      Merge pull request #30383 from deads2k/fix-reaper · a44baa0a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      speed up RC scaler
      
      The RC scaler was waiting before starting the scale and then didn't use a watch to observe the result.  That led to longer than expected wait times.
      
      @fabianofranz ptal.  You may want to sweep the rest of the file.  It could use some tidying with `RetryOnConflict` and `watch.Until`.
      a44baa0a
    • ngtuna's avatar
      Initial CloudStack provider · 52cb7b07
      ngtuna authored
      52cb7b07
    • Sander van Harmelen's avatar
      godep: add go-cloudstack dependency · 9c105f03
      Sander van Harmelen authored
      9c105f03
    • Kubernetes Submit Queue's avatar
      Merge pull request #30372 from bbreslauer/addons-kubectl-opts · 9f8625fb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add user-specified kubectl arguments to addons start script
      
      This is a simple way, using the same environment variable paradigm used throughout these scripts, to let a user specify kubectl arguments to the addons script.
      
      fixes #30371
      9f8625fb
    • Kubernetes Submit Queue's avatar
      Merge pull request #30366 from dims/fix-issue-30355 · 8a35d4c9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Validate SHA/Tag when checking docker images
      
      Docker API does not validate the tag/sha, for example, all the following
      calls work say for a alpine image with short SHA "4e38e38c8ce0"
      echo -e "GET /images/alpine:4e38e38c8ce0/json HTTP/1.0\r\n" | nc -U /var/run/docker.sock
      echo -e "GET /images/alpine:4e38e38c/json HTTP/1.0\r\n" | nc -U /var/run/docker.sock
      echo -e "GET /images/alpine:4/json HTTP/1.0\r\n" | nc -U /var/run/docker.sock
      
      So we should check the response from the Docker API and look for the tags or SHA explicitly.
      
      Fixes #30355
      8a35d4c9
    • Kubernetes Submit Queue's avatar
      Merge pull request #30246 from liggitt/certificates · df1abb40
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Set user info in CertificateSigningRequest.Spec on create
      
      Fixes #30239
      df1abb40
    • Kubernetes Submit Queue's avatar
      Merge pull request #30327 from janetkuo/sj-controller-client · dadb3322
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Use unversioned client in scheduledjobs and set group version to batch/v2alpha1
      
      Fixes #30323
      dadb3322
    • Kubernetes Submit Queue's avatar
      Merge pull request #30247 from ardnaxelarak/28695_suppress_noisy_output · f0e5dac1
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Make more messages respect --quiet flag
      
      Make following two messages respect `--quiet` in `kubectl run`
      - `If you don't see a command prompt, try pressing enter.`
      - `Pod "name" deleted`
      
      Ref #28695
      f0e5dac1
    • Kubernetes Submit Queue's avatar
      Merge pull request #30222 from hodovska/port-forward-cmd-struct · 612e3c26
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      kubectl/port-forward: complete/validate/run structure
      
      ```kubectl port-forward``` command is converted to a complete/validate/run kubectl command structure specified here: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/kubectl-conventions.md#command-conventions
      In this PR is also exposed the ready and stop channel for API consumer.
      
      Fixes #16504
      612e3c26
    • Kubernetes Submit Queue's avatar
      Merge pull request #30137 from nhlfr/cni-plugin-fail · 929b238a
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Set pod state as "unknown" when CNI plugin fails
      
      Before this change, CNI plugin failure didn't change anything in the pod status, so pods having containers without requested network were "running".
      
      Fixes #29148
      929b238a
    • Hongchao Deng's avatar
      move new etcd storage into cacher · d0938094
      Hongchao Deng authored
      d0938094
    • Kubernetes Submit Queue's avatar
      Merge pull request #30559 from mwielgus/informer-quick-fix · b7ccc15b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix in default client factory in federated informer
      
      This wasn't catched by junit tests because we mock the factory.
      b7ccc15b
    • Kubernetes Submit Queue's avatar
      Merge pull request #30087 from dims/remove-pkill-dependency · 96655d75
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Remove kubelet pkill dependency
      
      Issue #26093 identified pkill as one of the dependencies of kublet
      which could be worked around.  Build on the code introduced for pidof
      and regexp for the process(es) we need to send a signal to.
      
      Related to #26093
      96655d75
    • Kubernetes Submit Queue's avatar
      Merge pull request #29515 from madhusudancs/fed-makefile · 2b349887
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      A build and deploy script to manage cluster federation lifecycle and a Makefile wrapper to drive that process.
      
      Also includes a sample config file to describe clusters.
      
      The build script implements the following things:
      1. Generates the required configs.
      2. Builds the hyperkube binary and the corresponding docker image.
      3. Pushes the image to a specified repository.
      4. Pulls the federation installer docker images.
      5. Builds the Kubernetes clusters described the config.json file.
      6. Pushes the federation components to one of the Kubernetes clusters
         built in the previous step.
      7. Also turns down the federation components and the Kubernetes
         clusters.
      
      **NOTE**: Installer images are right now being pulled from my public repository of docker images. I am working on pushing them to our release repository.
      
      ```release-note
      Cluster Federation components can now be built and deployed using the make command. Please see federation/README.md for details.
      ```
      
      cc @kubernetes/sig-cluster-federation @colhom 
      
      Fixes: Issue #26655
      2b349887
    • Kubernetes Submit Queue's avatar
      Merge pull request #30421 from nikhiljindal/eventsAPI · 29eda9bf
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Adding events to federation control plane
      
      Adding events to federation control plane.
      
      Apart from the standard changes to add a resource to `federation/apis/core/v1`, other changes are:
      * Adding a new `federationoptions.ServerRunOptions` which includes `genericoptions.ServerRunOptions` and EventsTTL. 
      * Added a new method in `pkg/api/mapper` to build a RestMapper based on the passed Scheme rather than using `api.Scheme`. Updated `federation/apis/core/install` to use this new method. Without this change, if `federation/apis/core/install.init()` is called before `pkg/api/install.init()` then the registered RESTMapper in `pkg/apimachinery/registered` will have no resources. This second problem will be fixed once we have instances of `pkg/apimachinery/registered` instead of a single global singleton (generated clientset which imports `pkg/api/install` will have a different instance of registered, than federation-apiserver which imports `federation/apis/core/install`).
      
      cc @kubernetes/sig-cluster-federation @lavalamp
      29eda9bf
    • Marcin Wielgus's avatar
      9c794c42
  4. 12 Aug, 2016 6 commits