Commit Graph

25248 Commits

Author SHA1 Message Date
Davanum Srinivas
efdb2961b6 drop unused code pointed out by linter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:57 -04:00
Davanum Srinivas
bf268f02a3 Remove gcp in-tree cloud provider and credential provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:53 -04:00
Dr. Stefan Schimanski
d8c5f71403 kube-apiserver: split up config creation into generic and non-generic part
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-05-01 11:28:25 +02:00
Daman Arora
d70f96fe22 e2e/network: stream pod logs for debugging
Intermittent logging to understand root cause of
https://github.com/kubernetes/kubernetes/issues/123760

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 11:27:11 +05:30
Gabe
9a8ec13505 make linter happy 2024-04-30 12:06:26 +00:00
Kubernetes Prow Robot
d0fddf143b Merge pull request #122148 from pohly/controllers-context-support
controllers + apiserver: enhance context support
2024-04-30 01:30:09 -07:00
Kubernetes Prow Robot
6381e6504a Merge pull request #124572 from aojea/alpha_tag
tag TrafficDistribution tests to avoid running on clusters without th…
2024-04-29 14:46:59 -07:00
Kubernetes Prow Robot
1fd835ce59 Merge pull request #123398 from ffromani/remove-legacy-checkpoint
node: devicemgr: remove obsolete pre-1.20 checkpoint file support
2024-04-29 14:46:53 -07:00
Patrick Ohly
b92273a760 apiserver + controllers: enhance context support
27a68aee3a introduced context support for events. Creating an event
broadcaster with context makes tests more resilient against leaking goroutines
when that context gets canceled at the end of a test and enables per-test
output via ktesting.

