Tim Hockin
6dbc754ed6
Retool typecheck to be simpler
...
Instead of walking paths ourselves, just let Go's packages library do
it. This is a slight CLI change - it wants "./foo" rather than "foo".
This also flagged a few things which seem to be legit failures.
2024-02-29 22:07:00 -08:00
Tim Hockin
d772f7719d
Remove defunct references to "vendor"
2024-02-29 22:06:52 -08:00
Tim Hockin
b3dd724174
Remove dep on set-gen: gone in gengo/v2
2024-02-29 22:06:18 -08:00
Tim Hockin
b725fd20c2
Fix update/verify-mocks.sh
...
There appears to be a bug in `go generate` for workspaces which will be
fixed in the 1.22.1 release.
2024-02-29 22:06:00 -08:00
Tim Hockin
e2b529fda7
Fix a test that doesn't build on Windows
...
Typecheck should catch this but didn't. Fortunately I fixed that in an
upcoming commit.
2024-02-29 00:22:04 -08:00
Kubernetes Prow Robot
a67973a45c
Merge pull request #122717 from jpbetz/crd-object-filters
...
KEP-4358: Custom Resource Field Selectors
2024-02-28 20:07:12 -08:00
Joe Betz
7ef3eea8a7
Generate code
2024-02-28 14:06:46 -05:00
Joe Betz
291703482d
Add selectableFields to CRDs
2024-02-28 14:06:46 -05:00
Kubernetes Prow Robot
68a47053d1
Merge pull request #123508 from saschagrunert/image-id-container
...
Add `image_id` to CRI `Container` message
2024-02-28 11:01:35 -08:00
Kubernetes Prow Robot
f139450e9b
Merge pull request #122885 from claudiubelu/unittests-10
...
unittests: Fixes unit tests for Windows (part 10)
2024-02-28 05:38:40 -08:00
Sascha Grunert
e663285ccf
Add image_id
to CRI Container
message
...
This new field allows fixing the kubelet image garbage collection in
container runtimes. The `image_ref` has been historically used by
container runtimes to reference images by digest.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2024-02-28 10:05:07 +01:00
Kubernetes Prow Robot
f7ca532472
Merge pull request #123281 from seans3/remote-command-websocket-beta
...
RemoteCommand over WebSockets to Beta
2024-02-27 21:01:55 -08:00
Kubernetes Prow Robot
cb989b84c8
Merge pull request #123424 from haircommander/image-gc-beta
...
Promote ImageMaximumGCAge to beta
2024-02-27 16:47:36 -08:00
Kubernetes Prow Robot
72c92e975d
Merge pull request #123411 from hunshcn/fix/volume-link
...
fix persistent volume docs link
2024-02-27 16:47:27 -08:00
Kubernetes Prow Robot
02306739ab
Merge pull request #122451 from Songjoy/master
...
remove duplicated check on validateTokenRequests for new object
2024-02-27 16:47:13 -08:00
Sean Sullivan
03812ddb16
streamtranslator counter metric by status code
2024-02-27 23:21:55 +00:00
Kubernetes Prow Robot
236f1b0f6b
Merge pull request #123540 from enj/enj/i/jwt_iss
...
jwt: strictly support compact serialization only
2024-02-27 15:19:01 -08:00
Monis Khan
e89dddd4af
jwt: strictly support compact serialization only
...
Signed-off-by: Monis Khan <mok@microsoft.com>
2024-02-27 17:16:08 -05:00
Kubernetes Prow Robot
b63e991b57
Merge pull request #123216 from giuseppe/runtime-handler-cri
...
KEP-127: require userns support from the CRI runtime before using it
2024-02-27 14:15:03 -08:00
Kubernetes Prow Robot
12771ce773
Merge pull request #122493 from mengjiao-liu/fix-cronjob-error
...
cronjob: fix incorrect error checking
2024-02-27 14:14:54 -08:00
Michał Woźniak
3852d1c0c1
Make explicit check in CronJob if Job is successful before setting LastSuccessfulTime ( #123380 )
...
* Make explicit check in CronJob if Job is successful
before setting LastSuccessfulTime
* Review remarks for the CronJob
Co-authored-by: Filip Křepinský <fkrepins@redhat.com>
---------
Co-authored-by: Filip Křepinský <fkrepins@redhat.com>
2024-02-27 13:09:43 -08:00
Kubernetes Prow Robot
1853de77b2
Merge pull request #122874 from fusida/fix-kcm-panic
...
fix node lifecycle controller panic when conditionType ready is nil
2024-02-27 13:09:34 -08:00
Peter Hunt
cb39dfc9de
Promote ImageMaximumGCAge to beta
...
and set to be on by default, adapting e2e tests for it
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-02-27 15:11:45 -05:00
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
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
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
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
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
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
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