Commit Graph

125852 Commits

Author SHA1 Message Date
Antonio Ojea
4c522bf21b remove unnecessary dependency on k8s.io/api 2024-10-06 15:37:22 +00:00
Daniel Shebib
2d28e6803c typo 2024-10-06 07:40:56 -05:00
Kensei Nakada
a2b3a4f4dc chore: ensure the scheduler handles events before checking the pod position 2024-10-06 21:06:45 +09:00
Daniel Shebib
7155404eb5 format whitespace 2024-10-05 18:46:26 -05:00
Daniel Shebib
252fb59bf9 Encase tests in When() 2024-10-05 18:46:26 -05:00
Kubernetes Prow Robot
7b28a115ba
Merge pull request #127810 from aojea/proxy_conntrack_flags
unit test kube-proxy conntrack flags
2024-10-05 19:48:03 +01:00
Antonio Ojea
df7215a144 unit test kube-proxy conntrack flags
Assert the flag behavior on kube-proxy using unit tests.
2024-10-05 13:29:34 +00:00
Kubernetes Prow Robot
60efdae3d1
Merge pull request #126518 from gyuho/fix-doc-link-for-cri-client
fix(staging/cri-client): typos in README links
2024-10-05 12:38:03 +01:00
aokumasan
0b62989086 Fix incorrect test case name 2024-10-05 18:45:01 +09:00
Kubernetes Prow Robot
5ecd83f1e6
Merge pull request #127843 from Cookiery/chore/cleanup
chore: cleanup lint, remove unused args, etc.
2024-10-05 06:46:27 +01:00
Anish Shah
91b70a9f19 fix InodeEvictionTest 2024-10-04 22:49:14 +00:00
Kubernetes Release Robot
055f0fabb3 CHANGELOG: Update directory for v1.32.0-alpha.1 release 2024-10-04 21:31:06 +00:00
Kubernetes Prow Robot
2d31ec0027
Merge pull request #127861 from xmudrii/revert-127611
Revert #127611: bump golang to 1.23.1
2024-10-04 21:52:34 +01:00
Kubernetes Prow Robot
b613a5c249
Merge pull request #127597 from bouaouda-achraf/e2e-test-duplicate-param-runtime-config
fix(e2e-node-tests):  duplicate flag "--runtime-config" when calling run_remote.go on test-e2e-node.sh
2024-10-04 21:52:27 +01:00
Anish Shah
a37101a202 gofmt fix 2024-10-04 19:47:21 +00:00
Kubernetes Prow Robot
5e56e968d7
Merge pull request #127802 from pohly/apidiff-try-builds
apidiff: support trial builds of other projects
2024-10-04 20:04:27 +01:00
Anish Shah
9af732a349 added a comment to explain the usage of emptyDir volume in eviction test #127864 2024-10-04 18:38:40 +00:00
Marko Mudrinić
5572625d87
Revert "Merge pull request #127611 from haitch/haitao/k132-on-go123p1"
This reverts commit 37004f89b0, reversing
changes made to af879aebb1.
2024-10-04 19:11:07 +02:00
Kubernetes Prow Robot
3d6c99e1a7
Merge pull request #125139 from huww98/kubelet-vm-cleaup
kubelet/volumemanager: cleanup set and sort
2024-10-04 17:12:27 +01:00
Kubernetes Prow Robot
c9a61afdb7
Merge pull request #127726 from googs1025/dra/ut_events_assert
chore(dra): improve assert event for unit test for controller
2024-10-04 16:08:34 +01:00
Kubernetes Prow Robot
83a1310228
Merge pull request #126575 from Lucaber/volume-attach-memory-allocations
Reduce memory usage/allocations during wait for volume attachment
2024-10-04 16:08:27 +01:00
Olga Shestopalova
ea8c1ae9bb
undo mutex change
Signed-off-by: Olga Shestopalova <oshestopalova1@gmail.com>
2024-10-04 10:35:31 -04:00
Olga Shestopalova
a13e9f6457
use sync.Once instead of a mutex
Signed-off-by: Olga Shestopalova <oshestopalova1@gmail.com>
2024-10-04 10:24:48 -04:00
Kubernetes Prow Robot
7478a30fdc
Merge pull request #127260 from carlory/fix-124136
Fix TestPersistentVolumeProvisionMultiPVCs
2024-10-04 15:02:50 +01:00
Kubernetes Prow Robot
65bc7c0c1a
Merge pull request #126924 from carlory/volumelimit
Remove attachable volume limit from node's status capacity
2024-10-04 15:02:41 +01:00
Kubernetes Prow Robot
5a9b6065b1
Merge pull request #126599 from yaroslavborbat/fix-mount-bind
fix: preserve options after remount for bind mounting
2024-10-04 15:02:34 +01:00
Kubernetes Prow Robot
6c34d13e3b
Merge pull request #125147 from alexandrevilain/fix/recycler-client
recyclerclient: fix log message in case of delete pod error
2024-10-04 15:02:27 +01:00
Cookiery
4ce7f8547d chore: cleanup code
chore: cleanup code

