Davanum Srinivas
931456a142
Simplify the node name for metrics - just use localhost
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-28 18:21:12 -04:00
Kubernetes Prow Robot
2190775b69
Merge pull request #118280 from stlaz/e2e_psa_labels
...
Set all PSa labels in tests
2023-06-28 11:14:43 -07:00
Kubernetes Prow Robot
470889278f
Merge pull request #118910 from dims/better-url-for-scraping-metrics-from-kubelet
...
Better URL for scraping metrics from kubelet in node e2e tests
2023-06-27 16:00:41 -07:00
Kubernetes Prow Robot
48a6fb0c42
Merge pull request #118909 from dims/bump-to-latest-node-problem-detector-version-with-arm64
...
Bump to latest node-problem-detector version with arm64
2023-06-27 14:58:42 -07:00
Kubernetes Prow Robot
e4b3b4f20c
Merge pull request #118904 from dims/cleanup-pods-at-the-end-in-pod-conditions-e2e-node-test
...
Cleanup pods at the end in Pod conditions e2e node test
2023-06-27 14:58:31 -07:00
Davanum Srinivas
a75b00ea39
Better URL for scraping metrics from kubelet
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 16:14:59 -04:00
Davanum Srinivas
685b0c5efa
Bump to latest node-problem-detector version with arm64
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 16:04:12 -04:00
Kubernetes Prow Robot
76b2198da1
Merge pull request #118901 from dims/set-aws-specific-credential-provider-when-running-there
...
Set AWS specific credential provider when running there
2023-06-27 08:56:51 -07:00
Davanum Srinivas
6c587b43e9
Cleanup pods at the end in Pod conditions e2e node test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 09:36:00 -04:00
Patrick Ohly
e7df337eba
e2e: replace gomega.Equal(true/false) with gomega.BeTrue/BeFalse()
...
The failure message becomes a bit nicer. Found by the new ginkgolinter, for
example:
test/e2e/windows/memory_limits.go:160:2: ginkgo-linter: wrong boolean assertion; consider using `gomega.Eventually(ctx, func() bool {
eventList, err := f.ClientSet.CoreV1().Events(f.Namespace.Name).List(ctx, metav1.ListOptions{})
...
}, 3*time.Minute, 10*time.Second).Should(gomega.BeTrue())` instead (ginkgolinter)
2023-06-27 14:20:20 +02:00
Patrick Ohly
8b33e8bdd1
e2e: fix gomega.Expect calls without assertions
...
"gomega.Expect" is not the same as "assert" in C: it always has to be combined
with a statement of what is expected.
Found with the new ginkgolinter, for example:
test/e2e/node/pod_resize.go:242:3: ginkgo-linter: "Expect": missing assertion method. Expected "Should()", "To()", "ShouldNot()", "ToNot()" or "NotTo()" (ginkgolinter)
gomega.Expect(found == true)
2023-06-27 14:20:20 +02:00
Davanum Srinivas
0ef1f2f2d8
Set AWS specific credential provider when running there
...
NOTE: we are not installing the ecr-credential-provider binary
itself here we are, we need to do it out-of-band from the test
suite itself before it runs.
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-06-27 07:45:59 -04:00
Dr. Stefan Schimanski
764da8a01d
FIXUP: cmd/kube-apiserver/app/options: split apart controlplane part
2023-06-26 21:50:38 +02:00
Dr. Stefan Schimanski
6e079545c4
cmd/kube-apiserver: move options completion into options package
2023-06-26 15:20:40 +02:00
Michal Wozniak
e3ee9b9adc
Fix the deletion of rejected pods
2023-06-22 09:18:34 +02:00
Kubernetes Prow Robot
a532733703
Merge pull request #118754 from pacoxu/fix-prometheus-client
...
fix metrics test with 1.16.0 prometheus client
2023-06-21 20:25:39 -07:00
Stanislav Laznicka
7f532891c9
e2e tests: set all PSa labels instead of just enforcing
2023-06-21 15:05:13 +02:00
Paco Xu
420fbd11e4
ignore Histogram for prometheus client v1.16.0
2023-06-21 09:38:05 +08:00
Paco Xu
bbae445d17
fix metrics test with 1.16.0 prometheus client
2023-06-20 16:46:31 +08:00
Ed Bartosh
a1e0aa0e50
DRA Node E2E: add NodeAlphaFeature to fix CI
...
Added NodeAlphaFeature:DynamicResourceAllocation to the Node DRA test
to fix failing containerd serial jobs. Those jobs skip tests labeled
with NodeAlphaFeature.
2023-06-17 13:12:40 +03:00
Kubernetes Prow Robot
e56002ab04
Merge pull request #118665 from bart0sh/PR119-DRA-E2E-remove-NodeFeature
...
DRA Node E2E: remove NodeFeature label
2023-06-14 18:10:18 -07:00
Ed Bartosh
a83edd35c4
DRA Node E2E: relabel test suite to fix CI
...
Removed NodeFeature:DynamicResourceAllocation label from the
tests to fix cos-cgroupv1/v2-containerd-node-e2e-serial CI jobs.
It turned out that labeling DRA Node tests as NodeFeature was
a mistake. Re-labeling with NodeAlphaFeature would not work either.
It would fail certain containerd jobs as DRA requires containerd >= 1.7
2023-06-14 20:46:24 +03:00
Kubernetes Prow Robot
99e050f88e
Merge pull request #117597 from CoderSherlock/master
...
Added e2e_node test for sigkilled pods exit code and exit reason check
2023-06-14 10:34:29 -07:00
Kubernetes Prow Robot
6a79a8a57c
Merge pull request #115835 from HirazawaUi/fix-terminationGracePeriod-bug
...
fix terminationGracePeriod blocked by preStop
2023-06-14 10:34:18 -07:00
Kubernetes Prow Robot
8fd27c6137
Merge pull request #118574 from bart0sh/PR118-DRA-E2E-Node-test-grpc-timeout
...
DRA: E2E Node: test GRPC timeout
2023-06-13 03:39:58 -07:00
Ed Bartosh
4960207b31
DRA Node E2E: test NodePrepareResource timeout
2023-06-13 12:42:05 +03:00
Kubernetes Prow Robot
86d786090a
Merge pull request #117793 from tzneal/memory-oom-group-support
...
use the cgroup aware OOM killer if available
2023-06-12 14:45:58 -07:00
Todd Neal
4e20a8f52b
kill all processes in a container in the event of OOM
...
Set memory.oom.group if using cgroups v2 unified mode so all processes in
the container will be killed together in the event of an OOM kill.
2023-06-12 15:49:01 -05:00
Kubernetes Prow Robot
18d05b646d
Merge pull request #117702 from kannon92/pod-ready-to-start-rename
...
feat: rename PodHasNetwork to PodReadyToStartContainers
2023-06-11 18:59:48 -07:00
Kubernetes Prow Robot
5f598179d8
Merge pull request #118492 from pacoxu/eviction-nil
...
fix eviction failing test for nil feature gates assignment
2023-06-07 12:02:24 -07:00
Kubernetes Prow Robot
fb9c22cb29
Merge pull request #118498 from pacoxu/nodegracefulshutdown-e2e
...
re-send the shutdown signal in case the dbus restart is not done
2023-06-07 10:20:12 -07:00
Ed Bartosh
58162ffd63
DRA: add node tests
...
- Setup overall test structure
- Tested Kubelet plugin re-registration on plugin and Kubelet restarts
- Tested pod processing on Kubelet start
2023-06-06 23:03:50 +03:00
Paco Xu
8b0a6ed699
re-send the shutdown signal in case the dbus restart is not done
2023-06-06 18:04:29 +08:00
Paco Xu
743e5525ed
fix eviction failing test for nil feature gates assignment
2023-06-06 17:05:04 +08:00
Gunju Kim
f520f6fd06
Add Pod Termination e2e tests to test termination grace period seconds
2023-06-04 01:12:02 +08:00
Dixita Narang
369e3faa4f
Moving Kubelet Credential Provider test to common so that it can be run both as Node and Cluster test
...
Signed-off-by: Dixita Narang <ndixita@google.com >
2023-05-30 20:15:40 +00:00
Kubernetes Prow Robot
03ebd4b7ef
Merge pull request #116656 from HirazawaUi/fik-fd-leaks
...
Cleanup fd leaks and file removal cleanup
2023-05-24 22:50:50 -07:00
Kubernetes Prow Robot
e28866e976
Merge pull request #117393 from HirazawaUi/use-wait-replace-loop
...
Use wait to avoid blocking the SIGTERM handler
2023-05-23 19:07:00 -07:00
Kubernetes Prow Robot
c136b4884d
Merge pull request #117017 from ike-ma/arm-ci
...
Setup e2e_node to support testing on ARM64
2023-05-23 14:22:49 -07:00
Kubernetes Prow Robot
8b8dfcad12
Merge pull request #117586 from mimowo/preemption-for-critical-pods
...
Add DisruptionTarget condition when preempting for critical pod
2023-05-23 11:22:27 -07:00
Ike Ma
e21cf9a54e
Setup e2e_node to support testing on ARM64
...
* Enable dockerized build with --use-dockerized-build=true
* Build and create test artifacts for ARM64 with --target-build-arch=arm64
* Prepull multi-arch ready container image
* Download ARM64 binaries/packages if running on ARM64 machine
2023-05-20 00:07:44 +00:00
Kubernetes Prow Robot
8f9c185696
Merge pull request #116761 from iancoolidge/devel-cpuset-revendor
...
Complete cpuset export to k/utils by revendoring
2023-05-12 08:37:02 -07:00
HirazawaUi
cc1251123b
use wait to avoid blocking the SIGTERM handler
2023-05-12 15:45:59 +08:00
HirazawaUi
5289a7b029
fix fd leaks and failed file removing for test directory
2023-05-09 09:22:31 -05:00
Kubernetes Prow Robot
dd43d864c1
Merge pull request #116901 from pacoxu/cleanup-KubeletCredentialProviders
...
remove GAed KubeletCredentialProviders (1.28)
2023-05-08 07:55:53 -07:00
Paco Xu
27cdddeaf1
update Feature:KubeletCredentialProviders] e2e test name
2023-05-08 11:53:14 +08:00
CoderSherlock
5ea40d14fd
Added e2e_node test for sigkilled pods exit code and exit reason check
2023-05-05 17:01:01 +00:00
Kubernetes Prow Robot
b26a07a660
Merge pull request #117710 from hyangah/master
...
test/e2e_node: move getSampleDevicePluginPod to a test-only source file
2023-05-03 12:02:47 -07:00
Kubernetes Prow Robot
fb93000eb5
Merge pull request #117468 from HirazawaUi/replace-test-deprecated-ioutil
...
Replace the deprecated ioutil methods in the test directory
2023-05-03 12:02:32 -07:00
Ian K. Coolidge
cede96336a
Depend on k8s.io/utils cpuset
...
Steps performed:
$ find . -name '*.go' -exec sed -i
's|k8s.io/kubernetes/pkg/kubelet/cm/cpuset|k8s.io/utils/cpuset|g' {} \
$ ./hack/update-vendor.sh
$ ./hack/update-gofmt.sh
$ git rm -r pkg/kubelet/cm/cpuset/
2023-05-03 16:26:09 +00:00