Commit Graph

124768 Commits

Author SHA1 Message Date
Stephen Heywood
71d412bf46 Create e2e test for Node endpoints
e2e test validates the following 2 endpoints
- createCoreV1Node
- deleteCoreV1Node
2024-08-26 10:00:13 +12:00
Kensei Nakada
8519d3399f chore: move the scheduler internal components out of internal dir 2024-08-25 13:10:29 +09:00
Kubernetes Prow Robot
3a620a3f5e
Merge pull request #126888 from aroradaman/proxy-nfacct-e2e-fix
e2e/network/proxy: fix e2e assertions
2024-08-24 09:42:09 +01:00
Kubernetes Prow Robot
bd6f29fa28
Merge pull request #126878 from aaron-prindle/emu-version-feat-gate
chore: migrate kube feature RelaxedEnvironmentVariableValidation to new versioned kube feature file and syntax
2024-08-23 23:27:52 +01:00
Micah Hausler
08ea67334e Include additional verbs to can-i 2024-08-23 16:59:40 -05:00
Aaron Prindle
a67de3139d chore: migrate kube feature RelaxedEnvironmentVariableValidation to new versioned kube feature file and syntax 2024-08-23 19:55:52 +00:00
Hung Nguyen
39b6bd1278 address pwschuurman's comments 2024-08-23 18:53:26 +00:00
Kubernetes Prow Robot
7b80cdb66a
Merge pull request #126645 from cici37/cleanupFG
Remove feature gate ValiatingAdmissionPolicy after being stable for two releases
2024-08-23 18:07:55 +01:00
Kubernetes Prow Robot
605e94f6df
Merge pull request #126871 from macsko/set_thresholds_in_scheduler_perf
Set scheduling throughput thresholds in scheduler_perf tests
2024-08-23 16:39:54 +01:00
Daman Arora
3a942490b5 e2e/network/proxy: fix e2e assertions
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-08-23 20:46:21 +05:30
Maciej Skoczeń
48a8cb2bc5 Document throughput thresholds in scheduler_perf readme 2024-08-23 14:22:48 +00:00
Patrick Ohly
bf1188d292 scheduler_perf: only store log output after failures
Reconfiguring the logging infrastructure with a per-test output file mimicks
the behavior of per-test output (log output captured only on failures) while
still using the normal logging code, which is important for benchmarking.

To enable this behavior, the ARTIFACT env variable must be set.
2024-08-23 16:02:45 +02:00
Patrick Ohly
6cbdef850c scheduler_perf: normal error handling during node creation
Calling klog.Fatalf is not a good way to report problems. It kills the entire
test run, without given other code a chance to react.
2024-08-23 16:02:45 +02:00
Maciej Skoczeń
d0e3fc3561 Set scheduling throughput thresholds in scheduler_perf tests 2024-08-23 12:48:28 +00:00
Patrick Ohly
5447d28c0d ktesting: log warning on timeout
How exactly a test reacts when its context times out is unclear. In the case of
scheduler_perf, the apiserver started to shut down and the test failure then
was about not being able to reach the apiserver, which was a bit confusing.

