Commit Graph

49698 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
12217672a3 Merge pull request #123358 from pacoxu/fix-cri-stats-panic
fix panic in CRI stats of windows
2024-02-27 05:14:58 -08:00
Rodrigo Campos
0e2b447269 kubelet/userns: Test new functionality with feature gate enabled
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-02-27 12:01:00 +01:00
Rodrigo Campos
658b45cd03 kublet/userns: Test new functionality with feature gate disabled
We just added some more functionality, let's make sure it works fine
with the feature gate disabled.

Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-02-27 12:01:00 +01:00
Rodrigo Campos
1fb1218f57 kublet/userns: Switch TestGetOrCreateUserNamespaceMappingsDisabled to table format
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2024-02-27 12:01:00 +01:00
Giuseppe Scrivano
b2a92406ef KEP-127: check for runtime handler userns support
block the creation of a pod that requires a user namespace, unless the
runtime handler has support for it.

If the pod requested for a user namespace, and the handler does not
support it then return an error regardless of the feature gate.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-02-27 12:01:00 +01:00
Giuseppe Scrivano
024146f705 KEP-127: the kubelet stores runtime helpers
as they are received from the ResponseStatus request to the runtime.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-02-27 11:07:35 +01:00
Sean Sullivan
a147693deb remote command turn on feature gates 2024-02-27 02:05:24 +00:00
Kubernetes Prow Robot
f8fc1956db Merge pull request #123205 from aravindhp/nlq-promote-beta
features: promote NodeLogQuery to beta
2024-02-26 12:06:48 -08:00
Kubernetes Prow Robot
c53ac4cee4 Merge pull request #123157 from jsafrane/selinux-rwx
Add SELinuxMount feature gate
2024-02-26 12:06:39 -08:00
Aleksandra Malinowska
dd1e617ba0 Scheduler first fit (#123384)
* Don't evaluate extra nodes if there's no score plugin defined

* Fix existing unit test (add no op scoring plugin)

* Add unit tests for no score plugin scenario

* address review comments

* add a test with non-filter, non-scoring extender
2024-02-26 11:07:19 -08:00
Kubernetes Prow Robot
414dabed44 Merge pull request #123498 from pacoxu/ip-mode-flake-ut
fix default IPMode set in UT
2024-02-26 08:02:45 -08:00
Gunju Kim
a24f2c1192 Validate restartable init container state transition
This allows the state of restartable init containers to be transitioned
from terminated to non-terminated even for pods with RestartPolicyNever
or RestartPolicyOnFailure.
2024-02-26 20:47:40 +09:00
Kubernetes Prow Robot
98bd90fbe2 Merge pull request #114672 from pohly/log-text-split-streams
log: split streams also for text output
2024-02-26 01:44:58 -08:00
Mengjiao Liu
b584b87a94 kube-controller-manager: readjust log verbosity
- Increase the global level for broadcaster's logging to 3 so that users can ignore event messages by lowering the logging level. It reduces information noise.
- Making sure the context is properly injected into the broadcaster, this will allow the -v flag value to be used also in that broadcaster, rather than the above global value.
- test: use cancellation from ktesting
- golangci-hints: checked error return value
2024-02-26 14:51:56 +08:00
Paco Xu
dc7114fa91 fix default IPMode set in UT 2024-02-26 12:32:01 +08:00
fusida
9f6b48f1e7 fix node lifecycle controller panic when conditionType ready is nil 2024-02-26 11:26:45 +08:00
reinka
0f083966a7 set actual podToMake values 2024-02-25 19:28:22 +01:00
Kubernetes Prow Robot
aed1f50965 Merge pull request #122629 from sanposhiho/ignore-non-
fix(scheduling queue): ignore events that interest no registered plugin
2024-02-25 10:03:21 -08:00
Kensei Nakada
07e0a80216 graduate HPAContainerMetrics to stable 2024-02-25 00:58:00 +00:00
Kubernetes Prow Robot
38638adaee Merge pull request #123418 from rikatz/kep-1860-to-beta
Promote LoadBalancerIPMode to Beta
2024-02-24 12:48:07 -08:00
Kensei Nakada
18ba3b388e fix(scheduling queue): ignore events that interest no registered plugin 2024-02-24 06:42:19 +00:00
Harsha Narayana
e2506906d6 kubelet: fix flaky unit test with TestRotateLogs due to improper handling of goroutine in the tests 2024-02-23 16:28:35 +05:30
Klaus Ma
b8074c9b67 grpc: set localhost Authority to unix client calls
Signed-off-by: Klaus Ma <klausm@nvidia.com>
2024-02-23 14:51:39 +08:00
Kubernetes Prow Robot
9fa043e769 Merge pull request #123181 from tenzen-y/job-avoid-casts-due-to-old-sets
Job: Use generic sets to avoid unnecessary string casts in valiations
2024-02-22 13:03:10 -08:00
Kubernetes Prow Robot
88c581833b Merge pull request #123081 from tenzen-y/job-stop-no-need-type-casting
Job: Stop unnecessary string casts in validations
2024-02-22 13:03:01 -08:00
Kubernetes Prow Robot
31a482a149 Merge pull request #120344 from rohitssingh/disable_force_detach
Add a flag to disable force detach behavior in kube-controller-manager
2024-02-22 13:02:38 -08:00
Rohit Singh
13dddca6a2 Add "disable-force-detach-on-timeout" flag to kube-controller-manager 2024-02-22 18:31:52 +00:00
Kubernetes Prow Robot
58bbf69913 Merge pull request #123442 from jsafrane/reconstruction-ga
KEP 3756: Mark NewVolumeManagerReconstruction as GA
2024-02-22 08:14:55 -08:00
Kubernetes Prow Robot
cbfebf02e8 Merge pull request #121720 from aojea/first_pod_network_startup
kubelet: add internal metric for the first pod with network latency
2024-02-22 07:13:25 -08:00
Eric Lin
9f9858b6ca Hit APIServer cache when testing healthiness 2024-02-22 13:07:24 +00:00
Jan Safranek
2e92036576 Rename "new" reconstruction just to reconstruction
There is no "old" reconstruction, so remove "_new" from the file names and
function names.
2024-02-22 13:20:38 +01:00
Ricardo Katz
d816ab7657 Promote LoadBalancerIPMode to Beta 2024-02-22 08:35:12 -03:00
Jan Safranek
2a2542289f Remove usage of NewVolumeManagerReconstruction feature gate
This removes lot of code related to "old" VolumeManage reconstruction.
2024-02-22 10:21:13 +01:00
Jan Safranek
513c2a3690 Mark NewVolumeManagerReconstruction GA 2024-02-22 10:06:04 +01:00
Yuki Iwai
cc515bd8f1 Job: Fix test case names for the validations
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
2024-02-22 15:13:38 +09:00
Cici Huang
9bc5257c45 [KEP-3962]Add feature gate for MAP (#123425)
* Add feature gate for MAP

* sort feature gates.

---------

Co-authored-by: Jiahui Feng <jhf@google.com>
2024-02-21 17:00:13 -08:00
Kubernetes Prow Robot
948c5d9b4f Merge pull request #122780 from pacoxu/fix-mirror-pod-log
kubelet: make log more clearer for not create a mirror pod
2024-02-21 13:08:19 -08:00
Maksym Pavlenko
8375163008 Add test to validate non empty pod log dir
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2024-02-21 12:56:13 -08:00
Gunju Kim
dd890b899f Make PodResources API include restartable init containers 2024-02-21 22:00:09 +09:00
Kubernetes Prow Robot
11785bb815 Merge pull request #123392 from thockin/depreciate
Cleanup: s/depreciated/deprecated/g
2024-02-21 01:40:39 -08:00
hunshcn
ce6bacb5ac fix persistent volume docs link
Signed-off-by: hunshcn <hunsh.cn@gmail.com>
2024-02-21 16:26:16 +08:00
Kubernetes Prow Robot
6049a1bca4 Merge pull request #122880 from Jefftree/agg-discovery-v2-types
Add aggregated discovery v2 types
2024-02-20 21:03:22 -08:00
Antonin Bas
5fb002147b Remove unused Resolver interface in pkg/proxy/util
Signed-off-by: Antonin Bas <antonin.bas@broadcom.com>
2024-02-20 11:32:59 -08:00
Kubernetes Prow Robot
d311ce0435 Merge pull request #123343 from haircommander/image-gc-e2e-2
KEP-4210: add e2e tests and add small fix for ImageGCMaxAge
2024-02-20 10:48:15 -08:00
Kubernetes Prow Robot
0deaf12b88 Merge pull request #123044 from yanhuan0802/fix-incorrect-comment
fix: correct incorrect comment & function name about SchedulingGated
2024-02-20 09:42:03 -08:00
Kubernetes Prow Robot
0f7cc6fcaa Merge pull request #121778 from Tal-or/mm_metrics
kubelet: memorymanager: metrics:  add metrics about static allocation
2024-02-20 09:41:50 -08:00
Tim Hockin
9f4b82bf3b Cleanup: s/depreciated/deprecated/g 2024-02-20 07:45:02 -08:00
Kubernetes Prow Robot
47737eca1e Merge pull request #123374 from mimowo/improve-ready-and-active-field-comments
Improve the doc comment for the Job status.active field
2024-02-20 07:30:48 -08:00
Jan Safranek
d7028a8ed5 Add SELinuxMount feature gate
The feature gate enables mounting with -o context=XYZ mount option for all
volume types, not only ReadWriteOncePod.

All SELinux label tracking & error reporting infrastructure is already in
place from SELinuxMountReadWriteOncePod feature gate. This is just a
trivial extension to all access modes.
2024-02-20 15:40:21 +01:00
Kubernetes Prow Robot
2016fab308 Merge pull request #123382 from kerthcet/cleanup/add-testcase-for-defaults
Add testcase covering unknown plugin config in scheduler
2024-02-19 21:04:24 -08:00