Commit Graph

125873 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7ab8a2b92f
Merge pull request #127870 from googs1025/dra/controller_todo
chore(dra): add unit test in dra helper func
2024-10-07 15:08:21 +01:00
Stephen Kitt
f1fa4086b3
Use sigs.k8s.io/yaml instead of gopkg.in/yaml
Since we have a Kubernetes-specific fork of go-yaml, use that
consistently throughout the project. This doesn't eliminate the
dependencies on gopkg.in/yaml, which are still used indirectly; but it
ensures that the whole project benefits from fixes or changes to
sigs.k8s.io/yaml.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-07 15:32:00 +02:00
Stephen Kitt
aca3214a70
applyconfiguration-gen: drop yamlUnmarshal
It's unused.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2024-10-07 14:50:24 +02:00
googs1025
30ba5d7cb0 chore(dra): add unit test in dra helper func 2024-10-07 20:39:19 +08:00
Kubernetes Prow Robot
7fb8fe2cf7
Merge pull request #127876 from aojea/k8s_api
remove unnecessary dependency on k8s.io/api
2024-10-07 11:40:32 +01:00
Kubernetes Prow Robot
3d00d6e421
Merge pull request #127669 from olyazavr/fix-probe-race
fix plugin probe init race causing erroneous volume unmounts
2024-10-07 11:40:21 +01:00
Jan Safranek
7306cc1764 Revert "fix mount options after remount"
This reverts commit a813376093.
2024-10-07 10:00:20 +02:00
Jan Safranek
a953e42506 Revert "update vendor after rebase"
This reverts commit c6e7554570.
2024-10-07 10:00:19 +02:00
Jan Safranek
02101df58f Revert "fix test"
This reverts commit 62c5fd9438.
2024-10-07 10:00:18 +02:00
Jan Safranek
5325ccd18d Revert "replace /tmp with /var/tmp"
This reverts commit b3b57e53a4.
2024-10-07 10:00:16 +02:00
Kubernetes Prow Robot
a7fcc89ac0
Merge pull request #125936 from sivchari/use-ptr
use utils/ptr package instead of utils/pointer
2024-10-07 01:02:04 +01:00
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