Sascha Grunert
de37b9d293
Make CRI v1
the default and allow a fallback to v1alpha2
...
This patch makes the CRI `v1` API the new project-wide default version.
To allow backwards compatibility, a fallback to `v1alpha2` has been added
as well. This fallback can either used by automatically determined by
the kubelet.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-11-17 11:05:05 -08:00
Peter Hunt
a9b7dcc8c2
kubelet: update remote runtimes for cri stat changes
...
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2021-07-08 13:17:04 -04:00
danielqsj
1a9b121764
remove deprecated metrics of kubelet
2020-01-10 16:46:52 +08:00
Kubernetes Prow Robot
097d58523a
Merge pull request #75278 from Nessex/updatecontainerresources-label-fix
...
Fix label on UpdateContainerResources operation
2019-04-12 08:44:48 -07:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
...
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Nathan Essex
394c581a56
Fix label on UpdateContainerResources operation
2019-03-12 14:18:53 +09:00
haiyanmeng
ec18200f8b
Fit RuntimeClass metrics to prometheus conventions
...
1) Add suffix (`seconds` or `total`) to metric name
2) Switch Summary metric to Histogram metric (Summary metrics are not
supported completely by prometheus-to-sd and can't be aggregated.)
2019-02-19 12:46:37 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
haiyanmeng
18bcdcecce
Add monitoring for RuntimeClass
2019-02-04 16:01:29 -08:00
Eric Lin
5e2ed11cf7
Pass PodSandboxConfig to PullImage method in CRI
...
Fix #71745
2018-12-07 10:10:22 +08:00
Tim Allclair
63f3bc1b7e
Implement RuntimeClass support for the Kubelet & CRI
2018-09-04 13:45:11 -07:00
Lee Verberne
e10042d22f
Increment CRI version from v1alpha1 to v1alpha2
...
This also incorporates the version string into the package name so
that incompatibile versions will fail to connect.
Arbitrary choices:
- The proto3 package name is runtime.v1alpha2. The proto compiler
normally translates this to a go package of "runtime_v1alpha2", but
I renamed it to "v1alpha2" for consistency with existing packages.
- kubelet/apis/cri is used as "internalapi". I left it alone and put the
public "runtimeapi" in kubelet/apis/cri/runtime.
2018-02-07 09:06:26 +01:00
Yu-Ju Hong
57d8b64dbd
CRI: Add a call to reopen log file for a container
...
This allows a daemon external to the container runtime to rotate the log
file, and then ask the runtime to reopen the files.
2018-01-29 14:05:38 -08:00
Lantao Liu
d387eab817
Fix CRI container/imagefs stats.
2017-09-18 07:48:20 +00:00
Seth Jennings
9fbf8f57dd
add UpdateContainerResources function to CRI
2017-07-31 20:47:56 -05:00
Pengfei Ni
22e99504d7
Update CRI references
2017-06-09 10:16:40 +08:00
Yu-Ju Hong
417e9c8cea
Update all relevant interfaces and create stubs
2017-05-24 15:21:16 -07:00
Michael Taufen
cbad320205
Reorganize kubelet tree so apis can be independently versioned
2017-05-12 10:02:33 -07:00
Pengfei Ni
5f7de0ab97
Add ImageFsInfo API for ImageManagerService
2017-05-03 15:17:45 +08:00
Yu-Ju Hong
202488995a
docker-CRI: Remove legacy code for non-grpc integration
2017-01-26 17:23:20 -08:00
Pengfei Ni
9d52b761cc
kuberuntime/dockershim: add image ref to ImageService interfaces
2016-12-29 16:53:01 +08:00
Pengfei Ni
f584ed4398
Fix package aliases to follow golang convention
2016-11-30 15:40:50 +08:00
Random-Liu
55c5232810
Add Status implementation.
2016-11-05 00:02:05 -07:00
Tim St. Clair
c60db99536
Implement streaming CRI methods in dockershim
2016-10-28 11:15:53 -07:00
Random-Liu
ced5a848f5
Add instrumented CRI service which is enabled for both grpc and non-grpc
...
integration.
2016-10-25 10:59:27 -07:00