Commit Graph

117612 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
88c8bcbb4a
Merge pull request #115952 from pacoxu/cleanup-cronjob
cronjob: return immediately when failed to create job for the namespace is terminating
2023-07-18 21:28:02 -07:00
Alexander Zielenski
b1d685a05f apiextensions: validate status updates with status schema 2023-07-18 20:05:18 -07:00
Kubernetes Prow Robot
8c1dc65da9
Merge pull request #119390 from sohankunkerkar/add-dropin
cmd/kubelet: implement drop-in configuration directory for kubelet
2023-07-18 19:44:02 -07:00
Sohan Kunkerkar
06a81d1395 cmd/kubelet: implement drop-in configuration directory for kubelet
This implements a drop-in configuration directory for the kubelet
by introducing a "--config-dir" flag. Users can provide individual
kubelet config snippets in separate files, formatted similarly to
kubelet.conf. The kubelet will process the files in alphanumeric order,
appending configurations if subfield(s) doesn't exist, overwriting them if
they do, and handling lists by overwriting instead of merging.

Co-authored-by: Yu Qi Zhang <jerzhang@redhat.com>
2023-07-18 21:41:14 -04:00
Kubernetes Prow Robot
66e99b3ff1
Merge pull request #117740 from Richabanker/uvip-impl
Unknown Version Interoperability Proxy Impl
2023-07-18 18:36:02 -07:00
Richa Banker
c1aef65640 Add integration test 2023-07-18 17:36:30 -07:00
Richa Banker
cd5f3d9f9d Add impl for uvip 2023-07-18 17:36:22 -07:00
Kubernetes Prow Robot
d1d86dafb7
Merge pull request #118772 from kannon92/terminating-pod-gc
KEP-3939: pod gc changes for pod replacement policy kep
2023-07-18 16:46:03 -07:00
Kubernetes Prow Robot
3be3b86dd6
Merge pull request #119414 from klueska/increase-timeout
Increase timeout for DRA kubelet plugin client
2023-07-18 15:44:04 -07:00
Nilekh Chaudhari
2c8288ac87
feat: improves metric and logging
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2023-07-18 22:44:02 +00:00
Kubernetes Prow Robot
c684de526c
Merge pull request #118990 from alexzielenski/apiserver/apiextensions/crd-validation-ratcheting
CRD Validation Ratcheting alpha implementation
2023-07-18 14:46:03 -07:00
Kevin Klues
0449cef8fd Increase timeout for DRA kubelet plugin client
The 10 second timeout was too low. Given that the retry loop for the
kubelet itself is 90s, increasing the timeout to half of this seems
reasonable. Ideally we would pull in the variable that sets the retry
timeout to 90s and then just set our local timeout to half of that.
Unfortunately, this is not exported, so we settle (for now with just
explicitly setting it to 45s.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-07-18 22:45:01 +01:00
Kubernetes Prow Robot
31d662e58e
Merge pull request #119009 from MikeSpreitzer/track-executing-requests
Track executing requests
2023-07-18 13:44:18 -07:00
Michał Woźniak
a15c27661e
Job controller implementation of backoff limit per index (#118009) 2023-07-18 13:44:11 -07:00
Kubernetes Prow Robot
f55f2785e2
Merge pull request #116254 from pohly/dra-node-authorizer
node authorizer: limit kubelet access to ResourceClaim objects
2023-07-18 13:44:04 -07:00
Mark Rossetti
b5012ba1e2
Mark existing NodeLogQuery e2e tests as [LinuxOnly] since they do not run on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2023-07-18 13:24:01 -07:00
Kubernetes Prow Robot
6264fd9dad
Merge pull request #119238 from kiashok/exposeCommitMemoryCri
Expose commit memory used in WindowsMemoryUsage struct
2023-07-18 12:33:31 -07:00
Kubernetes Prow Robot
7aa4e089cd
Merge pull request #118808 from Jefftree/updated-lazy-crd-controller-v2
Fix lazy OpenAPI V2 CRD Controller
2023-07-18 12:33:20 -07:00
Alexander Zielenski
bfb2c6a22a update go.mod 2023-07-18 11:49:30 -07:00
Alexander Zielenski
668497e755 use ratcheting schema validator when feature is enabled 2023-07-18 11:49:30 -07:00
Alexander Zielenski
e0f9db42ac add ratcheting schema validator using new openapi hooks 2023-07-18 11:49:30 -07:00
Alexander Zielenski
6f238334ab add CRDValidationRatcheting feature gate 2023-07-18 11:49:30 -07:00
Alexander Zielenski
635875ad52 refactor: convert slices to []interface before inserion into VendorExtensible 2023-07-18 11:49:30 -07:00
Alexander Zielenski
9ee6d97fc0 refactor: add ValidateCustomResourceUpdate to support future validators for CRD Updates 2023-07-18 11:49:29 -07:00
Kubernetes Prow Robot
238165450a
Merge pull request #119307 from bart0sh/PR121-DRA-UnprepareResources-Dont-Query-claim
DRA: don't query claims from API server
2023-07-18 11:07:21 -07:00
Kubernetes Prow Robot
6b0e66abad
Merge pull request #116968 from mansikulkarni96/windowsStatsFromCRI
kubelet: Implement support for Windows podAndContainerStatsFromCRI
2023-07-18 11:07:10 -07:00
Mike Spreitzer
a8a2fb317c Add tracking and reporting of executing requests
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
2023-07-18 13:38:43 -04:00
Kubernetes Prow Robot
f3f5dd99ac
Merge pull request #119294 from mimowo/backoff-limit-per-index-api
Extend the Job API for BackoffLimitPerIndex
2023-07-18 10:05:21 -07:00
Kubernetes Prow Robot
4575facd23
Merge pull request #119256 from brianpursley/kubectl-1409
Prefer pods without a deletion timestamp over pods with a deletion timestamp when getting an ordered list of active pods
2023-07-18 10:05:09 -07:00
kiashok
1351845133 Update cri-api change in v1.28.0
Signed-off-by: kiashok <kiashok@microsoft.com>
2023-07-18 09:27:20 -07:00
kiashok
59b4951c64 Expose commit memory used in WindowsMemoryUsage struct
Signed-off-by: kiashok <kiashok@microsoft.com>
2023-07-18 09:23:55 -07:00
Ed Bartosh
0ec99fb0b2 Kubelet DRA: fix failing test cases 2023-07-18 19:06:33 +03:00
Kubernetes Prow Robot
56b59c89f5
Merge pull request #117666 from carlory/fix-008
Remove ability to re-enable serving deprecated policyv1beta1 APIs
2023-07-18 08:41:12 -07:00
Ed Bartosh
f6431c6138 DRA: don't query claims from API server
When a pod is force-deleted UnprepareResources fails to get a claim
from an API server.
PrepareResources should cache claim info required by the
UnprepareResources so that UnprepareResources would get it from
the cache instead of querying API server.
2023-07-18 18:23:10 +03:00
Michal Wozniak
cf0b74774f Extend the API for the Job job-index-failure-count annotation 2023-07-18 16:41:11 +02:00
Kubernetes Prow Robot
b3fc4cf7a9
Merge pull request #119386 from dgrisonnet/metrics-server-nanny
addons/metrics-server: fix nanny rbac permissions
2023-07-18 07:19:21 -07:00
Kubernetes Prow Robot
15450a3f02
Merge pull request #119318 from codefromthecrypt/CycleState-docs
Improve docs on framework.CycleState
2023-07-18 07:19:10 -07:00
Brian Pursley
d281daee33 Prefer pods without a deletion timestamp over pods with a deletion timestamp when getting an ordered list of active pods.
This allows commands like kubectl port-forward, when used with deployments, to avoid selecting a pod that is terminating (due to a rollout, for example).
2023-07-18 08:31:37 -04:00
Kubernetes Prow Robot
6d83e22ba4
Merge pull request #118711 from TommyStarK/tom/gh_118436
add unit test for dra/manager.go
2023-07-18 04:17:09 -07:00
charles-chenzz
0372e4b662 add unit test for dra/manager.go.
Co-Authored-By: charles-chenzz <Rekles666@gmail.com>
Signed-off-by: TommyStarK <thomasmilox@gmail.com>
2023-07-18 12:14:27 +02:00
Michal Wozniak
fcbfdc1710 Extend the Job API for BackoffLimitPerIndex 2023-07-18 11:28:15 +02:00
Kubernetes Prow Robot
9946ea9fd8
Merge pull request #119365 from xmudrii/go1206-iptables
Bump distroless-iptables to 0.2.6
2023-07-18 02:11:20 -07:00
Kubernetes Prow Robot
d43e6705f1
Merge pull request #119095 from saschagrunert/debian-base-bookworm
Update debian-base to bookworm
2023-07-18 02:11:08 -07:00
Damien Grisonnet
3fd40ffb0e addons/metrics-server: fix nanny rbac permissions
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-07-18 10:37:55 +02:00
Kubernetes Prow Robot
f6bcef0fd3
Merge pull request #118601 from andrewsykim/apf-tune-max-seats
priority & fairness: support dynamic max seats
2023-07-18 01:11:20 -07:00
Hao Ruan
056c19e8b3
Add slash ended urls for service-account-issuer-discovery to match API in swagger (#117511)
* Add slash ended urls for service-account-issuer-discovery to match API in swagger

* update the comment for adding slash-ended URLs

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>

---------

Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2023-07-18 01:11:08 -07:00
Adrian Cole
89ab733760 Improve docs on framework.CycleState
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Co-authored-by: Kante Yin <kerthcet@gmail.com>
2023-07-18 14:48:20 +08:00
Alexander Zielenski
4da418aba7 refactor: cleanup to NewSchemaValidator takes JSONSchemaProps
avoids caller having to unnecessarily wrap
2023-07-17 21:49:59 -07:00
Alexander Zielenski
ba58130021 refactor: rename apiservervalidation -> apiextensionsvalidation 2023-07-17 21:49:59 -07:00
Jefftree
735be024cf Make CRDs built and aggregated lazily for oasv2 2023-07-18 04:49:56 +00:00