chore: cleanup code

chore: cleanup code
2024-10-04 20:43:01 +08:00
Kubernetes Prow Robot
b8e57a1c20
Merge pull request #127822 from benluddy/json-serializer-roundtrip-float64-no-fraction
Test concrete type changes in unstructured float64 JSON roundtrips.
2024-10-04 12:50:29 +01:00
yaroslavborbat
b3b57e53a4 replace /tmp with /var/tmp
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com>
2024-10-04 13:58:52 +03:00
Kubernetes Prow Robot
c95dd85823
Merge pull request #127396 from olyazavr/no-dupe-mount-unmount
check if volume already has mount op in progress before mount/unmount
2024-10-04 11:30:26 +01:00
Kubernetes Prow Robot
6df3b28f22
Merge pull request #127799 from danielvegamyhre/makefile-fix
Fix bug in Makefile example for running integration tests
2024-10-04 07:28:27 +01:00
Kubernetes Prow Robot
c923a61ddd
Merge pull request #125982 from harche/compressible_reserved
Set only compressible resources on system and kube reserved cgroup slices
2024-10-04 04:08:27 +01:00
Kubernetes Prow Robot
9ffefe3da2
Merge pull request #127816 from cici37/updateCEL
Bump dependency: cel-go to v0.21.0
2024-10-04 01:30:34 +01:00
Kubernetes Prow Robot
b70a646897
Merge pull request #127760 from logicalhan/patch-3
Update OWNERS_ALIASES with proper Instrumentation POCs
2024-10-04 01:30:27 +01:00
Kubernetes Prow Robot
3de975b732
Merge pull request #125171 from YamasouA/ft/queuehint-csidriver
volumebinding: scheduler queueing hints - CSIDriver
2024-10-04 00:26:27 +01:00
Kubernetes Prow Robot
fa3ff38f95
Merge pull request #127834 from googs1025/fix/leaderelection/patch
fix(leaderelection): nil check in OnStoppedLeading func
2024-10-03 23:22:30 +01:00
Antonin Bas
7dc4af6c8a Ignore false positives from unused linter
This is a workaround for a false positive in the staticcheck linter,
which has not been addressed yet.
See https://github.com/dominikh/go-tools/issues/1294.
Once this is fixed in staticcheck, we can just remove the exclude rule
from the golangci config.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-03 14:44:08 -07:00
Antonin Bas
1aec7568e1 Use generics for workqueue metrics
The workqueue implementation was recently updated to be strongly typed,
using Go generics. However the metrics implementation was not updated,
and continued using interface{}. This translated to unnecessary memory
allocations when invoking the queueMetrics interface methods to track
queue operation. We can avoid these extra heap allocations by using
generics for the metrics implementation as well.

Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-10-03 14:44:08 -07:00
Kubernetes Prow Robot
8c2255657a
Merge pull request #127827 from skitt/client-go-obsolete-plugins
client-go: remove obsolete auth plugins from examples
2024-10-03 21:30:27 +01:00
Harshal Patil
3bad47e8ed Set only compressible resources on system slice
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2024-10-03 13:23:34 -04:00
Ben Luddy
30c35a5618
Add NestedNumberAsFloat64 unstructured field accessor.
Go float64 values that have no fractional component and can be accurately represented as an int64,
when present in an unstructured object and roundtripped through JSON, appear in the resulting object
with the concrete type int64. For code that processes unstructured objects and expects to find
float64 values, this is a surprising edge case. NestedNumberAsFloat64 behaves the same as
NestedFloat64 when accessing a float64 value, but will additionally convert to float64 and return an
int64 value at the requested path. Errors are returned on encountering an int64 that cannot be
precisely represented as a float64.
2024-10-03 13:19:31 -04:00
googs1025
b60cef2609 fix(leaderelection): nil check in OnStoppedLeading func 2024-10-04 00:26:06 +08:00
Anish Shah
7abfa2dafb possible deflake 2024-10-03 16:00:48 +00:00
yaroslavborbat
62c5fd9438 fix test
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com>
2024-10-03 18:39:28 +03:00
yaroslavborbat
c6e7554570 update vendor after rebase
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com>
2024-10-03 18:39:22 +03:00
yaroslavborbat
a813376093 fix mount options after remount
Signed-off-by: yaroslavborbat <yaroslav.752@gmail.com>
2024-10-03 18:39:18 +03:00
Stephen Kitt
4531c6de76
client-go: remove obsolete auth plugins from examples
The azure and gcp plugins no longer do anything other than point to
the corresponding external credential plugins. Client code should no
longer try to load them, so they should be removed from the examples.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-03 11:08:52 +02:00
Kubernetes Prow Robot
d99d3f7eb7
Merge pull request #127824 from kiashok/temp-hcsshim-fix
Fix retracted go-cose that hcsshim brings in
2024-10-03 10:00:26 +01:00
Kubernetes Prow Robot
7dd03c1ee5
Merge pull request #127353 from Gekko0114/integration_test_volumezone
Add integration test for VolumeZone in requeueing scenarios
2024-10-03 05:48:26 +01:00