Files
kubernetes/test/e2e/windows
Vincent Boulineau 3bff11244b kubelet: fix /stats/summary endpoint on Windows when init-containers are present on the node
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.
2020-05-04 14:42:02 +02:00
..
2020-03-04 02:56:21 +00:00
2020-02-25 19:56:03 +00:00
2020-02-23 02:09:14 -08:00
2019-08-29 14:51:23 +00:00

Notes to run sig-windows tests

  1. 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
  1. 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.