Commit Graph

126405 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
510a7e7601
Merge pull request #128038 from seans3/resource-quota-config-validation
Enable strict validation for ResourceQuotaConfiguration
2024-10-15 02:04:27 +01:00
Kubernetes Prow Robot
8b7b768ff7
Merge pull request #128011 from seans3/egress-selector-configuration-strict
EgressSelectorConfiguration now uses strict validation
2024-10-15 02:04:20 +01:00
Sean Sullivan
ae20937ea6 AdmissionConfiguration now uses strict validation 2024-10-14 17:50:07 -07:00
Kubernetes Prow Robot
023cd33d23
Merge pull request #128009 from seans3/leader-migration-config-strict-validate
LeaderMigrationConfig now uses strict validation kube-controller-manager
2024-10-15 01:00:20 +01:00
Ed Bartosh
876819b8b6 e2e_node: fix mirror pod test
Modified stopNfsServer function to wait until nfs rpc is unregistered.
This should fix failing pull-kubernetes-node-arm64-ubuntu-serial-gce
job.
2024-10-15 02:05:26 +03:00
Kubernetes Prow Robot
d1e03f3a77
Merge pull request #127195 from yaojunyu/fix-pod-alway-restart-open-envetedpleg
EventedPLEG: Set Timestamp in PodStatus for Generic PLEG more accurate
2024-10-14 23:36:20 +01:00
Davanum Srinivas
7f8210e33f
Update to last versions of some very infrequently updated repos
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-14 17:43:29 -04:00
Kubernetes Prow Robot
429edc5f25
Merge pull request #128060 from antoninbas/fix-typos-in-pkg/proxy/ipvs/ipset/ipset_test.go
Fix typos in pkg/proxy/ipvs/ipset/ipset_test.go
2024-10-14 22:02:21 +01:00
Kubernetes Prow Robot
9f09c55818
Merge pull request #128045 from princepereira/ppereira-hnslib-import
Replacing hcsshim library with new hnslib library.
2024-10-14 20:58:21 +01:00
Anish Ramasekar
1882a4a9f0
credential provider config: detect typos
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2024-10-14 12:23:43 -07:00
Ben Luddy
97958d96a2
Use content negotiation in the dynamic client. 2024-10-14 14:09:46 -04:00
Antonin Bas
0350e5ae69 Fix typos in pkg/proxy/ipvs/ipset/ipset_test.go
There were a couple of typos in test error logs

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-14 11:06:36 -07:00
Prince Pereira
3448455083 Replacing hcsshim library with new hnslib library. 2024-10-14 10:44:30 -07:00
Daman Arora
e63260082a kube-proxy: internal config: refactor Healthz and Metrics Address
Refactor Healthz with Metrics Address for internal configuration of
kube-proxy adhering to the v1alpha2 version specifications as detailed
in https://kep.k8s.io/784.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 22:56:23 +05:30
Kubernetes Prow Robot
78879fa3d0
Merge pull request #128054 from aojea/e2e_ds_flake
e2e flake CheckDaemonStatus assert on async value
2024-10-14 18:16:21 +01:00
Daman Arora
48f1356b2f pkg/proxy: refactor NodePortAddresses to NodeAddressHandler
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 21:49:29 +05:30
Kubernetes Prow Robot
62c1aa0529
Merge pull request #127929 from pohly/prune-junit-xml-failure
prune-junit-xml: simplify failure message
2024-10-14 17:08:21 +01:00
Daman Arora
4f732a233d pkg/proxy/utils: file rename
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-10-14 21:31:39 +05:30
Patrick Ohly
c1ec1dce75 DRA scheduler: code cleanup
Comment fix and removal of `skippedUnknownDevice`. That field was originally
meant to somehow influence how a failure to allocate gets reported, but in the
end that distinction was not implemented.
2024-10-14 17:24:09 +02:00
Patrick Ohly
6dffee6534 DRA scheduler: increase unit test code coverage
Driven by gaps highlighted by `go test -coverprofile` and also adding some more
complex scenarios.
2024-10-14 17:24:09 +02:00
Patrick Ohly
d2ab00cf55 DRA scheduler: fix aborting of allocation with mode "all"
The internal "stop allocation" error was sometimes erroneously (pun intended)
returned as result of the allocation and then shown to users. No error and no
results should have been returned instead, which then is shown as "allocation
not possible".

Aborting allocation early is only correct if the device which cannot be
allocated is one of the "all" devices which were requested.
2024-10-14 17:24:09 +02:00
Patrick Ohly
1a34d4840b DRA scheduler: fix incorrect allocation of "all" devices
The code which pre-determined the set of "all" devices when using
"allocationMode: all" accidentally ignored the selector of the device class.
As a result, allocation worked correctly only when a node had only devices
matching the intended device class. When there were additional devices, things
went wrong:
 - Unrelated devices allocated for a request.
 - Claim allocation failed completely.
2024-10-14 17:24:09 +02:00
Kubernetes Prow Robot
7f5510921d
Merge pull request #128052 from saschagrunert/imagefsinfo-timeout
CRI client: use default timeout for ImageFsInfo RPC
2024-10-14 15:16:28 +01:00
Kubernetes Prow Robot
9a0b07d38c
Merge pull request #128051 from googs1025/kubectl/fix/resourcebuilder
bug(kubectl): return resource builder error in scale cmd
2024-10-14 15:16:20 +01:00
Abu Kashem
1d1a656d8d
refactor: extract decode functions into an interface for etcd3 store 2024-10-14 10:04:03 -04:00
Antonio Ojea
bceec5a3ff e2e flake CheckDaemonStatus assert on async value
The util for checking on daemonstatus was checking once if the Status of
the daemonset was reporting that all the desired Pods are scheduled and
ready.

