Commit Graph

126230 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e6659b60f8
Merge pull request #122818 from y1hao/fix-typo
Fix error in i18n package usage examples
2024-10-23 01:17:22 +01:00
Kubernetes Prow Robot
71523a7db6
Merge pull request #122644 from gyuho/logs-removing-taints
chores(controller/nodelifecycle): make node taint removal logs more a…
2024-10-23 01:17:15 +01:00
Kubernetes Prow Robot
c9525d3865
Merge pull request #120629 from Rei1010/pointerClean
Use ptr.Equal to compare the value
2024-10-23 01:17:07 +01:00
Kubernetes Prow Robot
51313683df
Merge pull request #118402 from skitt/ioutil-sig-cloud-provider
cloud-provider: stop using deprecated io/ioutil
2024-10-23 01:17:00 +01:00
Kubernetes Prow Robot
3e66160f30
Merge pull request #107362 from shawnhanx/controller_redundant
remove redundant return statement in attachdetach/util/util.go
2024-10-23 01:16:53 +01:00
Kir Kolyshkin
eecd2ed7a2 staging/src/k8s.io/mount-utils: use moby/sys/userns
This package was moved out from runc/libcontainer and it will be made
deprecated.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-10-22 17:10:06 -07:00
Federico Bongiovanni
5f052ada19
Update OWNERS
Adding  jefftree also to the reviewers list
2024-10-22 16:26:30 -07:00
Kubernetes Prow Robot
8ddbf2a789
Merge pull request #128245 from dims/copy-limited-pieces-of-code-we-use-from-runc-apparmor-and-utils-packages
Copy limited pieces of code we use from runc's apparmor and utils packages
2024-10-23 00:12:59 +01:00
Kubernetes Prow Robot
fdc61b8fa2
Merge pull request #128116 from pohly/ktesting-context-timeout-warning
ktesting: improve context message
2024-10-23 00:12:53 +01:00
Jefftree
6828abce0f capitalize deprecated to fix linter 2024-10-22 22:40:06 +00:00
Kubernetes Prow Robot
d4a0c2be3e
Merge pull request #128260 from macsko/add_node_update_event_test_case
Add scheduler_perf test case for NodeUpdate event handling
2024-10-22 22:36:58 +01:00
Kubernetes Prow Robot
6568b4bdb3
Merge pull request #126953 from aroradaman/kubeadm-pre-flight-remove-conntrack
kubeadm: remove preflight check for existence of conntrack binary
2024-10-22 22:36:51 +01:00
Kir Kolyshkin
54d43ecaed pkg/kubelet/user/userns: remove, use moby/sys/userns
The code from github.com/opencontainers/runc/libcontainer/userns package
was moved into github.com/moby/sys/user and github.com/moby/sys/userns
(see [1]), and the runc package is now deprecated in favor of moby/sys
(see [2]).

In addition, moby/sys/userns now has a non-Linux implementation, so
pkg/kubelet/user/userns package (introduced in commit 2e999ff to make a
non-Linux implementation) is not really needed anymore.

Let's switch to moby/sys/userns, and remove the package.

