milvus/pkg/util/hardware
jaime ee26561b5d
fix: remove checking if running inside container (#29940)
issue: https://github.com/milvus-io/milvus/issues/29846

Since checking if Milvus running inside the container is difficult,
which is decided by the system version and cgroup version, we try to get
the memory limit of the container each time instead of checking whether
inside the container first.

Signed-off-by: jaime <yun.zhang@zilliz.com>
2024-01-14 10:24:52 +08:00
..
container_darwin.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00
container_linux.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00
container_test_linux.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00
container_windows.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00
hardware_info.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00
hardware_info_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
mem_info.go enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00
mem_info_darwin.go fix: remove checking if running inside container (#29940) 2024-01-14 10:24:52 +08:00