Commit Graph

125061 Commits

Author SHA1 Message Date
Maciej Skoczeń
77372cf3cf Label short workloads in scheduler_perf tests 2024-08-20 10:04:30 +00:00
Maciej Skoczeń
09fc399837 Add label to select short workloads in scheduler_perf tests 2024-08-20 10:04:30 +00:00
Maciej Skoczeń
a2cd8aa539 Make smaller workloads for scheduler_perf integration tests 2024-08-20 10:04:25 +00:00
Patrick Ohly
89e2feaf46 DRA scheduler: fix feature gate check for PodSchedulingContext event
The event is only relevant when DRAControlPlaneController (= "classic DRA") is
enabled.

This change has no effect in practice because the only plugin using this event,
the dynamic resource plugin, also checks feature gates when asking for events
and correctly only asks for PodSchedulingContext events when
DRAControlPlaneController is enabled.
2024-08-20 10:49:08 +02:00
Ed Bartosh
9d893c83f0 DRA: fix failing test
Added error assertion for NodePrepareResources call unveiled
"rpc error: code = DeadlineExceeded desc = context deadline exceeded"
failure in the TestGRPCConnIsReused test.

Setting clientCallTimeout field when creating plugin should fix it.
2024-08-20 11:11:43 +03:00
Kubernetes Prow Robot
b8dcc2c983
Merge pull request #126802 from googs1025/fix/faker/scheduler_queue
[Flake Test] scheduler(queue): fix flake test for InFlightPods
2024-08-20 00:48:02 -07:00
googs1025
ff983bbfbf scheduler(queue): fix flake test for InFlightPods 2024-08-20 14:41:38 +08:00
Lubomir I. Ivanov
a9f681d40a kubeadm: sort the results of MergeKubeadmEnvVars
MergeKubeadmEnvVars use a map which results in non
deterministic output in the end slice EnvVar objects.
Before returning the slice, sort it by the Name field.

Update the unit test to capture the sorting aspect.
2024-08-20 09:11:53 +03:00
Lubomir I. Ivanov
ffbc494a4a kubeadm: add unit test for GetProxyEnvVars 2024-08-20 09:11:53 +03:00
Kubernetes Prow Robot
4f10b24503
Merge pull request #126716 from stlaz/tlscachekey_comparable
ensure tlsCacheKey is strictly comparable to avoid runtime panics
2024-08-19 18:14:08 -07:00
Kubernetes Prow Robot
113b12c6fb
Merge pull request #124439 from bells17/csi-translation-lib-structured-and-contextual-logging
Migrate k8s.io/csi-translation-lib/.* to structured logging
2024-08-19 18:13:54 -07:00
Kubernetes Prow Robot
5c14a57795
Merge pull request #126600 from gnufied/update-e2e-expansion
Use allocatedResources as new size for finishing volume expansion on the node
2024-08-19 14:15:20 -07:00
Jeffrey Ying
30efd5926f
Annotate RetryGenerateName beta in comments 2024-08-19 15:30:58 -04:00
Joe Betz
5784e58446 Use Fatalf for non-recoverable errors in test 2024-08-19 11:18:04 -04:00
Sakuralbj
9064bfbe87 don't watch headless services on kube-proxy 2024-08-19 22:57:47 +08:00
Emiliano Spinella
dda5db815a
Correct documentation for flags --allocate-node-cidrs and --cluster-cidr in cloud-provider and --service-cluster-ip-range in kube-controller-manager. 2024-08-19 16:44:32 +02:00
Kubernetes Prow Robot
08bd75c605
Merge pull request #126680 from macsko/move_activeq_related_fields_to_separate_struct_scheduling_queue
Move activeQ related fields to separate struct in scheduling queue
2024-08-19 07:34:00 -07:00
Patrick Ohly
a7da865aa8 test: filter "go test" output with gotestsum instead of grep
Filtering the output with grep leads to hard to read log output, e.g. from
pull-kubernetes-unit:

    +++ [0613 15:32:48] Running tests without code coverage and with -race
    {"Time":"2024-06-13T15:33:47.845457374Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Test":"TestCreateMasterAuditPolicy","Output":"        /tmp/configure-helper-test47992121/kube-env: line 1: `}'\n"}
    {"Time":"2024-06-13T15:33:49.053732803Z","Action":"output","Package":"k8s.io/kubernetes/cluster/gce/cos","Output":"ok  \tk8s.io/kubernetes/cluster/gce/cos\t2.906s\n"}

We can do better than that. When feeding the output of the "go test" command(s)
into gotestsum *while it runs*, we can use --format=standard-quiet (= normal go
test output) or --format=standard-verbose (= `go test -v`) when FULL_LOG is
requested to get nicer output.

