Commit Graph

125079 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
ad6ed1376e
Merge pull request #126629 from carlory/add-owners
put volumescheduling and volume intergation test under SIG-Storage reviewing
2024-08-21 12:44:57 +01:00
Sascha Grunert
14476d88f3
Fix hugepages e2e test assertion
This causes failures in:

- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv2-node-e2e-hugepages
- https://testgrid.k8s.io/sig-node-cri-o#ci-crio-cgroupv1-node-e2e-hugepages

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-08-21 13:37:22 +02:00
carlory
9c9a1623d2 put volumescheduling and volume intergation test under SIG-Storage reviewing 2024-08-21 18:38:00 +08:00
Maciej Skoczeń
a7ad94f93b Unexport podRef in scheduling queue's nominator 2024-08-21 07:25:57 +00:00
Maciej Skoczeń
e303808896 Move scheduling queue's nominator to a separate file 2024-08-21 07:25:55 +00:00
Maciej Skoczeń
33815db3c1 Move NominatedPodsForNode to scheduling queue directly 2024-08-21 07:24:52 +00:00
carlory
aa3572d860 cleanup after CloudDualStackNodeIPs is GA 2024-08-21 14:25:58 +08:00
carlory
91c48ab949 cleanup after LegacyServiceAccountTokenCleanUp is GA 2024-08-21 14:13:05 +08:00
tux
cc244e8d1d fix: use the getContext() method for evicting pods 2024-08-21 14:08:57 +08:00
Kubernetes Prow Robot
beb696c2c9
Merge pull request #126305 from richabanker/optimize-tests
Init common apiserver for all testcases in CEL tests
2024-08-21 02:04:59 +01:00
Stephen Heywood
4d228da965 Create e2e test for VolumeAttachmentStatus endpoints
e2e test validates the following 3 endpoints
- patchStorageV1VolumeAttachmentStatus
- readStorageV1VolumeAttachmentStatus
- replaceStorageV1VolumeAttachmentStatus
2024-08-21 12:15:00 +12:00
Aaron Prindle
780cfa572b feat: add EMULATED_VERSION env var and --emulated-version flag params to k8s binaries flags in hack/local-up-cluster.sh 2024-08-20 21:18:34 +00:00
Kubernetes Prow Robot
f6c88abb2a
Merge pull request #126805 from bart0sh/PR155-DRA-fix-TestGRPCConnIsReused
DRA: fix failing test
2024-08-20 11:05:21 -07:00
Kubernetes Prow Robot
31e2c8b75b
Merge pull request #126792 from Jefftree/patch-5
Annotate feature RetryGenerateName beta in comments
2024-08-20 09:01:55 -07:00
Kubernetes Prow Robot
2063d8dac1
Merge pull request #126352 from macsko/create_smaller_integration_scheduler_perf_cases
Make smaller workloads for scheduler_perf integration tests
2024-08-20 09:01:41 -07:00
Lan Liang
85b52c2a86 do not serial for tests of Pod Host IPs.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-20 12:08:19 +00:00
Kubernetes Prow Robot
d770dd695a
Merge pull request #121888 from SD-13/e2e-gomega-be-true-or-false
Enhance boolean assertions when fail
2024-08-20 04:24:42 -07:00
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
carlory
4ff239029c Fix a warning message about the gce in-tree cloud provider state 2024-08-19 11:49:32 +08: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