Mike Brown
f1a3c3705f
Merge pull request #9815 from kiashok/updateCRIServicePull
...
Pass runtimehandler from CRI to pull image request
2024-02-15 00:38:40 +00:00
Mike Brown
97f86f18ae
Merge pull request #9788 from kiashok/criRemoveImage
...
Add CRIImageService.RemoveImage()
2024-02-14 23:49:07 +00:00
Kirtana Ashok
b9dfba5b80
Add CRIImageService.RemoveImage()
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2024-02-14 13:49:39 -08:00
Kirtana Ashok
4c775fcfbf
Pass runtimehandler from CRI pull image request
...
Starting with k8s cri-api v0.29.1, CRI supports new runtime handler flag
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2024-02-14 13:31:23 -08:00
Akihiro Suda
1b3a96da6c
cri: propagate deprecation list to runtime status
...
Propagate the deprecation list to CRI runtime conditions.
The propagated conditions are visible via `crictl info`,
but not visible via `kubectl get nodes -o yaml` yet, although
the CRI API says "These conditions will be exposed to users to help
them understand the status of the system".
https://github.com/kubernetes/cri-api/blob/v0.29.1/pkg/apis/runtime/v1/api.proto#L1505-L1509
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-02-14 03:59:49 +09:00
Phil Estes
9b2313711b
Merge pull request #9782 from kinvolk/rata/userns-update-podSandboxStatus
...
Include userns info in cri/server PodSandboxStatus
2024-02-09 17:40:23 +00:00
Akihiro Suda
b466b7ef85
Merge pull request #9747 from AkihiroSuda/revert-9713
...
Revert "cri: make read-only mounts recursively read-only"
2024-02-08 10:29:03 +00:00
Rodrigo Campos
06ed897b22
cri/server: Add userns tests in PodSandboxStatus
...
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2024-02-07 17:06:01 +01:00
Rodrigo Campos
6c356a5c75
cri: Expose userns in PodSandboxStatus rpc
...
We added support for userns but we weren't showing it in the
podSandboxStatus.
Let's just show the whole nsOpts, so we don't forget in the future
either if something else inside there changes.
Please note that this will expose the content of nsOpts.TargetId that we
weren't exposing before. But that seemed like a bug to me.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
Maybe this is better?
2024-02-07 17:06:01 +01:00
Henry Wang
1eaf0c1f04
bug fix: make sure cri image is pinned when it is pulled outside cri
...
Signed-off-by: Henry Wang <henwang@amazon.com >
2024-02-07 16:03:40 +00:00
Derek McGowan
86530c0afb
Move image event publishing to metadata store
...
The metadata store is in the best place to handle events directly after
the database has been updated. This prevents every user of the image
store interface from having to know whether or not they are responsible
for publishing events and avoid double events if the grpc local service
is used.
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-02-06 21:24:55 -08:00
Abel Feng
e230ed939c
sandbox: add sandbox recover ut and e2e test
...
Signed-off-by: Abel Feng <fshb1988@gmail.com >
2024-02-04 11:55:46 +08:00
Abel Feng
3124964743
sandbox: fix recover status set issue
...
We can't set the status to Ready before task.Wait succeed.
Signed-off-by: Abel Feng <fshb1988@gmail.com >
2024-02-04 11:52:37 +08:00
Akihiro Suda
6670695836
Revert "cri: make read-only mounts recursively read-only"
...
Revert PR 9713, as it appeared to break the compatibility too much
https://github.com/kubernetes/enhancements/pull/3858#issuecomment-1925441072
This reverts commit b2f254fff0 .
> Conflicts:
> internal/cri/opts/spec_linux_opts.go
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2024-02-04 01:17:14 +09:00
Maksym Pavlenko
2875247338
Fix formatting after moving CRI
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-02 10:12:08 -08:00
Maksym Pavlenko
bbac058cf3
Move CRI from pkg/ to internal/
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com >
2024-02-02 10:12:08 -08:00
Derek McGowan
e7eb08eb56
Add support for multiple subscribers to CRI container events
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-19 21:27:06 -08:00
Derek McGowan
19e763553c
Move pkg/truncindex to internal/truncindex
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:46 -08:00
Derek McGowan
764c907003
Move pkg/tomlext to internal/tomlext
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:37 -08:00
Derek McGowan
1c4be2d883
Move pkg/testutil to internal/testutil
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:28 -08:00
Derek McGowan
114df368f0
Move pkg/registrar to internal/registrar
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:19 -08:00
Derek McGowan
4ee6419fad
Move pkg/randutil to internal/randutil
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:10 -08:00
Derek McGowan
696cf25650
Move pkg/kmutex to internal/kmutex
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:57:01 -08:00
Derek McGowan
5e1d9543be
Move pkg/hasher to internal/hasher
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:56:52 -08:00
Derek McGowan
23914a01b8
Move pkg/failpoint to internal/failpoint
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:56:43 -08:00
Derek McGowan
c79ecfe246
Move pkg/cleanup to internal/cleanup
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2024-01-17 09:56:34 -08:00