[1]: https://github.com/moby/sys/releases/tag/userns%2Fv0.1.0
[2]: https://github.com/opencontainers/runc/pull/4350

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2024-10-22 14:36:14 -07:00
Richa Banker
81cd728c66 Move k8s.io/apiserver/pkg/util/version to component-base 2024-10-22 13:03:42 -07:00
Arda Güçlü
5826868586
Wire context to logs command and add interrupt handler (#127503)
* Wire context to logs command and add interrupt handler

* Move conditional outside of interrupt handler
2024-10-22 19:49:06 +01:00
Arda Güçlü
1caf9a150b
KEP-4292: Add e2e test for custom profile in kubectl debug (#127187)
* Remove KUBECTL_DEBUG_CUSTOM_PROFILE env var

* Add e2e test for custom profile in kubectl debug

* Keep feature flag until 1.33

* Update comment

* Simplify tests by relying on test framework functionality

* Rename import alias to better to pass verify-import-alias
2024-10-22 19:48:59 +01:00
Kubernetes Prow Robot
c4a14d7ef5
Merge pull request #126562 from kannon92/split-filesystem-on-same-disk
[KEP-4191]: Fix issue in split filesystem
2024-10-22 19:48:53 +01:00
Tim Allclair
53aa727708 Checkpoint allocated requests and limits 2024-10-22 11:26:48 -07:00
Kubernetes Prow Robot
ee9e2294ff
Merge pull request #128223 from sanposhiho/bug-check-scale-down
fix: check correctly if the event is scale down
2024-10-22 18:45:03 +01:00
Kubernetes Prow Robot
8013bc1c25
Merge pull request #126249 from xigang/node_status
kubelet: remove useless comment code for node status
2024-10-22 18:44:53 +01:00
Michal Wozniak
be685c838e Promote the Job pod failure policy to Conformance 2024-10-22 17:00:37 +02:00
Antonio Ojea
8d6769f62c disable cloud-provider code from kube-controller-manager
Since 1.31 the core component cloud provider logic should not exist,
this disables the existing code in the kube-controller-manager that still
expects to work with the cloud-provider logic to avoid having time bombs
in the code base that can break the component.

The code can not be completely removed because this will impact existing
users that may be using some of the flags breaking their deployments, so
this just removes the code that is no longer to be used becuase it
depends on options that no longer are exposed to users.

It also adds validation on the configuration/flag level to ensure that
the --cloud-provider flag can only be set to external or empty.
2024-10-22 14:04:48 +00:00
Davanum Srinivas
abbc5ad346
Copy limited pieces of code we use from runc's apparmor and utils packages
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-10-22 09:56:22 -04:00
Kubernetes Prow Robot
d891934352
Merge pull request #128248 from torredil/fix-e2e-cos-gce-serial-canary
Update context in cleanup func for e2e test
2024-10-22 12:54:51 +01:00
torredil
501ec35a5f
Update context in cleanup func for e2e test
Signed-off-by: torredil <torredil@amazon.com>
2024-10-22 10:37:08 +00:00
Maciej Skoczeń
84e23fcc88 Add scheduler_perf test case for NodeUpdate event handling 2024-10-22 09:03:53 +00:00
Vu Dinh
8105dd7c78 Restore build-tag for conversion and defaulter gen
The build-tag flag is removed but it is still useful to provide a way
to inject a custom build tag that is different from the default build tag.
This custom build tag will allow gengo to load certain conversion and defaults
funcs that reside in files with default build tag which is usually ignored by
gengo.

Signed-off-by: Vu Dinh <vudinh@outlook.com>
2024-10-22 04:19:41 -04:00
Kubernetes Prow Robot
9d967ff973
Merge pull request #128108 from HarshalNeelkamal/patch-1
Update README.md
2024-10-22 03:06:51 +01:00
Kensei Nakada
089457e908 fix: check correctly if the event is scale down
Signed-off-by: Kensei Nakada <handbomusic@gmail.com>
2024-10-22 10:01:20 +09:00
Kubernetes Prow Robot
3f27f97046
Merge pull request #128179 from carlory/fix-128121
cloud service controller stops reporting events in the informer's event handlers
2024-10-22 01:40:50 +01:00
Hemant Kumar
1e7b4406a3 Apply fsGroup when accessMode is ReadWriteOncePod 2024-10-21 17:14:33 -04:00
Kubernetes Prow Robot
81ce66f059
Merge pull request #127420 from runzhliu/patch-3
improve the logging format
2024-10-21 21:14:58 +01:00
Kubernetes Prow Robot
53ab13397d
Merge pull request #124285 from kiashok/affinityCPU-windows
CRI: Add field to support CPU affinity on Windows
2024-10-21 21:14:51 +01:00
Kubernetes Prow Robot
5f3316fe23
Merge pull request #128119 from saschagrunert/api-validation-err
Clarify API validation error for toleration if `operator` is `Exists` and `value` is not empty
2024-10-21 19:44:59 +01:00
Kubernetes Prow Robot
8d373066bb
Merge pull request #127790 from torredil/fix-e2e-retroactive-sc-12513
Fix Storage e2e test `should assign default SC to PVCs that have no SC set`
2024-10-21 19:44:51 +01:00
Harshal Neelkamal
761710cab8 Update README.md
replace `./hack/update-go-workspace.sh ` with `./hack/update-vendor.sh` as `./hack/update-go-workspace.sh ` no longer exists.
2024-10-21 17:28:43 +00:00
carlory
c8723ea7b6 The controller defined in the k8s.io/cloud-provider/service didn't report any events in the service informer's event handler when a service is updated. It fixed the issue where a cloud-provider custom cloud-controller-manager may panic when a service is updated because the event recorder was used before it was initialized. All cloud provider should update the k8s.io/cloud-provider to the latest patched version to fix this issue if the version of the k8s.io/cloud-provider is greater than or equal to v1.31.0. 2024-10-22 00:41:32 +08:00
Kubernetes Prow Robot
28a1322746
Merge pull request #128220 from cpanato/update-zeitgeist
update zeitgeist to v0.5.4
2024-10-21 17:38:58 +01:00
杨朱 · Kiki
442183a929
Fix crash on kube manager's service-lb-controller after v1.31.0. (#128182)
* Fix crash on kube manager's service-lb-controller after v1.31.0.

* Update cmd/kube-controller-manager/app/controllermanager_test.go

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>

---------

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-10-21 17:38:52 +01:00
Daman Arora
0aa9dc84ab kube-proxy: use netutils.MultiListen for healthz and metrics server
Signed-off-by: Daman Arora <aroradaman@gmail.com>
(cherry picked from commit 7ce36f9bca)
2024-10-21 20:52:41 +05:30
Kubernetes Prow Robot
f1e447b9d3
Merge pull request #126897 from HirazawaUi/promote-env-to-beta
KEP-4369: promote RelaxedEnvironmentVariableValidation feature gate to beta
2024-10-21 15:26:41 +01:00
Kubernetes Prow Robot
b5b67954ad
Merge pull request #128218 from haitch/haitao/publishrule_go122p8
Update publishing-bot rules to Go 1.22.8
2024-10-21 14:21:13 +01:00
Kubernetes Prow Robot
e19657a9e3
Merge pull request #128192 from HarshalNeelkamal/patch-2
Fix issue template link in staging README
2024-10-21 14:21:06 +01:00
Kubernetes Prow Robot
d99ee9293c
Merge pull request #128216 from pacoxu/revert-127930-kube-proxy-refactor-healthz-metrics-address
Revert "re: kube-proxy: internal config: refactor HealthzAddress and MetricsAddress "
2024-10-21 10:15:05 +01:00
cpanato
bf8ec657c7
update zeitgeist to v0.5.4
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-10-21 09:57:12 +02:00
Haitao Chen
52e0913624 Update publishing-bot rules to Go 1.22.8 2024-10-21 00:03:03 -07:00
Paco Xu
0e10a3a28c
Revert "re: kube-proxy: internal config: refactor HealthzAddress and MetricsAddress " 2024-10-21 11:36:59 +08:00
zhifei92
dac7332ed2 integrate kubelet with the systemd watchdog
feat:  add unit test

feat:  add FeatureGate for SystemdWatchdog

fix:  linter and failed tests

feat:  add SystemdWatchdog to versioned feature list yaml
2024-10-21 10:46:14 +08:00
Aaron Prindle
ebac81a900 chore: remove sig/api-machinery from OWNERS files that sig/etcd owns 2024-10-20 20:42:34 +00:00
Kirtana Ashok
f67208058c Add cri fields for windows cpu affinity
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-10-20 07:13:32 -07:00