Commit Graph

123691 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
79fee524e6
Merge pull request #125483 from wojtek-t/storage_readiness_hook
Implement resilient watchcache initialization post-start-hook
2024-07-01 13:48:29 -07:00
Kubernetes Prow Robot
688c1c3b5e
Merge pull request #125823 from macsko/fix_typos_and_error_messages_in_scheduling_queue_tests
Fix typos and error messages in scheduling queue tests
2024-07-01 07:45:35 -07:00
Quan Tian
3bd975862a Fix endpoints status out-of-sync when the pod state changes rapidly
When Pod state changes rapidly, endpoints controller may use outdated
informer cache to sync Service. If the outdated endpoints appear to be
expected by the controller, it skips updating it.

The commit fixes it by checking if endpoints informer cache is outdated
when processing a service. If the endpoints is stale, it returns an
error and retries later.

Signed-off-by: Quan Tian <quan.tian@broadcom.com>
2024-07-01 21:56:36 +08:00
Kubernetes Prow Robot
a2a5b67442
Merge pull request #125822 from kerthcet/fix/schedule_perf-failure
Log the error margin to avoid failures in schedule_perf
2024-07-01 05:07:27 -07:00
Maciej Skoczeń
c5d376dc20 Fix typos and error messages in scheduling queue tests 2024-07-01 11:37:53 +00:00
Wojciech Tyczyński
a5772bd425 Implement resilient watchcache initialization post-start-hook 2024-07-01 12:54:57 +02:00
kerthcet
e106b3a31f Log the error margin to avoid failures in schedule_perf
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-07-01 18:22:31 +08:00
Kubernetes Prow Robot
d729af9446
Merge pull request #125591 from p0lyn0mial/upstream-promote-watch-list-to-beta
Promote WatchList feature to Beta
2024-07-01 02:31:14 -07:00
Kubernetes Prow Robot
2e39a55d49
Merge pull request #125794 from bzsuni/cleanup/PollImmediateWithContext
Use PollUntilContextTimeout to replace PollImmediateWithContext
2024-07-01 00:13:05 -07:00
Kubernetes Prow Robot
a326cfa2b5
Merge pull request #125691 from kerthcet/fix/multi-profil
fix flaky integration test about multi profiles
2024-06-30 23:09:06 -07:00
kerthcet
20a70e2301 Fix flaky test in maxSurge integration tests
Signed-off-by: kerthcet <kerthcet@gmail.com>
2024-07-01 10:45:18 +08:00
Kubernetes Prow Robot
db9419c01d
Merge pull request #125803 from mmorel-35/len+empty/test
fix: enable and fixes rules from testifylint on test package
2024-06-30 12:59:21 -07:00
Michael Fraenkel
cd949bafa4
use MakePodSpec consistently (#125805)
cleaning up some tests after MakePod/MakePodSpec were introduced
2024-06-30 10:28:36 -07:00
Kubernetes Prow Robot
93d56511e6
Merge pull request #125021 from aojea/servicecidrbeta
KEP-1880 Multiple Service CIDRs: Graduate to Beta (2/2)
2024-06-30 08:53:25 -07:00
Antonio Ojea
bc8bce2ef9 make update 2024-06-30 09:48:46 +00:00
Antonio Ojea
0e1f9dadd6 modify components to use the networking v1beta1 API 2024-06-30 09:48:46 +00:00
Antonio Ojea
ed597316d6 modify tests to use the networking v1beta1 API 2024-06-30 09:48:46 +00:00
Antonio Ojea
dbfdd074d0 update networking strategy and remove hardcode field on the test 2024-06-30 09:48:46 +00:00
Antonio Ojea
c1d06c0ae4 use networking v1beta1 for kubectl describe 2024-06-30 09:48:46 +00:00
Antonio Ojea
ca2d0857b6 promote ServiceCIDR and IPAddress to beta 2024-06-30 09:48:42 +00:00
Kubernetes Prow Robot
d902351c99
Merge pull request #125797 from SataQiu/fix-upgrade-20240629
kubeadm: the '--feature-gates' flag is deprecated and no-op for 'kubeadm upgrade apply/plan'
2024-06-29 23:54:29 -07:00
Matthieu MOREL
7bccbaf996 fix: enable and fixes rules from testifylint on test package
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-30 05:44:47 +00:00
SataQiu
d9001c7b00 kubeadm: the '--feature-gates' flag is deprecated and no-op for 'kubeadm upgrade apply/plan' 2024-06-30 11:22:24 +08:00
Michael Fraenkel
a7264f95ff
pod terminationGracePeriodSeconds is always valid (#124461)
* Pod terminationGracePeriodSeconds is always valid

Validation of a pod spec will always use the pod's
TerminationGracePeriodSeconds value.

A set of pod test-helpers have been created to help construct Pods.

* remove unused func

* reduction

* reduce 2

* simplify test

* report invalid grace period

* update SupplementalGroupPolicy tests
2024-06-29 18:09:29 -07:00
Kubernetes Prow Robot
a9c156baef
Merge pull request #125787 from dims/pandaamanda-remove_apiserver_logs_api
kube-apiserver: default --enable-logs-handler flag to false
2024-06-29 11:23:12 -07:00
Kubernetes Prow Robot
fa75b4371d
Merge pull request #125550 from sanposhiho/scheduler_perf-gated
add a test case with gated pod-affinity pods to scheduler_perf
2024-06-29 07:06:42 -07:00
bzsuni
1599658fc6 Use PollUntilContextTimeout to replace PollImmediateWithContext
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-06-29 18:50:34 +08:00
Antonio Ojea
d748fc024d add ServiceCIDR to the exception for api rules 2024-06-29 10:01:38 +00:00
Kubernetes Prow Robot
a7832cc169
Merge pull request #123102 from astundzia/master
kubeadm: Validate only the first cert entry when external ca mode is used
2024-06-29 01:07:45 -07:00
Kensei Nakada
d6d55196ae add a test case with PodAffinity gated pods to scheduler_perf 2024-06-29 03:35:10 +00:00
Kubernetes Prow Robot
34b8832edb
Merge pull request #125631 from SergeyKanzhelev/logFailedAdmission
improve logging of pod admission denied
2024-06-28 19:36:20 -07:00
Lin Yang
4093c354f0
[code-generator] feat: add func for generating register code (#124946)
* feat: add func for generating register code

* refactor:remove unused local variable

* fix: make the function name singular

Signed-off-by: Lin Yang <reaver@flomesh.io>

* fix: precisely matching the comment tag for register-gen

Signed-off-by: Lin Yang <reaver@flomesh.io>

---------

Signed-off-by: Lin Yang <reaver@flomesh.io>
2024-06-28 18:26:03 -07:00
Kubernetes Prow Robot
3fdf06ae08
Merge pull request #125401 from bitoku/fix-fail-message
Fix E2E error message
2024-06-28 16:48:38 -07:00
Kubernetes Prow Robot
16b7d5310a
Merge pull request #125047 from zhanluxianshen/clean-typos-in-kubelet
clean typos logs in kubelet.
2024-06-28 16:48:24 -07:00
Alex Stundzia
58ff17bbfa
When using external CA, look for common trust anchor within CA bundle. 2024-06-28 18:04:31 -05:00
Kubernetes Prow Robot
19d9e4fa7f
Merge pull request #125776 from vinayakankugoyal/armor2
Remove kubelet soft admission
2024-06-28 14:20:48 -07:00
Kubernetes Prow Robot
ac9aec9f9b
Merge pull request #125116 from pohly/dra-one-of-source
DRA: remove "source" indirection from v1 Pod API
2024-06-28 12:46:45 -07:00
Davanum Srinivas
a88dc632a4
kube-apiserver: default --enable-logs-handler flag to false
Co-Authored-By: Iceber Gu <wei.cai-nat@daocloud.io>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-06-28 15:22:22 -04:00
Patrick Ohly
8e37501cd4 api: remove obsolete validation of deterministic claim name
When replacing the deterministic ResourceClaim name with a generated one this
particular piece of the original validation was incorrectly left in place.
It's not required anymore that "<pod name>-<claim name in pod spec>" is a valid
ResourceClaim name.
2024-06-28 20:38:50 +02:00
Matthieu MOREL
0cde5f1e28
fix: enable bool-compare rule from testifylint linter (#125135)
* fix: enable bool-compare rule from testifylint linter

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update hack/golangci.yaml.in

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

* Update golangci.yaml.in

* Update golangci-strict.yaml

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml.in

* Update golangci.yaml

* Update golangci-hints.yaml

* Update golangci-strict.yaml

* Update golangci.yaml.in

* Update golangci.yaml

* Update mux_test.go

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-06-28 10:58:05 -07:00
Kubernetes Prow Robot
bcadbfcc55
Merge pull request #125496 from harche/cgroup_imp
KEP-4569: Separate cgroup v1 and v2 manager implementations
2024-06-28 09:54:02 -07:00
Kubernetes Prow Robot
5e331569e4
Merge pull request #125779 from SataQiu/fix-upgrade-diff-20240628
kubeadm: fix a bug where the path of the manifest can not be specified when 'upgrade diff' specified a config file
2024-06-28 07:04:00 -07:00
Antonio Ojea
f0fd893101 serve networking v1beta1 apis for ServiceCIDR and IP Address 2024-06-28 13:16:38 +00:00
Antonio Ojea
29f33bc21d enable networking v1beta1 features on apiserver storage 2024-06-28 13:16:33 +00:00
Kubernetes Prow Robot
eb66365bc4
Merge pull request #124931 from pohly/dra-scheduler-prebind-fix
DRA: fix scheduler/resource claim controller race
2024-06-28 05:57:24 -07:00
Harshal Patil
79495a21a8 Separate cgroup v1 and v2 manager implementations
Signed-off-by: Harshal Patil <harpatil@redhat.com>
2024-06-28 07:49:43 -04:00
Kubernetes Prow Robot
e832b70230
Merge pull request #125545 from claudiubelu/unittests-12
unittests: Fixes unit tests for Windows (part 12)
2024-06-28 03:57:56 -07:00
SataQiu
7c2384d374 kubeadm: mark '--api-server-manifest', '--controller-manager-manifest' and '--scheduler-manifest' as deprecated flags 2024-06-28 18:53:05 +08:00
Antonio Ojea
7a14b94205 promote feature gate MultiCIDRServiceAllocator to beta disabled by default 2024-06-28 10:38:37 +00:00
SataQiu
975f1c978d kubeadm: fix a bug where the path of the manifest can not be specified when 'upgrade diff' specified a config file 2024-06-28 18:01:19 +08:00