To make it more obvious why the shutdown starts, a WARNING message gets added
to the test output by ktesting before cancellation and thus before any other
output related to that cancellation.
2024-08-23 14:31:17 +02:00
Patrick Ohly
cc9234cffd test etcd: avoid potential data race
If the caller needs to reconfigure klog, then calling klog without proper
synchronizing while stopping causes a data race. We have to ensure that
the goroutine has terminated before stop returns.
2024-08-23 14:31:17 +02:00
Patrick Ohly
6ee2c63135 testserver: allow caller to set up ktesting
In scheduler_perf, the caller configures ktesting without per-test output. When
StartTestServer initialized it again, it did so with per-test output. In other
cases it might have been simply redundant.
2024-08-23 14:31:17 +02:00
Kubernetes Prow Robot
fb6984c683
Merge pull request #126884 from macsko/reduce_length_of_nodetree_logs
Reduce length of NodeTree logs
2024-08-23 13:17:53 +01:00
Marek Siarkowicz
fa5008807a Benchmark storage 2024-08-23 12:45:29 +02:00
Maciej Skoczeń
dc5e1a404f Reduce length of NodeTree logs 2024-08-23 08:28:13 +00:00
Kubernetes Prow Robot
1e827f4b2a
Merge pull request #126867 from piny940/master
fix ValidatingAdmissionPolicy's Validate func to return decision with valid Evaluation
2024-08-22 22:50:26 +01:00
cici37
4e36e436ad Update feature gate list. 2024-08-22 20:38:48 +00:00
Kubernetes Prow Robot
b67d4dd389
Merge pull request #126839 from carlory/LegacyServiceAccountTokenCleanUp
cleanup after LegacyServiceAccountTokenCleanUp is GA
2024-08-22 20:33:56 +01:00
Kubernetes Prow Robot
e955c1d6a8
Merge pull request #126808 from macsko/move_activeq_fields_follow_up
Don't expose lock outside activeQueue in scheduling queue
2024-08-22 20:33:47 +01:00
Kubernetes Prow Robot
a1fc2551ba
Merge pull request #126144 from likakuli/cleanup-unusedparamters
cleanup: remove scheduler_perf unused parameters
2024-08-22 19:29:40 +01:00
cici37
72ad9c5fdf Remove FG inspection from VAP plugin 2024-08-22 17:52:21 +00:00
Cici Huang
0f19faf9be Remove feature gate ValiatingAdmissionPolicy after stable. 2024-08-22 17:39:18 +00:00
Kubernetes Prow Robot
e855753ca6
Merge pull request #126848 from carlory/ref-124136
Fix hotloop once the watch closes
2024-08-22 16:32:24 +01:00
Kubernetes Prow Robot
3ffc177677
Merge pull request #126846 from danwinship/fix-e2e-kube-proxy-detection
Fix the localhost nodeport metrics test to not fail under non-kube-proxy
2024-08-22 16:32:16 +01:00
Kubernetes Prow Robot
3f306ae140
Merge pull request #126343 from SergeyKanzhelev/succeededPodReadmitted
Terminated pod should not be re-admitted
2024-08-22 16:32:09 +01:00
Kubernetes Prow Robot
b1559c66ca
Merge pull request #126807 from pohly/dra-resourceslice-update
DRA scheduler: ResourceSlice update
2024-08-22 15:18:09 +01:00
Maciej Skoczeń
eabdc612dd Use queue.Add instead of activeQ.AddOrUpdate in scheduling queuue tests 2024-08-22 10:28:36 +00:00
Maciej Skoczeń
3eefd62f94 Make update and delete active queue methods 2024-08-22 09:26:05 +00:00
Maciej Skoczeń
9773a39b28 Don't expose lock outside activeQueue in scheduling queue 2024-08-22 09:21:35 +00:00
Kubernetes Prow Robot
b3c725627b
Merge pull request #126842 from saschagrunert/hugepages-test
Fix hugepages e2e test assertion
2024-08-22 10:11:31 +01:00
Patrick Ohly
cf68eb575e DRA scheduler: reduce verbosity of "Checked claim"
The original usage of `Allocate` was that the caller determines verbosity by
passing a logger with increased verbosity threshold into the call. Later that
was changed to using higher V levels inside `Allocated` itself, but the
"Checked claim" log call slipped through.
2024-08-22 10:53:05 +02:00
Ed Bartosh
e1bc8defac kubelet: Migrate DRA Manager to contextual logging
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-08-22 11:12:41 +03:00
Patrick Ohly
e85d3babf0 DRA scheduler: fix re-scheduling after ResourceSlice changes
Making unschedulable pods schedulable again after ResourceSlice cluster events
was accidentally left out when adding structured parameters to Kubernetes 1.30.

All E2E tests were defined so that a driver starts first. A new test with a
different order (create pod first, wait for unschedulable, start driver)
triggered the bug and now passes.
2024-08-22 10:09:32 +02:00
Patrick Ohly
6dd2ade762 DRA scheduler: reduce log verbosity
That a pod with no claims remains unschedulable on claim changes is a pretty
normal case. It should only be logged when debugging.
2024-08-22 10:09:32 +02:00
Kubernetes Prow Robot
cee43048c7
Merge pull request #126854 from serathius/pagination-tests
Add paging tests
2024-08-22 06:24:16 +01:00
piny940
9f7ea45ea0 fix ValidatingAdmissionPolicy's Validate func to return decision with valid Evaluation 2024-08-22 13:33:17 +09:00
Kubernetes Prow Robot
850bfd9aa9
Merge pull request #126841 from carlory/StableLoadBalancerNodeSet
remove feature-gate StableLoadBalancerNodeSet
2024-08-21 22:06:32 +01:00
Kubernetes Prow Robot
77737c3eb3
Merge pull request #126512 from kmala/metrics
add resource to the transformation metrics
2024-08-21 22:06:26 +01:00
Tim Hockin
128e189fcd
Remove AllowServiceLBStatusOnNonLB gate 2024-08-21 13:07:52 -07:00
Kubernetes Prow Robot
44ce613173
Merge pull request #126851 from BenTheElder/update-vendor
update corefile-migration to v1.0.24
2024-08-21 20:02:30 +01:00
Kubernetes Prow Robot
b60e01f881
Merge pull request #126838 from zou2699/fix-126836
fix: use the getContext() method for evicting pods
2024-08-21 18:32:19 +01:00
Kubernetes Prow Robot
563ab1bb55
Merge pull request #126789 from aaron-prindle/emu-version-local-up-cluster
feat: add EMULATED_VERSION env var and --emulated-version flag params to k8s binaries flags in hack/local-up-cluster.sh
2024-08-21 18:32:12 +01:00
Marek Siarkowicz
99e6956980 Add paging tests 2024-08-21 18:54:57 +02:00
Keerthan Reddy Mala
3a8df1efdd add resource to the transformation metrics 2024-08-21 09:52:24 -07:00
Benjamin Elder
4aad0b9c1a update corefile-migration to v1.0.24
there are no code changes, instead packages we do not use have been isolated into another module to help manage the dependency tree

in older release branches, picking this back will allow us to avoid unexpected cobra updates
2024-08-21 09:39:53 -07:00