The context could get passed to the constructor. A cleaner solution is to
enhance context support for the apiserver and then pass the context into the
controller's run method. This ripples up the call stack to all places which
start an apiserver.
2024-04-29 20:59:21 +02:00
Gabe
4e99ada05f Filter gated pods before calling isPodWorthRequeueing 2024-04-29 16:54:40 +00:00
Dr. Stefan Schimanski
3b6d2a66a4 pkg/controlplane: split apart generic server part of instance.go
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-29 10:15:02 +02:00
Iceber Gu
498bebee6d fix the version order of 'discovery.k8s.io'
Signed-off-by: Iceber Gu <caiwei95@hotmail.com>
2024-04-29 14:31:58 +08:00
Yash Kumar Singh
091a05b1cb Added a testcase to check hostname and hostNetwork 2024-04-29 11:09:59 +05:30
Daman Arora
a6d3a1b4fc promote agnhost to v2.52
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 22:26:45 +05:30
Kubernetes Prow Robot
53870af24f Merge pull request #124594 from aroradaman/agnhost-log-requests
agnhost: log response for /hostname
2024-04-28 07:00:59 -07:00
Daman Arora
5aaa37521f agnhost: version bump to v2.52
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Daman Arora
90561cb9d9 agnhost/netexec: log hostname
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-28 16:44:00 +05:30
Kubernetes Prow Robot
38c2a963b4 Merge pull request #123984 from carlory/volume-remove-cloud-provider
Remove cloud provider dependency from volume host and volume controllers
2024-04-28 02:54:14 -07:00
Kubernetes Prow Robot
62ced20cdc Merge pull request #124567 from chengjoey/e2e/scheduler-prefilter
add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
2024-04-27 23:12:36 -07:00
Daman Arora
20d335a94c e2e/framework network: exit early in DialFromContainer
Immediately exit on receiving an unexpected response, we currently
wait for all the attempts to be exhausted and then return an error.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-27 22:55:35 +05:30
Kubernetes Prow Robot
5055c91523 Merge pull request #124560 from riendeau/agnhost-bump
Bump version of agnhost used in e2e tests
2024-04-27 06:25:44 -07:00
Kensei Nakada
c72b688e12 support scheduler_plugin_execution_duration_seconds in scheduler_perf 2024-04-27 08:22:53 +00:00
joey
cc19b33a95 add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
Signed-off-by: joey <zchengjoey@gmail.com>
2024-04-27 09:43:23 +08:00
Wei Huang
d3821508f1 test to catch illegal nodeNames returned by PreFilterResult 2024-04-26 15:45:46 -07:00
Antonio Ojea
484f8bc54b tag TrafficDistribution tests to avoid running on clusters without the feature enabled 2024-04-26 17:15:35 +00:00
John Riendeau
a53999f086 Bump version of agnhost used in e2e tests 2024-04-26 08:22:26 -05:00
Dr. Stefan Schimanski
e37917fea7 pkg/controlplane: split up config into generic controlplane and kube-related part
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-04-26 14:14:06 +02:00
Justyna Betkier
a484bb94c2 Fix linter issues 2024-04-25 13:34:30 +02:00
Justyna Betkier
8ba3327de7 Append both env variables instead of fetching twice and overriding them.
Previously the second line would fetch the clean environment variables
and drop the changes from the first line.
2024-04-25 13:34:30 +02:00
Kubernetes Prow Robot
f6fde3ba7f Merge pull request #124382 from riendeau/agnhostbump
Bump base images for agnhost
2024-04-24 19:00:00 -07:00
Kubernetes Prow Robot
56956edd76 Merge pull request #124512 from bart0sh/PR143-e2e-node-fix-containers-lifecycle
Revert "add coverage tests for probes behavior"
2024-04-24 15:31:30 -07:00
Kubernetes Prow Robot
58788c2f7b Merge pull request #124466 from serathius/featuregate-defer
Cleanup defer from SetFeatureGateDuringTest function call
2024-04-24 15:31:21 -07:00
Kubernetes Prow Robot
0a6101636d Merge pull request #123930 from Nordix/esotsal/fix_123928
Move DockerHung test in the end
2024-04-24 14:29:38 -07:00
Marek Siarkowicz
3ee8178768 Cleanup defer from SetFeatureGateDuringTest function call 2024-04-24 20:25:29 +02:00
Ed Bartosh
e4c6adacf0 Revert "add coverage tests for probes behavior"
This reverts commit 9be9832184.
2024-04-24 20:56:46 +03:00
Daman Arora
26733f9aa8 Revert "agnhost: update README" 2024-04-24 22:26:33 +05:30
Antonio Ojea
5ed555fb5d Revert "Remove _tmp from test/images/image-util.sh"
This reverts commit 2e465cd6fa.
2024-04-24 13:43:02 +00:00
Antonio Ojea
391e4b58e2 Revert "added init to image-utils.sh"
This reverts commit 7951d7975e.
2024-04-24 13:42:38 +00:00
John Riendeau
62191f637e Bump base images for agnhost 2024-04-24 04:54:06 -05:00
Daman Arora
f5c38b0467 agnhost: update README
dummy commit to trigger agnhost image promotion pipeline

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-24 13:46:22 +05:30
Kubernetes Prow Robot
47ad87e95f Merge pull request #124492 from aramase/revert-124250-aramase/t/transformation_tests_parallel
Revert "Run `controlplane/transformation` integration tests in parallel"
2024-04-23 17:02:26 -07:00
Kubernetes Prow Robot
9db6aac7f3 Merge pull request #124086 from matthyx/probes
add coverage tests for probes behavior
2024-04-23 17:02:17 -07:00
Anish Ramasekar
8d563c2cde Revert "Run controlplane/transformation integration tests in parallel" 2024-04-23 13:48:33 -07:00
Kubernetes Prow Robot
15ee05afd4 Merge pull request #124471 from aojea/zero_e2e
don't force delete pods on e2e tests
2024-04-23 09:29:25 -07:00
Kubernetes Prow Robot
7fa3098a9d Merge pull request #124161 from aojea/lb_timeout
fix e2e loadbalancer test timeouts and assumptions
2024-04-23 09:29:16 -07:00
Kubernetes Prow Robot
695a984f56 Merge pull request #124027 from liangyuanpeng/etcd_update_3.5.13
etcd: update to v3.5.13
2024-04-23 06:00:02 -07:00
Antonio Ojea
06457a5219 don't force delete pods on e2e tests 2024-04-23 11:56:44 +00:00
Kubernetes Prow Robot
2806ffea9a Merge pull request #124449 from SergeyKanzhelev/fiximageUtils
added init to image-utils.sh
2024-04-22 23:43:09 -07:00
Kubernetes Prow Robot
1a4f5a30f0 Merge pull request #124097 from Nordix/esotsal/cpu_manager_test_clean_code
e2e_node: clean cpu_manager test
2024-04-22 18:26:12 -07:00
Kubernetes Prow Robot
11ca079137 Merge pull request #124396 from mimowo/make-sure-traps-are-registered
Make e2e node tests more resiliant by ensuring the SIGTERM trap is registered
2024-04-22 17:25:40 -07:00