However, the pattern used in the e2e test for this function was not
taking into consideration that the controller needs to propagate the Pod
status to the DeamonSet status, and was asserting on the condition only
once after waiting for all the Pods to be ready.

In order to avoid more churn code, change the CheckDaemonStatus
signature to the wait.Condition type and use it in a async poll loop on
the tests.
2024-10-14 13:30:03 +00:00
Kubernetes Prow Robot
de8f6b0db7
Merge pull request #128037 from dshebib/e2eNode_containerLifecycleContext
[e2e_node] Use shared context in regular container tests
2024-10-14 13:10:28 +01:00
Kubernetes Prow Robot
a454563a8d
Merge pull request #127812 from p0lyn0mial/upstream-decode-list-blueprint
client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests
2024-10-14 13:10:21 +01:00
Sascha Grunert
e055a1f89a
CRI client: use default timeout for ImageFsInfo RPC
The RPC call usually does not take much time for containerd or CRI-O. We
now assume the default timeout is fine and therefore resolve the `TODO`.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-10-14 13:49:03 +02:00
Kubernetes Prow Robot
faf89fe5e9
Merge pull request #128000 from klueska/fix-resourceslice-filter
DRA: Update resourceslice controller filtering logic
2024-10-14 12:06:20 +01:00
googs1025
8d08480929 bug(kubectl): return resource builder error in scale cmd 2024-10-14 18:52:56 +08:00
Kubernetes Prow Robot
d003e4cd9f
Merge pull request #127923 from unvavo/add-test-tainttoleration-for-queueinghint
add integration test for tainttoleration in requeueing scenarios
2024-10-14 10:20:28 +01:00
Kubernetes Prow Robot
769695a218
Merge pull request #126776 from neolit123/1.31-improve-dry-run-logic
kubeadm: refactor the dry-run logic
2024-10-14 10:20:21 +01:00
Kubernetes Prow Robot
c5abe615eb
Merge pull request #128021 from toVersus/fix/flaky-restart-check
[Sidecar Containers] Check for restarts without being affected by container startup order
2024-10-14 07:56:21 +01:00
Lukasz Szaszkiewicz
7be192ae0b client-go/rest/request: decodes initialEventsListBlueprint for watchlist requests 2024-10-14 08:48:32 +02:00
Kubernetes Prow Robot
5b1a4caeda
Merge pull request #127881 from omerap12/drain-package-PollUntilContextTimeout
Update waitForDelete to use PollUntilContextTimeout
2024-10-14 06:18:20 +01:00
Sean Sullivan
a95c0c5499 Enable strict validation for ResourceQuotaConfiguration 2024-10-13 17:50:18 -07:00
Sean Sullivan
32b2eea50d EgressSelectorConfiguration now uses strict validation 2024-10-13 16:09:35 -07:00
Kubernetes Prow Robot
4dc7a48ac6
Merge pull request #128035 from alexanderstephan/export-reflector
Make getter names for reflector fields idiomatic
2024-10-13 23:04:20 +01:00
Alexander Stephan
fdabcb5141 Make getter names for reflector fields idiomatic 2024-10-13 20:53:25 +00:00
Patrick Ohly
fba2bcf2d2 prune-junit-xml: simplify failure message
In Go unit tests, the entire test output becomes the failure message because
`go test` doesn't track why a test fails. This can make the failure message
pretty large, in particular in integration tests.

We cannot identify the real failure either because Kubernetes has no convention
for how to format test failures. What we can do is recognize log output added
by klog.

prune-junit-xml now moves the full text to to the test output and only keep
those lines in the failure which are not from klog.

The klog output parsing might eventually get moved to
k8s.io/logtools/logparse. For now it is developed as a sub-package of
prune-junit-xml.
2024-10-13 09:37:50 +02:00
Kubernetes Prow Robot
468676cb2f
Merge pull request #127677 from jdtuhui/testifylint/formatter@security
fix: unnecessary fmt.Sprintf in assertions
2024-10-13 07:44:19 +01:00
Kubernetes Prow Robot
17d7f1b564
Merge pull request #128025 from bart0sh/PR159-Makefile-fix-escaping
Makefile: escape $ to prevent confusing output
2024-10-13 03:28:19 +01:00
Daniel Shebib
1618dbe695 Add context to tests 2024-10-12 21:23:29 -05:00
Kubernetes Prow Robot
e9f0ea6f86
Merge pull request #127920 from saschagrunert/mount-hostpath-docs
CRI: clarify `Mount.host_path` docs
2024-10-13 02:24:26 +01:00
Kubernetes Prow Robot
1bda3efdf4
Merge pull request #127754 from skitt/followup-module-verify
hack verify.sh: clean up "base"
2024-10-13 02:24:19 +01:00
Kevin Klues
cfd6037b03 DRA: Update resourceslice controller filtering logic
The logic has been updated to ensure that a controller started for
non-node-local resources filters out all resourceslices created for
node-local resources. Without this change, a single driver with both
node-local and non-node-local resources would end up in a constant
battle of creating and deleting node-local resource slices in the
controller it setup for its non-node-local resources. This change fixes
that.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2024-10-12 22:30:45 +02:00
Ed Bartosh
3c58cab7a0 Revert "fix bug in Makefile"
This reverts commit 9dc27e93fb.
2024-10-12 23:27:19 +03:00
Omer Aplatony
bba055067e Update waitForDelete to use PollUntilContextTimeout
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2024-10-12 21:42:17 +03:00
Kubernetes Prow Robot
426aa3d6ce
Merge pull request #127489 from pacoxu/feature/125234
feat: Added net.ipv4.tcp_rmem and net.ipv4.tcp_wmem into safe sysctl list
2024-10-12 08:46:20 +01:00