Commit Graph

125410 Commits

Author SHA1 Message Date
haorenfsa
d4fdfaf17d test/integration/garbagecollector: add test TestCascadingDeleteOnCRDConversionFailure which tests that GC controller cannot be blocked by a bad conversion webhook
Signed-off-by: haorenfsa <haorenfsa@gmail.com>
Co-authored-by: Andrew Sy Kim <andrewsy@google.com>
2024-09-13 23:14:41 +08:00
Andrew Sy Kim
e8b1d7dc24 garbagecollector: controller loop should not be blocking on failed cache sync
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
Co-authored-by: He Xiaoxi <xxhe@alauda.io>
2024-09-13 23:14:23 +08:00
Kubernetes Prow Robot
e5dd48efd0
Merge pull request #125186 from liyuerich/newserializer
drop deprecated json/yaml newSerializers, use json.NewSerializerWithO…
2024-09-13 15:39:12 +01:00
googs1025
913340aa83 dra(resourceslice): use index lookup instead of using sliceStore.List() 2024-09-13 22:36:04 +08:00
Kubernetes Prow Robot
20dd88872d
Merge pull request #127283 from bzsuni/bz/etcd/image/build/v3.5.16
Build etcd image of v3.5.16
2024-09-13 14:31:12 +01:00
Kubernetes Prow Robot
88df7e307b
Merge pull request #127327 from ryanwinterms/wait_doc
Document the "create" option to the "kubectl wait" command
2024-09-13 13:07:13 +01:00
Oksana Baranova
2474369227 kubelet: migrate pleg to contextual logging
Signed-off-by: Oksana Baranova <oksana.baranova@intel.com>
2024-09-13 12:13:26 +03:00
Kubernetes Prow Robot
19e8e59d06
Merge pull request #127333 from yuyabee/add-activeDeadlineSeconds-to-upgrade-health-check-job
Add activeDeadlineSeconds to kubeadm upgrade-health-check job
2024-09-13 09:59:12 +01:00
Kubernetes Prow Robot
8d402c9941
Merge pull request #127303 from omerap12/issue_127287
Improve message prefer a domain-qualified finalizer
2024-09-13 03:51:12 +01:00
rongfu.leng
d04a54c50b optimize code, filter podUID is empty string
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-09-13 01:48:14 +00:00
Stephen Heywood
a81f204a8a Create e2e test for CSINode endpoints
e2e test validates the following 7 endpoints
- createStorageV1CSINode
- deleteStorageV1CollectionCSINode
- deleteStorageV1CSINode
- listStorageV1CSINode
- patchStorageV1CSINode
- readStorageV1CSINode
- replaceStorageV1CSINode
2024-09-13 12:04:12 +12:00
Kubernetes Prow Robot
359b9ba9bf
Merge pull request #127325 from iholder101/swap/fix-swap-on-log
Swap: Fix misleading log about swap being on, even if it's actually off
2024-09-13 00:47:14 +01:00
Yuya Yabe
db66416c45 Add activeDeadlineSeconds to kubeadm upgrade-health-check job
With https://github.com/kubernetes/kubernetes/pull/122079,
kubeadm now relies on `ttlSecondsAfterFinished` to clean
up `upgrade-health-check` once its pod reaches a terminal state.
However, there is a case where the pod won't reach a terminal state and
the job will not register a terminal state, hence no garbage collection.

For example, if the pause image is not present, `ErrImagePull` will make
the pod keep retrying to pull the image and the pod will never reach a
terminal state on its own. And the job will continue to wait for the pod
to reach a terminal state which will not happen.

So we need to set `activeDeadlineSeconds` to prevent the job from
waiting forever for the pod to reach a terminal state.

Without this, users invoking `kubeadm upgrade plan` need to cleanup the
job outside of kubeadm even if they ignore the preflight result because
the job still runs when the result is configured to be ignored via
`--ignore-prelight-errors=CreateJob` flag.

Since the timeout for the polling in the `CreateJob` step in kubeadm
is 15 seconds, we should set the `activeDeadlineSeconds` to the same
timeout.
2024-09-12 19:40:25 +00:00
杨朱 · Kiki
b19d996c84 Update staging/src/k8s.io/cloud-provider/sample/README.md
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-09-13 02:28:27 +08:00
Kubernetes Prow Robot
a7702cb47b
Merge pull request #127331 from Jefftree/patch-1
Bump sample-apiserver test image to 1.31
2024-09-12 19:21:13 +01:00
Jeffrey Ying
894960177a
Update VERSION to 1.31.1 for sample-apiserver 2024-09-12 13:08:21 -04:00
Jeffrey Ying
4d063b63cb
Bump sample-apiserver test image to 1.31 2024-09-12 13:05:53 -04:00
Ryan Winter
a3615ce5a3 document the "create" option to the "kubeclt wait" command.
Signed-off-by: Ryan Winter <ryanwinter@outlook.com>
2024-09-12 09:21:37 -07:00
Kubernetes Prow Robot
e35bd86edd
Merge pull request #127314 from xuzhenglun/cohabitating-ut
chore:  add unit test to cover cohabitating resources in StorageFactory
2024-09-12 17:09:19 +01:00
Kubernetes Prow Robot
ed92309dfa
Merge pull request #127253 from alculquicondor/mimowo_job
Nominate mimowo to approvers of job controller
2024-09-12 17:09:13 +01:00
Itamar Holder
b811af496c fix misleading log about swap being on
Currently, a log is triggered about swap
being on even if swap is off.

