Commit Graph

124100 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7e88a33c7b
Merge pull request #120396 from wangwei10061/master
Fix wrong annotations in defaults.go
2024-06-04 12:53:19 -07:00
Joe Betz
5db9eff04f Apply feedback 2024-06-04 15:25:02 -04:00
Kubernetes Prow Robot
9c4181e234
Merge pull request #119786 from bzsuni/ut/pkg/kubelet/util
[UT] add ut for pkg/kubelet/util
2024-06-04 11:23:28 -07:00
Kubernetes Prow Robot
5d88b0e08f
Merge pull request #124381 from alexzielenski/cel/allOf-validation
apiextensions-apiserver: Support CEL and additionalProperties used inside `allOf`
2024-06-04 10:14:10 -07:00
Joe Betz
f8a33e3679 Fix apply equality check to allow empty map to be equal to nil for builtin types 2024-06-04 12:11:00 -04:00
Joe Betz
89a68be3a9 Add integration test for a nop apply with an empty map 2024-06-04 12:08:55 -04:00
Joe Betz
13f809478f Apply feedback 2024-06-04 11:50:01 -04:00
YamasouA
f409dedb5d Implement QHint for CSINode 2024-06-04 23:04:52 +09:00
Kubernetes Prow Robot
ae5543e4c8
Merge pull request #125303 from AxeZhan/evaluatedNodes
[Scheduler] Change back to original way of calculating EvaluatedNodes.
2024-06-04 06:33:13 -07:00
Arda Güçlü
e8f4730361 Add yaml format custom profiling support 2024-06-04 15:06:45 +03:00
Arda Güçlü
4e650a9954 Enable custom profiling in kubectl debug as default 2024-06-04 14:59:17 +03:00
Kubernetes Prow Robot
e6d641651a
Merge pull request #124692 from linxiulei/watchlist_opt
cacher: apply key for initial events
2024-06-04 04:22:20 -07:00
Kubernetes Prow Robot
0122991a3c
Merge pull request #125294 from hbostan/master
Add a new workqueue to endpointslice controller for updating topology cache and checking node topology distribution.
2024-06-04 02:44:23 -07:00
Dejan Pejchev
7dd2948620
count terminating pods when deleting active pods for failed jobs 2024-06-04 11:31:00 +02:00
Eric Lin
d9c6c8aa50 cacher: apply key for initial events
For case of SendInitialEvents, a buffer of objects is created. That
process takes a significant amount of memory and CPU when the resource
is of a large volume. Many objects may be not relevant when key is provided.
This commit applies key when composing the buffer for SendInitialEvents.

Signed-off-by: Eric Lin <exlin@google.com>
2024-06-04 09:20:10 +00:00
Wojciech Tyczyński
a8ef6e9f01 Implement ResilientWatchCacheInitialization 2024-06-04 10:36:46 +02:00
hbostan
db827e67fc Add a new workqueue to endpointslice controller for updating topology
cache and checking node topology distribution.
2024-06-04 08:33:32 +00:00
Kubernetes Prow Robot
a8d51f4f05 Use a generic Set instead of a specified Set in kubelet
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-06-04 14:25:43 +08:00
AxeZhan
cf73c9d93c remove EvaluatedNodes field in Diagnosis struct 2024-06-04 14:20:55 +08:00
Karl Isenberg
28e3a728e5 Update TestNewInformerWatcher for WatchListClient
- Switch to using the ProxyWatcher to validate the dance between
  closing the stop channel and closing the result channel.
- Use the new clientfeaturestesting.SetFeatureDuringTest to test with
  the WatchListClient enabled and disabled. These should result in
  almost the exact same output events from the informer
  (list ordering not garenteed), but with different input events
  recieved from the apiserver.
2024-06-03 17:31:59 -07:00
Kubernetes Prow Robot
5bf1e95541
Merge pull request #125299 from karlkfi/karl-reflector-fix-2
Improve Reflector unit tests
2024-06-03 16:42:08 -07:00
Kubernetes Prow Robot
9f13e3a155
Merge pull request #125129 from my-git9/metrics-server-update-patch
addons: update metrics-server to v0.7.1
2024-06-03 15:38:50 -07:00
Kubernetes Prow Robot
24b642afc3
Merge pull request #125282 from matthyx/run2gether
ignore starting order in RunTogether, add another that does
2024-06-03 14:34:11 -07:00
Kubernetes Prow Robot
99cb3eba35
Merge pull request #125101 from alexzielenski/apiserver/vap-storageversion-bump
store validatingadmissionpolicy and bindings at v1
2024-06-03 14:34:02 -07:00
Kubernetes Prow Robot
cfe5a7d03a
Merge pull request #125213 from carlory/fix-dra-flaky
fix dra flaky test on TestPlugin
2024-06-03 13:32:10 -07:00
Karl Isenberg
ab5aa4762f Improve Reflector unit tests
- Add tests to confirm that Stop is always called.
- Add TODOs to show were Stop is not currently being called
  (to fix in a future PR)
