1. 04 Oct, 2016 12 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #31777 from dshulyak/evict_pet · f79a53a7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Delete evicted pet
      
      If pet was evicted by kubelet - it will stuck in this state forever.
      By analogy to regular pod we need to re-create pet so that it will
      be re-scheduled to another node, so in order to re-create pet
      and preserve consitent naming we will delete it in petset controller
      and create after that.
      
      fixes: https://github.com/kubernetes/kubernetes/issues/31098
      f79a53a7
    • Kubernetes Submit Queue's avatar
      Merge pull request #33836 from feiskyer/portforward · 3be57068
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Kubelet: fix port forward for dockershim
      
      This PR fixes port forward for dockershim and also adds a `kubecontainer.FormatPod`.
      
      Locally cluster has passed `--ginkgo.focus=Port\sforwarding'` tests.
      
      cc/ @Random-Liu @yujuhong
      3be57068
    • Kubernetes Submit Queue's avatar
      Merge pull request #33796 from jingxu97/quickfix-aws-9-28 · 1dc82775
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix issue in updating device path when volume is attached multiple times
      
      When volume is attached, it is possible that the actual state
      already has this volume object (e.g., the volume is attached to multiple
      nodes, or volume was detached and attached again). We need to update the
      device path in such situation, otherwise, the device path would be stale
      information and cause kubelet mount to the wrong device.
      
      This PR partially fixes issue #29324
      1dc82775
    • Kubernetes Submit Queue's avatar
      Merge pull request #33899 from MrHohn/fix_config_test · 47b4c0e7
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix #33784, IN_CREATE event does not guarantee file content written
      
      Fixed #33784.
      
      The CREATE inotify event [here](https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/config/file_linux_test.go#L275) is triggered by os.OpenFile(), however the content would be written by the following f.Write(). It will fail if the program try to process the event in between.
      
      IN_CREAE event is triggered by open(2), mkdir(2), link(2), symlink(2), bind(2), but not all of them will guarantee the content is written ([ref](http://man7.org/linux/man-pages/man7/inotify.7.html)). <s>Hence we should not respond to IN_CREATE event for pod creation. I believe listen on IN_MODIFY and IN_MOVED_TO would be sufficient for pod addition&update.
      
      Would like to see the Jenkins test results for further evaluation.
      
      @Random-Liu
      47b4c0e7
    • Kubernetes Submit Queue's avatar
      Merge pull request #33218 from dashpole/NodeInodePressure_type · 092f9edb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Split NodeDiskPressure into NodeInodePressure and NodeDiskPressure
      
      Added NodeInodePressure as a NodeConditionType.  SignalImageFsInodesFree and SignalNodeFsInodesFree signal this pressure.  Also added simple pieces to the scheduler predicates so that it takes InodePressure into account.
      092f9edb
    • Kubernetes Submit Queue's avatar
      Merge pull request #33501 from bprashanth/feature_gate · dffac87c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Enable alpha features in local-up-cluster
      
      because why not
      dffac87c
    • Kubernetes Submit Queue's avatar
      Merge pull request #33500 from Random-Liu/apparmor-seccomp-cri · a241daf3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add seccomp and apparmor support.
      
      This PR adds seccomp and apparmor support in new CRI.
      
      This a WIP because I'm still adding unit test for some of the functions. Sent this PR here for design discussion.
      
      This PR is similar with https://github.com/kubernetes/kubernetes/pull/33450.
      The differences are:
      * This PR passes seccomp and apparmor configuration via annotations;
      * This PR keeps the seccomp handling logic in docker shim because current seccomp implementation is very docker specific, and @timstclair told me that even the json seccomp profile file is defined by docker.
      
      Notice that this PR almost passes related annotations in `api.Pod` to the runtime directly instead of introducing new CRI annotation.
      
      @yujuhong @feiskyer @timstclair
      a241daf3
    • Kubernetes Submit Queue's avatar
      Merge pull request #33982 from zmerlynn/kops-add-ssh-key · 15381a27
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      e2e.go / kops: Add ssh-key option to override ssh key
      
      **What this PR does / why we need it**: By default, Jenkins stuffs the ssh key in `/workspace/.aws/kube_aws_rsa`. This allow the SSH key to be overridden easily on the command line.
      15381a27
    • Kubernetes Submit Queue's avatar
      Merge pull request #33866 from sjenning/fix-fed-flake · 889e9766
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      wait for federation informer store to catch up before update
      
      Fixes #33838 #33880 
      
      There is a flake in the federation-controller code where an update to a resource is done too quickly after the create.  Because the resource is not yet in the federated informer store, when the reconcile<Resource>() is called, it can't find the resource and treats the change as a create rather than a update.
      
      This causes a failure (actually a panic) in the test code, which expects an update event, not a create, in response to the resource modification.
      
      @derekwaynecarr @apelisse @mwielgus
      889e9766
    • Zach Loafman's avatar
      e2e.go / kops: Add ssh-key option to override ssh key · eb44add2
      Zach Loafman authored
      By default, Jenkins stuffs the ssh key in
      /workspace/.aws/kube_aws_rsa. Allow this to be overridden easily on
      the command line.
      eb44add2
    • Kubernetes Submit Queue's avatar
      Merge pull request #33869 from madhusudancs/fed-e2e-cleanup-v4 · 4a0cd145
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Deregister clusters during federated namespace e2e tear down.
      
      This is causing other tests to leak resources.
      
      cc @mwielgus @kubernetes/sig-cluster-federation
      4a0cd145
    • Jing Xu's avatar
      Fix issue in updating device path when volume is attached multiple times · 9e8edf6b
      Jing Xu authored
      When volume is attached, it is possible that the actual state
      already has this volume object (e.g., the volume is attached to multiple
      nodes, or volume was detached and attached again). We need to update the
      device path in such situation, otherwise, the device path would be stale
      information and cause kubelet mount to the wrong device.
      
      This PR partially fixes issue #29324
      9e8edf6b
  2. 03 Oct, 2016 18 commits
  3. 02 Oct, 2016 7 commits
  4. 01 Oct, 2016 3 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #33813 from ymqytw/improve_e2e_error_message · fa96ff3b
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Provide more detailed error message when pod fails to be success state
      
      Return more detailed error message when it timeouts for waiting for pod to success state.
      This PR extends #31895. #31895 is for running and ready state.
      
      It is used for debugging #31561 #32980
      
      cc: @lavalamp
      fa96ff3b
    • Kubernetes Submit Queue's avatar
      Merge pull request #33752 from justinsb/labels_annotations_and_taints_ohmy · 8cdd5269
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Start a doc for well-known labels & taints
      8cdd5269
    • Kubernetes Submit Queue's avatar
      Merge pull request #33831 from rustyrobot/print-cert-info · 347d4481
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Kubeadm: print information about certificates
      
      Prints basic information about certificates to the user.
      
      Example of `kubeadm init` output:
      ```
      <master/pki> generated Certificate Authority key and certificate:
      Issuer: CN=kubernetes | Subject: CN=kubernetes | CA: true
      Not before: 2016-09-30 11:19:19 +0000 UTC Not After: 2026-09-28 11:19:19 +0000 UTC
      Public: /etc/kubernetes/pki/ca-pub.pem
      Private: /etc/kubernetes/pki/ca-key.pem
      Cert: /etc/kubernetes/pki/ca.pem
      <master/pki> generated API Server key and certificate:
      Issuer: CN=kubernetes | Subject: CN=kube-apiserver | CA: false
      Not before: 2016-09-30 11:19:19 +0000 UTC Not After: 2017-09-30 11:19:19 +0000 UTC
      Alternate Names: [172.18.76.239 10.0.0.1 kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local]
      Public: /etc/kubernetes/pki/apiserver-pub.pem
      Private: /etc/kubernetes/pki/apiserver-key.pem
      Cert: /etc/kubernetes/pki/apiserver.pem
      <master/pki> generated Service Account Signing keys:
      Public: /etc/kubernetes/pki/sa-pub.pem
      Private: /etc/kubernetes/pki/sa-key.pem
      ```
      
      Example of `kubeadm join` command:
      ```
      <node/csr> received signed certificate from the API server:
      Issuer: CN=kubernetes | Subject: CN=system:node:minion | CA: false
      Not before: 2016-09-30 11:28:00 +0000 UTC Not After: 2017-09-30 11:28:00 +0000 UTC
      ```
      
      Fixes #33642
      cc @kubernetes/sig-cluster-lifecycle
      347d4481