1. 26 Oct, 2016 27 commits
  2. 25 Oct, 2016 13 commits
    • Mike Danese's avatar
      remove old clients from build · 1682b812
      Mike Danese authored
      1682b812
    • Clayton Coleman's avatar
      generated: Unsafe conversions · d1c39c0a
      Clayton Coleman authored
      d1c39c0a
    • Clayton Coleman's avatar
      Generate unsafe conversions · 2b1790cc
      Clayton Coleman authored
      2b1790cc
    • Clayton Coleman's avatar
      5b18b4e5
    • Clayton Coleman's avatar
      07bd50be
    • Clayton Coleman's avatar
      Add conversion instructions · 65042efb
      Clayton Coleman authored
      65042efb
    • Clayton Coleman's avatar
    • Kubernetes Submit Queue's avatar
      Merge pull request #33616 from jingxu97/statusupdater-9-22 · d7f1484e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix volume states out of sync problem after kubelet restarts
      
      When kubelet restarts, all the information about the volumes will be
      gone from actual/desired states. When update node status with mounted
      volumes, the volume list might be empty although there are still volumes
      are mounted and in turn causing master to detach those volumes since
      they are not in the mounted volumes list. This fix is to make sure only
      update mounted volumes list after reconciler starts sync states process.
      This sync state process will scan the existing volume directories and
      reconstruct actual states if they are missing.
      
      This PR also fixes the problem during orphaned pods' directories. In
      case of the pod directory is unmounted but has not yet deleted (e.g.,
      interrupted with kubelet restarts), clean up routine will delete the
      directory so that the pod directoriy could be cleaned up (it is safe to
      delete directory since it is no longer mounted)
      
      The third issue this PR fixes is that during reconstruct volume in
      actual state, mounter could not be nil since it is required for creating
      container.VolumeMap. If it is nil, it might cause nil pointer exception
      in kubelet.
      Detailed design proposal is #33203
      d7f1484e
    • Kubernetes Submit Queue's avatar
      Merge pull request #33988 from Random-Liu/add-remote-docker-shim · 67d94799
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      CRI: Add dockershim grpc server.
      
      This PR adds a in-process grpc server for dockershim.
      
      Flags change:
      1. `container-runtime` will not be automatically set to remote when `container-runtime-endpoint` is set. @feiskyer 
      2. set kubelet flag `--experimental-runtime-integration-type=remote --container-runtime-endpoint=UNIX_SOCKET_FILE_PATH` to enable the in-process dockershim grpc server.
      3. set node e2e test flag `--runtime-integration-type=remote -container-runtime-endpoint=UNIX_SOCKET_FILE_PATH` to run node e2e test against in-process dockershim grpc server.
      
      I've run node e2e test against the remote cri integration, tests which don't rely on stream and log functions can pass.
      
      This unblocks the following work:
      1) CRI conformance test.
      2) Performance comparison between in-process integration and in-process grpc integration.
      
      @yujuhong @feiskyer 
      /cc @kubernetes/sig-node
      67d94799
    • Kubernetes Submit Queue's avatar
      Merge pull request #35321 from vishh/gci-rkt · ffeb01fd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Adding rkt binary to GCI 
      
      rkt is being used to support containerized storage plugins on GCI.
      ffeb01fd
    • mbohlool's avatar
      Update OpenAPI specs · cf181f91
      mbohlool authored
      cf181f91
    • mbohlool's avatar
      - Add GroupVersion as tags to OpenAPI spec · 75451b49
      mbohlool authored
      - Remove all end-point specs as they are not useful in light of GroupVersion tags in main spec
      75451b49
    • Kubernetes Submit Queue's avatar
      Merge pull request #35273 from jsafrane/fix-node-mutate · 0fdca3be
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fixed mutation warning in Attach/Detach controller
      
      Objects from shared informer must not be changed, they are shared among all
      controllers.
      
      ```release-note
      Fixed mutation warning in Attach/Detach controller
      ```
      
      This fixes CacheMutationDetector panic with this output:
      
      ```
      CACHE *api.Node[5] ALTERED!
      {"metadata":{"name":"ip-172-18-8-71.ec2.internal","selfLink":"/api/v1/nodes/ip-172-18-8-71.ec2.internal","uid":"73d07d16-976e-11e6-8225-0e2f14b56070","resourceVersion":"136","creationTimestamp":"2016-10-21T09:12:12Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"t2.medium","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east-1","failure-domain.beta.kubernetes.io/zone":"us-east-1d","kubernetes.io/hostname":"ip-172-18-8-71.ec2.internal"},"annotations":{"volumes.kubernetes.io/controller-managed-attach-detach":"true"}},"spec":{"externalID":"i-9cb6180f","providerID":"aws:///us-east-1d/i-9cb6180f"},"status":{"capacity":{"alpha.kubernetes.io/nvidia-gpu":"0","cpu":"2","memory":"4045568Ki","pods":"110"},"allocatable":{"alpha.kubernetes.io/nvidia-gpu":"0","cpu":"2","memory":"4045568Ki","pods":"110"},"conditions":[{"type":"OutOfDisk","status":"False","lastHeartbeatTime":"2016-10-21T09:12:52Z","lastTransitionTime":"2016-10-21T09:12:12Z","reason":"KubeletHasSufficientDisk","message":"kubelet has sufficient disk space available"},{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2016-10-21T09:12:52Z","lastTransitionTime":"2016-10-21T09:12:12Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2016-10-21T09:12:52Z","lastTransitionTime":"2016-10-21T09:12:12Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"InodePressure","status":"False","lastHeartbeatTime":"2016-10-21T09:12:52Z","lastTransitionTime":"2016-10-21T09:12:12Z","reason":"KubeletHasNoInodePressure","message":"kubelet has no inode pressure"},{"type":"Ready","status":"True","lastHeartbeatTime":"2016-10-21T09:12:52Z","lastTransitionTime":"2016-10-21T09:12:22Z","reason":"KubeletReady","message":"kubelet is posting ready status"}],"addresses":[{"type":"InternalIP","address":"172.18.8.71"},{"type":"LegacyHostIP","address":"172.18.8.71"},{"type":"ExternalIP","address":"54.85.104.236"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"78a79498db8e4fdc9ac24b5e436a982c","systemUUID":"EC2BB406-5467-4ABE-B54D-D9993C45714F","bootID":"2553d6b8-1ddb-4ef0-902a-d09a807b89ba","kernelVersion":"4.6.7-300.fc24.x86_64","osImage":"Fedora 24 (Cloud Edition)","containerRuntimeVersion":"docker://1.10.3","kubeletVersion":"v1.5.0-alpha.1.726+5aac5eddb809e4","kubeProxyVersion":"v1.5.0-alpha.1.726+5aac5eddb809e4","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["openshift/origin-release:latest"],"sizeBytes":714569002},{"names":["openshift/origin-haproxy-router-base:latest"],"sizeBytes":294417608},{"names":["openshift/origin-base:latest"],"sizeBytes":275310761},{"names":["docker.io/centos@sha256:2ae0d2c881c7123870114fb9cc7afabd1e31f9888dac8286884f6cf59373ed9b","docker.io/centos:centos7"],"sizeBytes":196744353},{"names":["gcr.io/google_containers/busybox@sha256:4bdd623e848417d96127e16037743f0cd8b528c026e9175e22a84f639eca58ff","gcr.io/google_containers/busybox:1.24"],"sizeBytes":1113554},{"names":["gcr.io/google_containers/pause-amd64@sha256:163ac025575b775d1c0f9bf0bdd0f086883171eb475b5068e7defa4ca9e76516","gcr.io/google_containers/pause-amd64:3.0"],"sizeBytes":746888}],"volumesInUse":["kubernetes.io/aws-ebs/aws://us-east-1d/vol-f4bd0352"]
      
      A: ,"volumesAttached":[{"name":"kubernetes.io/aws-ebs/aws://us-east-1d/vol-f4bd0352","devicePath":"/dev/xvdba"}]}}
      
      B: }}
      ```
      
      @saad-ali @jingxu97
      0fdca3be