containerd/pkg/cri/server
James Sturtevant f914edf4f6
[cri] Handle Windows pod transitions gracefully
When the pods are transitioning there are several
cases where containers might not be in valid state.
There were several cases where the stats where
failing hard but we should just continue on as
they are transient and will be picked up again
when kubelet queries for the stats again.

Signed-off-by: James Sturtevant <jstur@microsoft.com>

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-07-12 09:57:14 -07:00
..
bandwidth Fix some typos 2023-05-16 10:12:50 +08:00
testing update go-cni/for cni update fixing plugins that don't respond with version 2022-06-01 17:20:18 -05:00
blockio_linux.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
blockio_stub_linux.go *: introduce wrapper pkgs for blockio and rdt 2023-02-10 08:21:34 +08:00
cni_conf_syncer.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
container_attach.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_checkpoint.go Set grpc code for unimplemented cri-api methods 2022-09-22 07:24:48 +00:00
container_create_linux_test.go Merge pull request #8252 from bart0sh/PR008-CDI-use-CRI-field 2023-05-10 21:16:49 +08:00
container_create_linux.go Get CDI devices from CRI Config.CDIDevices field 2023-04-14 13:41:08 +03:00
container_create_other_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
container_create_other.go CRI: Create DefaultCRIAnnotations helper 2023-02-13 13:05:01 -08:00
container_create_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_create_windows_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_create_windows.go Merge pull request #8198 from kiashok/argsEscapedSupportInCri 2023-03-07 16:12:24 +08:00
container_create.go Pass in imagespec.Platform to WithVolumes() 2023-06-08 12:31:04 +03:00
container_events.go Add Evented PLEG support to sandbox server 2022-12-08 19:31:36 +00:00
container_exec.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_execsync_test.go *: add DrainExecSyncIOTimeout config and disable as by default 2023-03-03 00:21:55 +08:00
container_execsync.go Merge pull request #8198 from kiashok/argsEscapedSupportInCri 2023-03-07 16:12:24 +08:00
container_list_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_list.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_log_reopen.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_remove_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_remove.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
container_start_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_start.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
container_stats_list_linux_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_stats_list_linux.go Fix umarshal metrics for CRI server 2023-05-03 20:50:04 +00:00
container_stats_list_other.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
container_stats_list_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_stats_list_windows.go go.mod: github.com/containerd/typeurl/v2 v2.1.0 2023-02-11 23:39:52 +09:00
container_stats_list.go remove unneeded nolint-comments (nolintlint), disable deprecated linters 2022-10-12 14:41:01 +02:00
container_stats.go remove unneeded nolint-comments (nolintlint), disable deprecated linters 2022-10-12 14:41:01 +02:00
container_status_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_status.go ContainerStatus to return container resources 2022-08-24 19:08:06 +00:00
container_stop_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_stop.go pkg/cri: split out NRI API from pkg/cri/server. 2023-02-13 22:05:45 +02:00
container_update_resources_linux_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
container_update_resources_linux.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_update_resources_other.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
container_update_resources_windows.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
container_update_resources.go avoid "any" as variable name 2023-06-10 13:49:06 +02:00
events_test.go avoid "any" as variable name 2023-06-10 13:49:06 +02:00
events.go avoid "any" as variable name 2023-06-10 13:49:06 +02:00
fuzz.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
helpers_linux_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
helpers_linux.go cri: Simplify parseUsernsIDs() 2022-12-30 16:49:28 -03:00
helpers_other.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
helpers_selinux_linux_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
helpers_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
helpers_windows_test.go test: add hostNetwork tests for both windows and linux 2023-02-11 00:15:48 +03:00
helpers_windows.go Remove redundant build tags 2021-08-05 22:27:46 -07:00
helpers.go Pinned image support 2023-06-02 09:57:22 +05:30
image_list_test.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
image_list.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
image_pull_test.go Pinned image support 2023-06-02 09:57:22 +05:30
image_pull.go Pinned image support 2023-06-02 09:57:22 +05:30
image_remove.go Add a thin wrapper around otel Span object 2022-11-11 01:28:27 +00:00
image_status_test.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
image_status.go Pinned image support 2023-06-02 09:57:22 +05:30
imagefs_info_test.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
imagefs_info.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
list_metric_descriptors.go Update to cri-api v0.26.0-beta.0 2022-11-18 21:13:34 +00:00
list_pod_sandbox_metrics.go Update to cri-api v0.26.0-beta.0 2022-11-18 21:13:34 +00:00
metrics.go Register imagePullThroughput and count with MiB 2023-04-07 10:12:41 +08:00
nri_linux.go pkg/cri: split out NRI API from pkg/cri/server. 2023-02-13 22:05:45 +02:00
nri_other.go pkg/cri: split out NRI API from pkg/cri/server. 2023-02-13 22:05:45 +02:00
nri.go pkg/cri: split out NRI API from pkg/cri/server. 2023-02-13 22:05:45 +02:00
rdt_linux.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
rdt_stub_linux.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
restart.go go.mod: github.com/containerd/typeurl/v2 v2.1.0 2023-02-11 23:39:52 +09:00
sandbox_list_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
sandbox_list.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
sandbox_portforward_linux.go 'go routine' should be 'goroutine' 2023-02-08 14:10:34 +08:00
sandbox_portforward_other.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
sandbox_portforward_windows.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
sandbox_portforward.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
sandbox_remove.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
sandbox_run_linux_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
sandbox_run_linux.go Add noexec nodev and nosuid to sandbox /etc/resolv.conf mount bind. 2023-03-24 21:56:53 +00:00
sandbox_run_other_test.go Cleanup build constraints 2022-12-08 09:36:20 -08:00
sandbox_run_other.go Remove no_pivot when creating container from CRI 2023-03-15 09:18:16 -07:00
sandbox_run_test.go avoid "any" as variable name 2023-06-10 13:49:06 +02:00
sandbox_run_windows_test.go cri: add pod uid annotation 2022-11-19 01:12:02 +01:00
sandbox_run_windows.go Remove no_pivot when creating container from CRI 2023-03-15 09:18:16 -07:00
sandbox_run.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
sandbox_stats_linux.go [cri] Handle Windows pod transitions gracefully 2023-07-12 09:57:14 -07:00
sandbox_stats_list.go [cri] Handle Windows pod transitions gracefully 2023-07-12 09:57:14 -07:00
sandbox_stats_other.go Add Windows Sandbox Stats 2023-03-03 14:37:38 -08:00
sandbox_stats_windows_test.go [cri] Handle Windows pod transitions gracefully 2023-07-12 09:57:14 -07:00
sandbox_stats_windows.go [cri] Handle Windows pod transitions gracefully 2023-07-12 09:57:14 -07:00
sandbox_stats.go Add Windows Sandbox Stats 2023-03-03 14:37:38 -08:00
sandbox_status_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
sandbox_status.go CRI: Add host networking helper 2022-12-14 01:47:22 -08:00
sandbox_stop_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
sandbox_stop.go pkg/cri: split out NRI API from pkg/cri/server. 2023-02-13 22:05:45 +02:00
service_linux.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
service_other.go CRI: Comment cleanup/misc fixes 2023-01-02 18:55:31 -08:00
service_test.go Copy FuzzCRI from cncf/cncf-fuzzing 2022-06-27 22:54:25 +00:00
service_windows.go CRI: Comment cleanup/misc fixes 2023-01-02 18:55:31 -08:00
service.go replace some basic uses of fmt.Sprintf() 2023-06-10 13:24:43 +02:00
snapshots.go Cleanup logrus imports 2023-05-05 11:54:14 -07:00
status.go Replace golang.org/x/net/context with std library 2022-02-22 02:27:05 +08:00
streaming_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
streaming.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
test_config.go Copy FuzzCRI from cncf/cncf-fuzzing 2022-06-27 22:54:25 +00:00
update_runtime_config_test.go pkg/cri/server: sub-test uses array and capture range var 2023-04-16 16:47:02 +08:00
update_runtime_config.go cri: write generated CNI config atomically on Unix 2023-06-02 16:56:34 -07:00
version.go Remove cri v1alpha1 services 2023-03-16 17:48:49 +08:00