This works when testing everything at once. This was said to be not possible
when doing coverage profiling. But recent Go no longer has that limitation, so
the xargs trick gets removed. All that we need to do for coverage profiling is
to add some additional parameters and the conversion to HTML.
2024-08-19 16:14:05 +02:00
Kubernetes Prow Robot
e54c8ef202
Merge pull request #126038 from mprahl/retry-watcher-forbidden
Stop the RetryWatcher when failing due to permissions issue
2024-08-19 06:12:51 -07:00
Kubernetes Prow Robot
8db6fc7e3f
Merge pull request #126567 from fusida/refactor-job-controller
support the job controller handles the orphan pod using multi workers
2024-08-19 04:57:15 -07:00
Stanislav Láznička
12ae218bfe ensure tlsCacheKey is strictly comparable to avoid runtime panics 2024-08-19 10:31:10 +02:00
Maciej Skoczeń
8e630a9f68 Move activeQ related fields to separate struct in scheduling queue 2024-08-19 07:35:31 +00:00
Kubernetes Prow Robot
cb7b4ea648
Merge pull request #126774 from aramase/aramase/c/sa_rm_unused_function
cleanup unused fn GetOrCreateServiceAccount in serviceaccount/util
2024-08-18 23:12:51 -07:00
古九
a1f0fc8f72 support the job controller handles the orphan pod using multi workers 2024-08-19 14:03:27 +08:00
Anish Ramasekar
2f96a788e2
cleanup unused fn GetOrCreateServiceAccount in serviceaccount/util
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-08-18 21:04:51 -07:00
Kubernetes Prow Robot
de521a9191
Merge pull request #126655 from tklauser/log-spelling-fix
client-go: fix typo in leaderelection error log message
2024-08-18 12:06:56 -07:00
Kubernetes Prow Robot
0f095cf0ba
Merge pull request #126757 from my-git9/deadcode-pkiutil
kubeadm: remove unused function in util/pkiutil
2024-08-17 09:08:12 -07:00
xin.li
6b9e106c2f kubeadm: remove unused function in util/pkiutil
Signed-off-by: xin.li <xin.li@daocloud.io>
2024-08-17 22:57:33 +08:00
Kubernetes Prow Robot
66df84bc11
Merge pull request #126748 from SergeyKanzhelev/api_cri_readme
cri-api: readme update for 1.31
2024-08-17 01:55:59 -07:00
Kubernetes Prow Robot
572c0a10f9
Merge pull request #126749 from thockin/master
fix v1a3 ResourceSliceList metadata field name
2024-08-16 20:23:39 -07:00
Tim Hockin
1e8002cd03
fix v1a3 ResourceSliceList metadata field name
This field was incorrectly named "listMeta" and was missed in review.
2024-08-16 16:46:04 -07:00
Sergey Kanzhelev
1fa3c2e472 clarified the timestamp should be in nanoseconds 2024-08-16 22:12:00 +00:00
Sergey Kanzhelev
9ab1ecd686 update cri api readme changelog for 1.31 2024-08-16 22:11:35 +00:00
Kubernetes Prow Robot
1c4f540669
Merge pull request #122739 from HirazawaUi/remove-deprecated-args
kubelet: mark the deprecated pod-infra-container-image flag for removal in 1.35
2024-08-16 11:32:38 -07:00
Hung Nguyen
f9f8b789ca fix spin loop issue with idle work queue 2024-08-16 18:17:47 +00:00
Richa Banker
4acedb5132 init a common apiserver for TestAuthorizationDecisionCaching testcases 2024-08-16 10:52:30 -07:00
Richa Banker
342ecab56a init a common apiserver for Test_ValidateSecondaryAuthorization testcases 2024-08-16 10:52:30 -07:00
Richa Banker
99eaa71f0e init a common apiserver for TestCRDParams testcases 2024-08-16 10:52:30 -07:00
Richa Banker
de2730a9a6 split Test_CostLimitForValidation into feature-enabled and feature-disabled tests, init a common apiserver for all testcases 2024-08-16 10:52:30 -07:00
Richa Banker
1e03472fe8 init a common apiserver for Test_ValidateNamespace_WithConfigMapParams testcases 2024-08-16 10:52:29 -07:00
Richa Banker
9df04b7c78 split Test_ValidateNamespace_NoParams into successes and failures tests, init a common apiserver for all testcases 2024-08-16 10:52:29 -07:00
HirazawaUi
b1d88fd80a move deprecated version to 1.35 2024-08-17 01:26:35 +08:00
Kubernetes Prow Robot
983875b2f5
Merge pull request #126337 from macsko/add_larger_scheduler_perf_test_cases
Add larger scheduler_perf test cases
2024-08-16 09:44:38 -07:00
Kubernetes Prow Robot
c999f9d828
Merge pull request #126652 from ardaguclu/add-timeout-cp-dest-check
Add timeout cancellation to kubectl cp destination path check
2024-08-16 08:38:45 -07:00
Kubernetes Prow Robot
114900ab1f
Merge pull request #126523 from enj/enj/i/ssa_authz_create_err
SSA: improve create authz error message
2024-08-16 08:38:38 -07:00
Lubomir I. Ivanov
d441d9140d kubeadm: allow mix of --print-manifest and --config flags
The flag --print-manifest is only present for the subphases of
'kubeadm init phase addon'. It needs to be allowed to be mixed
with the flag --config so that the user can pass their custom
config that will affect the output of the printed manifests.
2024-08-16 17:01:39 +03:00
Joe Betz
5f1c7ae634 Stamp fake client apply reuqests with name from action 2024-08-16 09:55:01 -04:00
Kubernetes Prow Robot
fa75c8c749
Merge pull request #126671 from fusida/fix-ipallocator-repair-timeout
set service-ip-repair-controller wait time match with etcd dial timeout
2024-08-16 06:42:39 -07:00
Arda Güçlü
ca2c9c64b4 Increate timeout to 10sec and shortcut when ctx deadline is exceeded 2024-08-16 16:13:01 +03:00
Kubernetes Prow Robot
0a406ee1b4
Merge pull request #126723 from pwschuurman/revert-125372-pvcScalabilityFix
Revert "Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results"
2024-08-16 03:11:13 -07:00