Wojciech Tyczyński
2854d84056
Fix ChangeCRD test
2024-06-06 15:59:03 +02:00
Patrick Ohly
c339eafb76
scheduler: allow PreBind to return "Pending" and "Unschedulable"
...
Any error result from PreBind was treated as a pod scheduling failure. This was
overlooked when moving blocking API calls in the DRA plugin into a PreBind
implementation, leading to:
E0604 15:45:50.980929 306340 schedule_one.go:1048] "Error scheduling pod; retrying" err="waiting for resource driver" pod="test/test-draqld28"
That's because DRA's PreBind does some updates in the apiserver, then returns
Pending to wait for the outcome.
The fix is to allow PreBind to return the same special status codes as other
extension points.
2024-06-06 15:28:08 +02:00
Kubernetes Prow Robot
c8a51aaffc
Merge pull request #125358 from saschagrunert/staging-readme
...
Add `k8s.io/cri-client` to `staging/README.md`
2024-06-06 06:27:22 -07:00
Sascha Grunert
c08e3aff65
Add k8s.io/cri-client
to staging/README.md
...
The new repo was missing from the list, so now it has been added.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-06-06 13:23:09 +02:00
Dejan Pejchev
01536f5a84
add additional tests to make sure job controller logic is correct when counting terminating pods with enabled and disabled PodReplacementPolicy feature
2024-06-06 11:40:54 +02:00
Lukasz Szaszkiewicz
448180db60
make update
2024-06-06 10:31:58 +02:00
Lukasz Szaszkiewicz
7c03e3774d
client-gen: rework list and use CheckListFromCacheDataConsistencyIfRequested
2024-06-06 10:31:45 +02:00
Lukasz Szaszkiewicz
82794c4963
fix TestDriveCheckListFromCacheDataConsistencyIfRequested
2024-06-06 10:27:23 +02:00
AxeZhan
d97282052e
check sidecar featuregate in getFinishedTime
2024-06-06 15:46:41 +08:00
Wei Zhang
af2b0bdb05
add test
2024-06-06 03:07:40 +00:00
Wei Zhang
1b303fe5da
enable kubelet server to dynamically load tls certificate files
2024-06-06 03:07:16 +00:00
Wei Zhang
171882b33b
add feature gate ReloadKubeletServerCertificateFile
2024-06-05 23:26:11 +00:00
Jiaming Xu
af5d816023
update driver installer
2024-06-05 22:21:42 +00:00
Matthew Cary
d386d6880e
Respect controllers on PVCs for retention policy
2024-06-05 12:06:41 -07:00
Kubernetes Prow Robot
9e2075b3c8
Merge pull request #125189 from mimowo/improve-ready-comment
...
Improve the Job API comment for ready field
2024-06-05 11:37:07 -07:00
Kubernetes Prow Robot
d8b33e32b1
Merge pull request #125168 from kaisoz/jobreadypods-fg-removal
...
Remove the `JobReadyPods` feature flag
2024-06-05 11:36:58 -07:00
Kubernetes Prow Robot
a2911e06a7
Merge pull request #125078 from Jefftree/patch-1
...
Ignore sample-controller binary
2024-06-05 06:53:01 -07:00
Kubernetes Prow Robot
dae37c2164
Merge pull request #125335 from p0lyn0mial/upstream-consistency-decector-handles-legacy-case
...
client-go/consistencydetector: handles the watch cache legacy case
2024-06-05 05:37:20 -07:00
Lukasz Szaszkiewicz
fe8a2d222c
client-go/consistencydetector: handles the watch cache legacy case
2024-06-05 11:56:28 +02:00
Kensei Nakada
ef9e14db79
scheduler_perf: measure the degradation of daemonset scheduling
2024-06-05 02:36:31 +00:00
Kubernetes Prow Robot
e67f889edc
Merge pull request #125015 from aroradaman/proxy-localhost-nodeports-metric
...
Kube-Proxy: Track packets accepted on localhost nodeports
2024-06-04 18:49:11 -07:00
Kubernetes Prow Robot
1166d30e19
Merge pull request #125329 from aojea/logreconciler
...
Reduce noise on integration tests disabling kube-apiserver endpoints reconciler
2024-06-04 16:12:26 -07:00
Antonio Ojea
6552f2710f
use default flags for apiserver on integration tests
2024-06-04 22:09:35 +00:00
Antonio Ojea
a1e43b420c
define some default kube-apiserver flags for tests disabling unneded controllers
2024-06-04 22:09:35 +00:00
Kubernetes Prow Robot
a080057dab
Merge pull request #125154 from alvaroaleman/rename
...
Sample Controller: Use one variable for key throughout
2024-06-04 12:53:25 -07:00
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
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
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
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
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
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
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
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
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