mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-12 05:35:17 -04:00
Following changes in #87730, Kubelet is directly hcsshim to gather stats. However, unlike `docker stats` API that was used before, hcsshim does not keep information about exited containers. When the Kubelet lists containers (`docker_container.go:ListContainers()`), it sets `All: true`, retrieving non-running containers. When docker stats is called with such container id, it'll return a valid JSON with all values set to 0. The non-running containers are filtered later on in the process. When the hcsshim is called with such container id, it'll return an error, effectively stopping the stats retrieval for all containers. |
||
|---|---|---|
| .. | ||
| BUILD | ||
| cpu_limits.go | ||
| density.go | ||
| dns.go | ||
| framework.go | ||
| gmsa_full.go | ||
| gmsa_kubelet.go | ||
| hybrid_network.go | ||
| kubelet_stats.go | ||
| memory_limits.go | ||
| OWNERS | ||
| README.md | ||
| security_context.go | ||
| service.go | ||
| utils.go | ||
| volumes.go | ||
Notes to run sig-windows tests
- Prereqs:
KUBECONFIG=path/to/kubeconfig
curl https://raw.githubusercontent.com/kubernetes-sigs/windows-testing/master/images/image-repo-list -o repo_list
export KUBE_TEST_REPO_LIST=$(pwd)/repo_list
-
Run only sig-windows tests:
./e2e.test --provider=local --ginkgo.noColor --ginkgo.focus="\[sig-windows\]" --node-os-distro="windows"
e2e_node/density_test diff
This test is borrowed from the density test in e2e_node/density_test. All but the first test were omitted as well as some logging.