After this commit, the log would be triggered
only if swap is truly turned on.

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-09-12 18:23:25 +03:00
Maciej Skoczeń
9f6fdf1b77 Decrease number of integration tests in scheduler_perf 2024-09-12 15:13:53 +00:00
Antonio Ojea
252f854211 rename node package to match the path name 2024-09-12 10:42:22 +00:00
Antonio Ojea
0e81189dd3 rename package on nodelifecycle controller to match the path 2024-09-12 10:40:54 +00:00
Kubernetes Prow Robot
7ad1eaa66b
Merge pull request #127315 from neolit123/1.32-remove-deprecated-upgrade-flags
kubeadm: add default paths to 'upgrade diff'
2024-09-12 11:31:12 +01:00
xuzhenglun
d994895dc4
add test coverage for cohabitating resources in StroageFactory 2024-09-12 17:05:43 +08:00
Lubomir I. Ivanov
914fd40712 kubeadm: add default paths to 'upgrade diff'
After the flags to control manifest paths were removed,
the variables in diff.go remained empty and the validation
fails with "empty manifest path".

Always populate the paths with the kubeadm defaults under
/etc/kubernetes/manifest and remove the empty path validation.
2024-09-12 11:59:53 +03:00
Adrian Moisey
8e3adc4df6
KEP-4427 : AllowRelaxedDNSSearchValidation (#127167)
* KEP-4427 : AllowRelaxedDNSSearchValidation

* Add e2e test with feature gate to test KEP-4427 RelaxedDNSSearchValidation

* Add more validatePodDNSConfig test cases

Also update Regex to match the case we want.

Thanks Tim and Antonio!
2024-09-12 09:41:19 +01:00
Kubernetes Prow Robot
9e59765585
Merge pull request #126999 from pohly/log-client-go-rest-body
client-go/rest: contextual logging of request/response
2024-09-12 09:41:12 +01:00
Kubernetes Release Robot
d589a3f866 CHANGELOG: Update directory for v1.30.5 release 2024-09-12 02:55:14 +00:00
Kubernetes Prow Robot
c775fb2238
Merge pull request #127271 from liggitt/go1.23
Update go.mod for go 1.23
2024-09-12 03:53:11 +01:00
Kubernetes Release Robot
9d374b1cde CHANGELOG: Update directory for v1.31.1 release 2024-09-12 01:03:01 +00:00
Kubernetes Release Robot
958b545c8d CHANGELOG: Update directory for v1.29.9 release 2024-09-12 00:21:49 +00:00
Kubernetes Prow Robot
11e8169a16
Merge pull request #120569 from ffromani/cpumanager-extra-logs
enhance the cpumanager logs
2024-09-12 00:25:18 +01:00
Kubernetes Prow Robot
d14b0b0cb1
Merge pull request #114136 from claudiubelu/kubelet-plugins
Updates Kubelet Plugin Registration process
2024-09-12 00:25:12 +01:00
Kubernetes Prow Robot
7bd36b50b4
Merge pull request #127258 from KPostOffice/testing-logger4job
Use logger context in job controller tests
2024-09-11 23:21:31 +01:00
Kubernetes Prow Robot
6309127d69
Merge pull request #127239 from xuzhenglun/cohabitating-resources
API emulation versioning honors cohabitating resources
2024-09-11 23:21:25 +01:00
Kubernetes Prow Robot
60cbbdf4b3
Merge pull request #127228 from hakuna-matatah/master
Improve Job Controller Performance
2024-09-11 23:21:18 +01:00
Kubernetes Prow Robot
a568c11bbb
Merge pull request #126550 from BnjmnZmmrmn/master
cleanup: avoid unnecessary CRI call when pulling image for pod
2024-09-11 23:21:11 +01:00
Kubernetes Prow Robot
38f68d59a7
Merge pull request #127256 from dom4ha/scheduler_test_logging
Enable testing logger in the remaining scheduler tests.
2024-09-11 22:17:12 +01:00
Kevin
234c055205 Use logger context in job controller tests
Signed-off-by: Kevin <kpostlet@redhat.com>
2024-09-11 15:47:12 -04:00
Kubernetes Prow Robot
e3a81ab000
Merge pull request #126368 from jpbetz/organize-cel-libraries
Improve structure of CEL libraries to ensure cost tests kept accurate with introduction of new types
2024-09-11 20:41:19 +01:00
Kubernetes Prow Robot
a1a645b70c
Merge pull request #125066 from TommyStarK/unit-tests/kubelet-eviction
kubelet/eviction: improve unit test coverage
2024-09-11 20:41:12 +01:00
Jordan Liggitt
e7957232cf
Update k8s.io/gengo/v2 2024-09-11 15:38:38 -04:00
Benjamin Riley Zimmerman
dbb0ab074b avoid calling GetImageRef if pullpolicy is always 2024-09-11 12:36:45 -07:00
Jordan Liggitt
102a9dbab1
Pin godebug default to go1.23 2024-09-11 15:34:37 -04:00
Jordan Liggitt
65ef531390
Update go.mod to go 1.23 2024-09-11 15:34:37 -04:00
Omer Aplatony
6aa674dc5a Improve message prefer a domain-qualified finalizer
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2024-09-11 22:19:58 +03:00
Dan Winship
8e8bef66f6 Refactor endpoint/execpod antiaffinity
Also make launchHostExecPod return a fully-filled-in Pod object.
2024-09-11 14:21:55 -04:00
Kubernetes Prow Robot
d62b797c16
Merge pull request #127123 from neolit123/1.32-remove-deprecated-upgrade-flags
kubeadm: remove deprecated upgrade flags for 1.32
2024-09-11 19:03:20 +01:00