2024-06-03 12:15:38 -07:00
Joe Betz
c942ab6900 Handle unstructured objects correctly in IgnoreManagedFieldsTimestampsTransformer 2024-06-03 14:35:26 -04:00
Kubernetes Prow Robot
ff5b5f9b2c
Merge pull request #124658 from sttts/sttts-controlplane-storage
Step 10 – controlplane: add generic storage construction
2024-06-03 08:37:56 -07:00
Kubernetes Prow Robot
8bd36c60bd
Merge pull request #125197 from gabesaba/prefilter_perf
[scheduler] absent key in NodeToStatusMap implies UnschedulableAndUnresolvable
2024-06-03 07:35:41 -07:00
Gunju Kim
a10cd79f63
Remove deprecated sets.String from pkg/kubelet
- s/sets.String/sets.New[string]/g
- s/sets.NewString/sets.New[string]/g
- Use sets.List instead of (sets.String).List
2024-06-03 20:50:26 +09:00
Dr. Stefan Schimanski
3a3be8c704
controlplane: add generic storage construction
Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2024-06-03 13:50:04 +02:00
Kubernetes Prow Robot
548d50da98
Merge pull request #125157 from carlory/kubeadm-2563
kubeadm: update warning message for the swap check
2024-06-03 04:20:55 -07:00
Arda Güçlü
e24b9a022f Add new --wait-for-creation flag in kubectl wait command
kubectl wait command errors out when the waited resource does not exist.
But we need to provide a way to the users about intentionally also waiting for
the creation of resources.

This PR introduces a new flag to cover waiting for the creation of resources
with preserving the default behavior.
2024-06-03 13:31:35 +03:00
Kubernetes Prow Robot
d0aaa66bf7
Merge pull request #125288 from p0lyn0mial/upstream-fix-125244
cacher: dispatchEvents is synced to watchCache.listResourceVersion
2024-06-03 03:06:17 -07:00
carlory
f5c69fde39 kubeadm: update warning message for the swap check
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com>
2024-06-03 17:09:20 +08:00
Claudiu Belu
cc60b26dee windows: Fixes following container log rotation
If we're following a file, that file will remain open, and we continue
to read data from it when new data becomes available.

On Windows, this can be an issue if the container logs needs to be rotated.
Log rotation is done by renaming the file, but this action may fail if
the file is already opened.

Setting the FILE_SHARE_DELETE flag when opening the file will prevent this
issue, as documented: "Delete access allows both delete and rename operations" [1].

In golang, there's no way to set this flag [2], the sharemode is always set to:
sharemode := uint32(FILE_SHARE_READ | FILE_SHARE_WRITE)

Thus, we need to open the file ourselves with the right flags.

[1] https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea?redirectedfrom=MSDN
[2] https://cs.opensource.google/go/go/+/refs/tags/go1.22.2:src/syscall/syscall_windows.go;l=366
2024-06-03 08:58:35 +00:00
Lukasz Szaszkiewicz
a20abdb1f4 cacher: dispatchEvents is synced to watchCache.listResourceVersion
The internal informer populates the RV as soon as it conducts
The first successful sync with the underlying store.
The cache must wait until this first sync is completed to be deemed ready.
Since we cannot send a bookmark when the lastProcessedResourceVersion is 0,
we poll aggressively for the first list RV before entering the dispatch loop.
2024-06-03 10:26:50 +02:00
Kubernetes Prow Robot
2d8a3ad572
Merge pull request #125265 from neolit123/1.31-use-actual-kubelet-address-port
kubeadm: use the actual configured kubelet healthz address:port
2024-06-02 23:14:32 -07:00
bzsuni
1b66e1eb52 update kube-dns and nodelocaldns to 1.23.1
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-06-03 11:19:02 +08:00
Matthias Bertschy
367e8c5578 ignore starting order in RunTogether, add another that does
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-06-02 22:00:40 +02:00
moriya
3f3ce8659f update_comment 2024-06-02 23:58:06 +09:00
moriya
a3e6fd724c remove_comment 2024-06-02 23:56:45 +09:00
moriya
e2632d0ed8 simplify_test 2024-06-02 23:55:41 +09:00
moriya
657bba80de simplify_test 2024-06-02 23:54:39 +09:00
moriya
105f9396b8 review_comment 2024-06-02 23:34:01 +09:00
moriya
a4b3ce8876 simplify 2024-06-02 22:24:35 +09:00
Kubernetes Prow Robot
9fc0315ce8
Merge pull request #125272 from mauri870/hotfix/GOTOOLCHAIN-make-verify
build: don't copy GOPATH out of docker container
2024-06-02 05:09:58 -07:00
Mauri de Souza Meneguzzo
c1238f345a build: don't copy GOPATH out of docker container
When using GOTOOLCHAIN with make verify the build results copied out of
the dockerized environment contains a go toolchain folder that is
write protected. In order to prevent failures during the cleanup step
opt-out of copying $GOPATH to the host.
2024-06-01 22:09:13 -03:00
Kubernetes Prow Robot
b70a5ad6a1
Merge pull request #125269 from jeremyrickard/revert-pr-109939
Revert "build: Adds Windows kube-proxy image"
2024-06-01 15:17:19 -07:00
Kubernetes Prow Robot
a78542e357
Merge pull request #125209 from humblec/etcd-3.5.14
make use of etcd v3.5.14 in the builds.
2024-06-01 14:12:31 -07:00