Han Kang
07f38a3ec1
add test
2023-06-22 13:35:28 -07:00
Kubernetes Prow Robot
9325a57125
Merge pull request #118765 from mimowo/job-controller-unit-tests
...
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 10:25:41 -07:00
Kensei Nakada
6f8d38406a
feature(scheduler): implement ClusterEventWithHint to filter out useless events
2023-06-22 13:36:19 +00:00
Giuseppe Scrivano
531d38e323
features: rename UserNamespacesStatelessPodsSupport
...
now it is called UserNamespacesSupport since all kind of volumes are
supported.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-06-22 15:19:50 +02:00
Giuseppe Scrivano
556d713a4a
apis: drop check for volumes with user namespaces
...
The second phase of user namespaces support was related to supporting
only stateless pods. Since the changes were accepted for the KEP, now
the scope is extended to support stateful pods as well. Remove the
check that blocks creating PODs with volumes when using user namespaces.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-06-22 15:15:42 +02:00
Kubernetes Prow Robot
4f6a750bbf
Merge pull request #115813 from atiratree/controller-aliases
...
Introduce controller aliases for KCM and CCM
2023-06-22 04:55:39 -07:00
Michal Wozniak
8ed23558b4
Do not set jm.syncJobBatchPeriod=0 if not needed
2023-06-22 11:10:53 +02:00
Michal Wozniak
17013d3960
Review remarks to improve HandlePodCleanups in kubelet
2023-06-22 10:55:39 +02:00
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