Commit Graph

117125 Commits

Author SHA1 Message Date
Michal Wozniak
e3ee9b9adc Fix the deletion of rejected pods 2023-06-22 09:18:34 +02:00
Kubernetes Prow Robot
3e28404008
Merge pull request #118485 from MikeSpreitzer/generic-apf-strategy
Use generics to simplify pkg/registry/flowcontrol/ensurer
2023-06-21 23:57:40 -07:00
Patrick Ohly
c91c578795 scheduler_perf: skip expensive cleanup during benchmarks
Each benchmark test case runs with a fresh etcd instance. Therefore it is not
necessary to delete objects after a run.

A future unit test might reuse etcd, therefore cleanup is optional.
2023-06-22 08:56:14 +02:00
Mike Spreitzer
92a35f5bca Usse generics to simplify pkg/registry/flowcontrol/ensurer
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-06-22 00:56:54 -04:00
Kubernetes Prow Robot
a532733703
Merge pull request #118754 from pacoxu/fix-prometheus-client
fix metrics test with 1.16.0 prometheus client
2023-06-21 20:25:39 -07:00
Kubernetes Prow Robot
d0accc3f02
Merge pull request #118049 from helayoty/sched-queue-gated-timestamp
Unset gated podinfo InitialAttemptTimestamp in addToActiveQ
2023-06-21 17:49:39 -07:00
Kubernetes Prow Robot
3163606910
Merge pull request #118781 from tukwila/upgrade_addon_manager
upgrade image addon-manager/kube-addon-manager:v9.1.6 to v9.1.7
2023-06-21 16:49:52 -07:00
Kubernetes Prow Robot
a19153ded9
Merge pull request #118403 from skitt/ioutil-sig-storage
storage: stop using deprecated io/ioutil
2023-06-21 16:49:41 -07:00
Heba Elayoty
902c711fb4
Unset gated pod info timestamp in addToActiveQ
Signed-off-by: Heba Elayoty <hebaelayoty@gmail.com>
2023-06-21 14:16:08 -07:00
Kubernetes Prow Robot
2802bbce14
Merge pull request #118793 from serathius/test-cache-bypass
Test all cases for LIST request cache bypass
2023-06-21 13:17:52 -07:00
Vihang Mehta
56cb4c9391
[bug] Update DefaultObjectDescriber to handle interface params (#118190)
* Update DefaultObjectDescriber to handle interface params

Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>

* Minor test cleanup for more descriptive errors

Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>

---------

Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
2023-06-21 13:17:41 -07:00
Kubernetes Prow Robot
55fb1805a1
Merge pull request #118792 from serathius/refactor-delegate
Refactor shouldDelegateList/shouldListFromStorage to better explain d…
2023-06-21 09:03:54 -07:00
Kubernetes Prow Robot
28296ba59e
Merge pull request #113994 from mengjiao-liu/contextual-logging-controller-certificates
certificate controller: use contextual logging
2023-06-21 09:03:42 -07:00
Kubernetes Prow Robot
b8d4eec43e
Merge pull request #118774 from harche/bump_cadvisor
deps: Bump to cAdvisor v0.47.2
2023-06-21 07:35:40 -07:00
Marek Siarkowicz
406899360b Refactor shouldDelegateList/shouldListFromStorage to better explain decisions 2023-06-21 16:06:57 +02:00
Kubernetes Prow Robot
4862614c1c
Merge pull request #118794 from serathius/refactor-watch-context
Refactor WithRequireLeader to make it part of the etcd store
2023-06-21 06:21:41 -07:00
Marek Siarkowicz
e4cf103c9b Test all cases for LIST request cache bypass 2023-06-21 15:15:07 +02:00
Stanislav Laznicka
7f532891c9
e2e tests: set all PSa labels instead of just enforcing 2023-06-21 15:05:13 +02:00
Marek Siarkowicz
a9af2de8fd Refactor WithRequireLeader to make it part of the etcd store 2023-06-21 14:23:30 +02:00
Roman Bednar
1bd3f072fa stop ignoring storage class selection errors
The GetDefaultClass() was fixed in scope of this issue:
https://github.com/kubernetes/kubernetes/issues/110514

Before this change assignDefaultStorageClass() was ignoring errors from
this function since it could mean there are multiple defaults - assign
could safely continue and do nothing.

This is no longer true because we always choose one from multiple
defaults - any errors returned from GetDefaultClass() are real errors
and should not be ignored.
2023-06-21 13:09:05 +02:00
Stanislav Laznicka
e5cbc51d29
e2e framework: allow setting all PSa labels at once 2023-06-21 13:02:01 +02:00
Lubomir I. Ivanov
edb59e9bc7 kubeadm: move token defaulting and related constants to token package
Move the defaulting of the BootstrapToken type inside the
bootstraptoken/v1 package. This prevents an error where
codegen complains that a defaulter for the type exists in both
the kubeadm v1beta3 and v1beta4.

Adapt kubeadm code to use the defaulter function and constants
that were moved to bootstraptoken/v1.

NOTE: technically this is a breaking change for direct users of
v1beta3/SetDefaults_BootstrapToken().
2023-06-21 13:34:21 +03:00
Patrick Ohly
ec70b2ec80 e2e dra: add "kubelet must skip NodePrepareResource if not used by any container"
If (for whatever reason) no container uses a claim, then there's no need to
prepare it.
2023-06-21 10:42:22 +02:00
guangli.bao
fdd992da86 upgrade image addon-manager/kube-addon-manager:v9.1.6 to v9.1.7
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
2023-06-21 11:09:15 +08:00
Kubernetes Prow Robot
9e0569f2ed
Merge pull request #118779 from dims/add-a-connection-backoff-to-talk-to-cri-impls
Add a connection backoff to talk to CRI impls
2023-06-20 20:04:21 -07:00
Paco Xu
420fbd11e4 ignore Histogram for prometheus client v1.16.0 2023-06-21 09:38:05 +08:00
Davanum Srinivas
c98e72841b
Add a connection backoff to talk to CRI impls
We can add backoff for connection like we do in cadvisor:
https://github.com/google/cadvisor/blob/master/container/containerd/client.go#L76-L80

for now, don't tune it, just use the default:
https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-06-20 21:32:50 -04:00
Kubernetes Prow Robot
5a1c62b9d1
Merge pull request #118763 from Shubham82/remove_AdvancedAuditing_featuregate
Remove AdvancedAuditing feature gate.
2023-06-20 17:48:32 -07:00
Kubernetes Prow Robot
bc8e312857
Merge pull request #117903 from sourcelliu/dynamic
feature(DynamicResources): return Skip in PreFilter
2023-06-20 17:48:20 -07:00
Kubernetes Prow Robot
9d90b76bd6
Merge pull request #118552 from humblec/rbd-deprecation
deprecate RBD plugin from available in-tree drivers
2023-06-20 16:50:23 -07:00
Harshal Patil
409bc8ccc0 deps: Bump to cAdvisor v0.47.2
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2023-06-20 15:08:29 -04:00
Han Kang
f72c2c2b7d add process start to prometheus handler opts 2023-06-20 10:13:31 -07:00
Kubernetes Release Robot
bbc7ca94a4 CHANGELOG: Update directory for v1.28.0-alpha.3 release 2023-06-20 17:03:14 +00:00
Kubernetes Prow Robot
2651e70f57
Merge pull request #118759 from mimowo/dont-apibackoff-on-pod-failures
Do not bump API requests backoff in the Job controller due to pod failures
2023-06-20 08:52:21 -07:00
Kubernetes Prow Robot
2d60430a16
Merge pull request #118730 from my-git9/ut-features
[UT] increase coverage ut for kubeadm/app/features
2023-06-20 07:54:36 -07:00
Kubernetes Prow Robot
9ed8cfcc2c
Merge pull request #118721 from bart0sh/PR120-DRA-E2E-Node-add-NodeAlphaFeature
DRA Node E2E: add NodeAlphaFeature to fix CI
2023-06-20 07:54:23 -07:00
Stephen Kitt
ab75e48494
storage: stop using deprecated io/ioutil
This replaces deprecated ioutil variables and functions as follows:

* ioutil.ReadDir -> os.ReadDir
* ioutil.ReadFile -> os.ReadFile
* ioutil.TempDir -> os.MkdirTemp
* ioutil.TempFile -> os.CreateTemp
* ioutil.WriteFile -> os.WriteFile

The ReadDir conversion involves an API change, the replacement
function returns a slice of fs.DirEntry instead of fs.FileInfo.
Where appropriate, the surrounding code has been adjusted; mostly,
that means using DirEntry.Type() instead of FileInfo.Mode().
Applying this change to the IoUtil interface would mean changing its
API, so this is left for later.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2023-06-20 16:49:03 +02:00
ziyin.lu
687ca0e0bb fix(script): handle wait_for_success failed condition
In the wait_node_ready function, two steps are performed:
  1.Check if the node exists
  2.Wait for the node to enter the ready state
If one step fails, the second step should not continue, wasting 300 seconds.
2023-06-20 08:22:26 -04:00
Kubernetes Prow Robot
2e93c65eff
Merge pull request #114849 from padlar/handle-terminating-namespaces
handle event errors caused due to terminating namespaces
2023-06-20 04:52:21 -07:00
Lubomir I. Ivanov
eecac05871 kubeadm: add v1beta4 API boilerplate
Create v1beta4 by copying v1beta3.
2023-06-20 14:33:30 +03:00
Aleksandra Malinowska
63e5b6bdb2 Parallel StatefulSet pod create & delete 2023-06-20 12:15:21 +02:00
Aleksandra Malinowska
2fb472c83c Refactor StatefulSet controller update logic 2023-06-20 12:14:25 +02:00
Michal Wozniak
784a309b91 Do not error in Job controller sync when there are pod failures 2023-06-20 11:31:24 +02:00
shubham82
f2e3157df0 Remove AdvancedAuditing feature gate. 2023-06-20 14:21:10 +05:30
Paco Xu
bbae445d17 fix metrics test with 1.16.0 prometheus client 2023-06-20 16:46:31 +08:00
xin.li
180c2332bf [UT] increase coverage ut for kubeadm/app/features
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-06-20 12:57:22 +08:00
Kubernetes Prow Robot
c0147ff528
Merge pull request #118747 from dims/do-not-prepull-images-for-e2e-node-jobs
Do not prepull images for e2e-node jobs
2023-06-19 19:58:21 -07:00
Davanum Srinivas
564c236ce2
Do NOT prepull images for e2e-node jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-06-19 22:01:12 -04:00
Kubernetes Prow Robot
a19373f028
Merge pull request #118745 from alculquicondor/test-race-expectations
Fix race in logging expectations
2023-06-19 11:24:22 -07:00
Aldo Culquicondor
c84b5b0a99
Cleanup unnecessary renames of variable t
Change-Id: Idf4d0ed7e09cf14323567381de158041236680b0
2023-06-19 13:27:17 -04:00