Skip to content

Commit 66df84b

Browse files
authored
Merge pull request kubernetes#126748 from SergeyKanzhelev/api_cri_readme
cri-api: readme update for 1.31
2 parents 572c0a1 + 1fa3c2e commit 66df84b

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

staging/src/k8s.io/cri-api/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,21 @@ No changes
249249
- [Add image_id to CRI ContainerStatus message](https://github.com/kubernetes/kubernetes/pull/123583)
250250
- Added `image_id` field to type `ContainerStatus`
251251

252+
### v1.31
253+
254+
`git diff v1.30.0 v1.31.0 -- staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto`
255+
256+
- [KEP-3619: Add NodeStatus.Features.SupplementalGroupsPolicy API and e2e](https://github.com/kubernetes/kubernetes/pull/125470)
257+
- Added `features` field to the type `StatusResponse` for the runtime to kubelet handshake on what features are supported
258+
259+
- [KEP-3619: Fine-grained SupplementalGroups control](https://github.com/kubernetes/kubernetes/pull/117842)
260+
- Added `supplemental_groups_policy` field to types `LinuxContainerSecurityContext` and `LinuxSandboxSecurityContext`
261+
- Added `user` field to the type `ContainerStatus` to represent actual user for the container
262+
263+
- [[KEP-4639] Add OCI VolumeSource CRI API](https://github.com/kubernetes/kubernetes/pull/125659)
264+
- Added `image` field to the type `Mount` to represent the OCI VolumeSource
265+
266+
252267
## Community, discussion, contribution, and support
253268

254269
Learn how to engage with the Kubernetes community on the [community

staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ message PodSandboxStatusResponse {
601601
map<string, string> info = 2;
602602
// Container statuses
603603
repeated ContainerStatus containers_statuses = 3;
604-
// Timestamp at which container and pod statuses were recorded
604+
// Timestamp in nanoseconds at which container and pod statuses were recorded
605605
int64 timestamp = 4;
606606
}
607607

@@ -1344,7 +1344,7 @@ message ContainerResources {
13441344

13451345
message ContainerUser {
13461346
// User identities initially attached to first process in the Linux container.
1347-
// Note that the actual running identity can be changed if the process has enough privilege to do so.
1347+
// Note that the actual running identity can be changed if the process has enough privilege to do so.
13481348
LinuxContainerUser linux = 1;
13491349

13501350
// User identities initially attached to first process in the Windows container
@@ -1863,7 +1863,7 @@ message ContainerEventResponse {
18631863
// Type of the container event
18641864
ContainerEventType container_event_type = 2;
18651865

1866-
// Creation timestamp of this event
1866+
// Creation timestamp in nanoseconds of this event
18671867
int64 created_at = 3;
18681868

18691869
// Sandbox status
@@ -1927,7 +1927,7 @@ message Metric {
19271927
// otherwise, it will be ignored.
19281928
string name = 1;
19291929
// Timestamp should be 0 if the metric was gathered live.
1930-
// If it was cached, the Timestamp should reflect the time it was collected.
1930+
// If it was cached, the Timestamp should reflect the time in nanoseconds it was collected.
19311931
int64 timestamp = 2;
19321932
MetricType metric_type = 3;
19331933
// The corresponding LabelValues to the LabelKeys defined in the MetricDescriptor.

0 commit comments

Comments
 (0)