Commit Graph

117807 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8a053c700a
Merge pull request #119215 from alexzielenski/apiserver/policy/namespaceParamRef-alpha
KEP-3488: Per namespace policy params
2023-07-20 13:18:10 -07:00
Kubernetes Prow Robot
4b6c340c13
Merge pull request #119422 from saschagrunert/conformance-debian-base
Use debian-base instead of distroless for conformance image
2023-07-20 11:18:10 -07:00
Alexander Zielenski
b5e9e0168c feature: add multiple params capability to VAP controller 2023-07-20 09:30:10 -07:00
Alexander Zielenski
3f63a2d17d refactor: make scope of ParamKind available to vap controller 2023-07-20 09:30:10 -07:00
Alexander Zielenski
6323c106e9 refactor: use the provided sharedInformerFactory for params 2023-07-20 09:30:10 -07:00
Alexander Zielenski
9a595209bd update-codegen 2023-07-20 09:30:10 -07:00
Alexander Zielenski
c8dbf4712c add namespaceParamRef to v1alpha1 and internal
add required field to validation test

test multiple combinartions of paramRefs in binding tests

add validation test cases for new ParamRef fields
2023-07-20 09:30:09 -07:00
Kubernetes Prow Robot
f9744df78b
Merge pull request #119412 from marosset/mark-node-log-query-tests-linux-only
Mark existing NodeLogQuery e2e tests as [LinuxOnly] since they do not run on Windows
2023-07-20 09:12:09 -07:00
Kubernetes Prow Robot
f61a0e4107
Merge pull request #119444 from AxeZhan/scheduler_score
revert "refactor: simplify RunScorePlugins for readability + performance"
2023-07-20 08:12:09 -07:00
Marek Siarkowicz
03aad1f823 Fix the semantic meaning of etcd server within component statuses and metrics.
Instead of numerating all the etcd endpoints known by apiserver, we will
group them by purpose. `etcd-0` will be the default etcd, `etcd-1` will
be the first resource override, `etcd-2` will be the second override and
so on.
2023-07-20 15:08:41 +02:00
Gunju Kim
e0a6eb93a1
node_e2e: Fix createStaticSystemNodeCriticalPod's invalid spec
This fixes `createStaticSystemNodeCriticalPod` to set pod's
restartPolicy instead of container's restartPolicy.
2023-07-20 20:18:05 +09:00
AxeZhan
2863b3d1ab Revert "refactor: simplify RunScorePlugins for readability + performance"
This reverts commit a7eb7ed5c6.
2023-07-20 10:50:32 +08:00
Kubernetes Prow Robot
fa88c0b779
Merge pull request #119421 from iholder101/swap/adapt-resource-metric-test
Add `pod_swap_usage_bytes` as an expected metric in resource metric e2e test
2023-07-19 19:20:04 -07:00
Kubernetes Prow Robot
c7f79bc268
Merge pull request #119434 from mimowo/include-ignored-failures-in-backoff
Include ignored pods when computing backoff delay for Job pod failures
2023-07-19 15:40:15 -07:00
Kubernetes Prow Robot
9892b53704
Merge pull request #119301 from kannon92/pod-replacement-policy-job-api-only
add podReplacementPolicy and terminating field to job api
2023-07-19 15:40:04 -07:00
Kubernetes Release Robot
3685e5e5a9 CHANGELOG: Update directory for v1.24.16 release 2023-07-19 21:06:24 +00:00
Kubernetes Release Robot
51bfe417b8 CHANGELOG: Update directory for v1.25.12 release 2023-07-19 20:24:37 +00:00
Kubernetes Release Robot
c575a1e31a CHANGELOG: Update directory for v1.26.7 release 2023-07-19 19:39:12 +00:00
Kubernetes Release Robot
ba01bfcdc6 CHANGELOG: Update directory for v1.27.4 release 2023-07-19 18:47:39 +00:00
kannon92
ce92952037 add podReplacementPolicy and terminating field to job api 2023-07-19 16:34:38 +00:00
Michal Wozniak
35d0af9243 Include ignored pods when computing backoff delay for Job pod failures 2023-07-19 17:39:58 +02:00
Kubernetes Prow Robot
dde22b3a5e
Merge pull request #119340 from alexzielenski/apiserver/apiextensions/use-statusSchema
apiextensions: validate status updates with status schema
2023-07-19 06:30:05 -07:00
Itamar Holder
ee82654e39 Add pod_swap_usage_bytes as an expected metric in e2e test
Use haveKeys() matcher from previous commit to ensure
required keys exist.

Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-19 14:44:05 +03:00
Itamar Holder
81abfca407 Add a haveKeys() helper function to match multiple keys
Signed-off-by: Itamar Holder <iholder@redhat.com>
2023-07-19 14:44:04 +03:00
Sascha Grunert
1000ed64e0
Use debian-base instead of distroless for conformance image
The `diff` binary (required by the `kubectl diff` e2e test) gets
statically or dynamically linked based on the used glibc version. We
cannot really predict that behavior for the various platforms of
debian-base and therefore cannot copy the binary around. This means that
distroless is not a great choice for the conformance image unless we
stop relying on `diff`.

This means we now switch back to `debian-base` for the conformance image
to simplify the build process and reduce the amount of moving parts.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2023-07-19 10:14:37 +02:00
Kubernetes Prow Robot
90c362b343
Merge pull request #119166 from nilekhc/log-decryption-failure
feat: improves metric and logging
2023-07-18 22:54:22 -07:00
Kubernetes Prow Robot
853e3bd027
Merge pull request #118212 from Jefftree/updated-lazy-aggregator-v2
Fix making OpenAPI V2 aggregator lazy
2023-07-18 22:54:15 -07:00
Cici Huang
d6e525877b
[KEP-2876]Add reason and fieldPath into CRD validation rules (#118041)
* Add reason and fieldPath in CRD validation rules.

* Auto updates

* Simplify field path append

---------

Co-authored-by: Joe Betz <jpbetz@google.com>
2023-07-18 22:54:03 -07:00
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