kubernetes/pkg/kubelet/dockertools
Kubernetes Submit Queue 8371a778f6 Merge pull request #35839 from Random-Liu/add-cri-runtime-status
Automatic merge from submit-queue

CRI: Add Status into CRI.

For https://github.com/kubernetes/kubernetes/issues/35701.
Fixes https://github.com/kubernetes/kubernetes/issues/35701.

This PR added a `Status` call in CRI, and the `RuntimeStatus` is defined as following:

``` protobuf
message RuntimeCondition {
    // Type of runtime condition.
    optional string type = 1;
    // Status of the condition, one of true/false.
    optional bool status = 2;
    // Brief reason for the condition's last transition.
    optional string reason = 3;
    // Human readable message indicating details about last transition.
    optional string message = 4;
}

message RuntimeStatus {
    // Conditions is an array of current observed runtime conditions.
    repeated RuntimeCondition conditions = 1;
}
```

Currently, only `conditions` is included in `RuntimeStatus`, and the definition is almost the same with `NodeCondition` and `PodCondition` in K8s api.

@yujuhong @feiskyer @bprashanth If this makes sense, I'll send a follow up PR to let dockershim return `RuntimeStatus` and let kubelet make use of it.
@yifan-gu @euank Does this make sense to rkt?
/cc @kubernetes/sig-node
2016-11-06 04:16:29 -08:00
..
fixtures/seccomp Add profile unit tests 2016-06-13 14:39:09 +02:00
BUILD Merge pull request #31707 from apprenda/windows_infra_container 2016-11-06 01:30:11 -07:00
container_gc_test.go * Refactor kuberuntime unit test 2016-10-24 00:03:34 -07:00
container_gc.go dockershim: implement ContainerStatus() 2016-07-28 18:24:29 -07:00
convert_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
convert.go Avoiding trying to gc images with no tags which are still in use 2016-07-27 10:31:47 -07:00
docker_manager_linux.go Fixed kubelet build. 2016-11-01 16:34:47 -04:00
docker_manager_test.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
docker_manager_unsupported.go Fixed kubelet build. 2016-11-01 16:34:47 -04:00
docker_manager_windows.go Fixed kubelet build. 2016-11-01 16:34:47 -04:00
docker_manager.go Merge pull request #35839 from Random-Liu/add-cri-runtime-status 2016-11-06 04:16:29 -08:00
docker_test.go pod and qos level cgroup support 2016-11-02 08:07:04 -04:00
docker.go pod and qos level cgroup support 2016-11-02 08:07:04 -04:00
exec.go Add return code support to kubectl-exec and -run 2016-08-20 15:58:47 +02:00
fake_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
fake_manager.go Revert "Remove pod mutation for PVs with supplemental GIDs" 2016-07-14 17:47:46 -07:00
images_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
images.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
instrumented_docker.go Add method to inspect Docker images by ID 2016-10-10 15:16:58 -04:00
kube_docker_client.go * Add docker pullable support. 2016-10-12 09:21:10 -07:00
labels_test.go Add container ports label. 2016-08-08 18:40:18 -07:00
labels.go Add container ports label. 2016-08-08 18:40:18 -07:00