1. 26 Apr, 2016 3 commits
    • k8s-merge-robot's avatar
      Merge pull request #24646 from nikhiljindal/removeMasterDep · b04f6ffc
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Move SSHTunneler to genericapiserver and remove federated-apiserver's dependency on pkg/master
      
      cc @jianhuiz 
      b04f6ffc
    • k8s-merge-robot's avatar
      Merge pull request #24280 from deads2k/quota-single-writer · 869580b5
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      use single writer to improve quota performance
      
      Performance improvement is comparable to https://github.com/openshift/origin/pull/6658, though I'm getting some crazy stalls during initial calculation on master (not on this branch), so there may be an existing problem.  This implementation won't scale out quite as well, but I don't think we'll need much more for a while and this one is easier to read.
      
      This buckets based on namespace, then bunches updates where possible to avoid request fanout, and does fast notification when it can.  It correctly handles updating multiple quota docs.
      
      @derekwaynecarr @kubernetes/rh-cluster-infra 
      869580b5
    • k8s-merge-robot's avatar
      Merge pull request #24746 from ixdy/node-names · f1686ef4
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Make detect-node-names less brittle for G{C,K}E
      
      Use the `--format='value()'` option with `gcloud compute instance-groups managed list{,-instances}` instead of `--format=yaml` with a series of `grep`s and `cut`s. This is hopefully a bit more stable.
      
      Fixes #24120.
      
      cc @kubernetes/sig-testing @jlowdermilk @freehan 
      f1686ef4
  2. 25 Apr, 2016 12 commits
  3. 24 Apr, 2016 7 commits
    • Adam Pyle's avatar
      Incorrect attribute - docs - pod-security-context · ea53fd76
      Adam Pyle authored
      Pod definition had incorrect spelling on attribute `securityContext`
      Also fixed the flow of Motivation intro paragraph.
      ea53fd76
    • k8s-merge-robot's avatar
      Merge pull request #24502 from cjcullen/subresource · c5df0bf2
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Add Subresource & Name to webhook authorizer.
      
      Pass through the Subresource and Name fields from the `authorization.Attributes` to the `SubjectAccessReviewSpec.ResourceAttributes`.
      c5df0bf2
    • k8s-merge-robot's avatar
      Merge pull request #24499 from gmarek/load · 39f62240
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Add Services to Load test
      39f62240
    • k8s-merge-robot's avatar
      Merge pull request #23800 from resouer/image-refactor · 4f9e8729
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Refactor image related functions to use docker engine-api
      
      ref #23563 
      
      Hopes can do some help, cc @Random-Liu 
      
      If it's ok, will add more work here.
      4f9e8729
    • k8s-merge-robot's avatar
      Merge pull request #24496 from euank/rkt-finished-at · 30891c7f
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      rkt: Return `FinishedAt` for pod
      
      This is implemented via touching a file on stop as a hook in the systemd
      unit. The ctime of this file is then used to get the `finishedAt` time
      in the future.
      In addition, this changes the `startedAt` and `createdAt` to use the api
      server's results rather than the annotations it previously used.
      
      It's possible we might want to move this into the api in the future.
      
      Fixes #23887
      
      
      I did the following manual testing:
      ```
      $ cat ./examples/output/exit-output.yml 
      apiVersion: v1
      kind: Pod
      metadata:
        labels:
          name: exit
        name: exit-output
      spec:
        restartPolicy: Never
        containers:
          - name: exit
            image: busybox
            command: ["sh", "-c", "echo Exiting in 60; sleep 60; echo goodbye"]
      $ kubectl create -f ./examples/exit/exit-output.yaml
      $ # wait
      $ kubectl describe pod exit-output | grep State -A 4
          State:		Terminated
            Reason:		Completed
            Exit Code:	0
            Started:		Tue, 19 Apr 2016 13:23:13 -0700
            Finished:		Tue, 19 Apr 2016 13:24:13 -0700
      $ kubectl logs exit-output
      Exiting in 60
      goodbye
      ```
      
      I double checked as well that the file at `/var/lib/kubelet/pods/$id/finished-$id` existed and looked as expected.
      
      This is related to https://github.com/coreos/rkt/issues/1789#issuecomment-207111814 and follows https://github.com/kubernetes/kubernetes/pull/24367 + https://github.com/coreos/rkt/issues/2445
      
      cc @jonboulle @iaguis @yifan-gu @kubernetes/sig-node
      30891c7f
    • k8s-merge-robot's avatar
      Merge pull request #24474 from deads2k/fix-version-registration · 0d4b039d
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      stop changing the root path of the root webservice
      
      We shouldn't mutate the root path of the root webservice (see usage).  Just write the path we want.
      0d4b039d
    • k8s-merge-robot's avatar
      Merge pull request #24470 from deads2k/shared-cache-02 · ea15d792
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      update controllers watching all pods to share an informer
      
      This plumbs the shared pod informer through the various controllers to avoid duplicated watches.
      ea15d792
  4. 23 Apr, 2016 14 commits
  5. 22 Apr, 2016 4 commits
    • k8s-merge-robot's avatar
      Merge pull request #24626 from nikhiljindal/kubeapiversions · 945daaae
      k8s-merge-robot authored
      Automatic merge from submit-queue
      
      Removing KUBE_API_VERSIONS from our test scripts
      
      We dont need to specify them.
      Its an unnecessary extra change that people have to make while adding a group.
      
      We also need this change for ubernetes.
      
      cc @caesarxuchao @jianhuiz 
      945daaae
    • Euan Kemp's avatar
      rkt: Implement pod `FinishedAt` · a6718f59
      Euan Kemp authored
      This is implemented via touching a file on stop as a hook in the systemd
      unit. The ctime of this file is then used to get the `finishedAt` time
      in the future.
      In addition, this changes the `startedAt` and `createdAt` to use the api
      server's results rather than the annotations it previously used.
      
      It's possible we might want to move this into the api in the future.
      
      Fixes #23887
      a6718f59
    • Euan Kemp's avatar
      Godeps: vendor gomock · 82f3ec14
      Euan Kemp authored
      82f3ec14
    • Euan Kemp's avatar
      Godeps: Update rkt to v1.4.0 · 03f3f420
      Euan Kemp authored
      03f3f420