Commit Graph

125051 Commits

Author SHA1 Message Date
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
Maciej Skoczeń
3b7b50a2cc Create fresh etcd instance for each workload in scheduler_perf 2024-08-16 08:19:52 +00:00
古九
fc07c23b73 set service-ip-repair-controller wait time match with etcd dial timeout 2024-08-16 15:45:47 +08:00
Kubernetes Prow Robot
0b3b733c84
Merge pull request #126709 from MadhavJivrajani/bump-go-tools
[go1.23] hack/tools: bump go-tools for go1.23.0
2024-08-15 21:01:51 -07:00
Madhav Jivrajani
6b7b36a4ad hack/tools: bump go-tools for go1.23.0
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-08-15 21:56:10 -05:00
Kubernetes Prow Robot
1dd3c64502
Merge pull request #126715 from tklauser/use-go-stdlib-slices
Use Go standard library slices package instead of k8s.io/utils/strings/slices
2024-08-15 18:03:51 -07:00
pwschuurman
dbcbdbf5fb Revert "Improve PVC protection controller's scalability by batch-processing PVCs by namespace & caching live pod list results" 2024-08-15 16:33:11 -07:00
Kubernetes Prow Robot
a221d3a40c
Merge pull request #126602 from haircommander/node-cm-test
Revert "Skip node container manager test on systemd" and fix test
2024-08-15 15:39:58 -07:00
Kubernetes Prow Robot
b860feb2a6
Merge pull request #126540 from skitt/avoid-double-mock-headers
Handle all mock header generation with mockery
2024-08-15 15:39:51 -07:00
Kubernetes Prow Robot
29f96c32dd
Merge pull request #126720 from liggitt/revert-kubeProxy-enable
Switch DisableNodeKubeProxyVersion back to disabled-by-default
2024-08-15 13:11:51 -07:00
Kubernetes Prow Robot
f26cf38a50
Merge pull request #126553 from aramase/aramase/c/kep_3331_disallow_k8s_io_prefix
Disallow `k8s.io` and `kubernetes.io` namespaced extra key in structured authn config
2024-08-15 11:01:51 -07:00