Joe Betz
a0f419fe56
Add integration tests
...
Co-authored-by: cici37 <cicih@google.com >
Co-authored-by: Alexander Zielensk <alexzielenski@gmail.com >
2024-11-04 21:40:54 -05:00
Joe Betz
3a1733f302
Add MutatingAdmissionPolicy API
...
This is closely aligned with ValidatingAdmissionPolicy
except that instead of validations that can fail with
messages, there are mutations, which can be defined
either with as an ApplyConfiguration or JSONPatch.
Co-authored-by: cici37 <cicih@google.com >
2024-11-04 21:40:38 -05:00
Kubernetes Prow Robot
c0e0785fe4
Merge pull request #128427 from dom4ha/scheduler-perf
...
Fix Unschedulable test by using high priority churn pods to get processed right after they were injected
2024-10-30 22:23:25 +00:00
Kubernetes Prow Robot
dc1d7f41ef
Merge pull request #128456 from benluddy/nondeterministic-response-encoding
...
KEP-4222: Allow nondeterministic object encoding in HTTP response bodies.
2024-10-30 20:13:27 +00:00
Ben Luddy
dee76a460e
Allow nondeterministic object encoding in HTTP response bodies.
2024-10-30 15:10:16 -04:00
Kubernetes Prow Robot
16f9fdc705
Merge pull request #128273 from benluddy/cbor-apply
...
KEP-4222: Support CBOR encoding for apply requests.
2024-10-30 17:25:25 +00:00
Ben Luddy
37ed906a33
Support application/apply-patch+cbor in patch requests.
2024-10-30 12:21:15 -04:00
dom4ha
ff584a76e0
Fix Unschedulable test by scheduling high priority churn pods to get processed right after they were injected (before the queued test pods)
2024-10-30 13:04:38 +00:00
Kubernetes Prow Robot
d001d5684e
Merge pull request #128417 from tenzen-y/self-nominate-job-controller-reviewer
...
Self nominate tenzen-y as a reviewer for the Job controller
2024-10-30 11:21:39 +00:00
Kubernetes Prow Robot
a18b50e7e4
Merge pull request #128373 from mimowo/job-cover-negative-codes
...
Job Pod Failure policy - cover testing of negative exit codes
2024-10-30 11:21:31 +00:00
Kubernetes Prow Robot
daef8c2419
Merge pull request #127266 from pohly/dra-admin-access-in-status
...
DRA API: AdminAccess in DeviceRequestAllocationResult + DRAAdminAccess feature gate
2024-10-30 03:41:25 +00:00
Yuki Iwai
eca7ee877a
Self nominate tenzen-y as a reviewer for the Job controller
...
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com >
2024-10-30 01:14:47 +09:00
Patrick Ohly
9a7e4ccab2
DRA admin access: add feature gate
...
The new DRAAdminAccess feature gate has the following effects:
- If disabled in the apiserver, the spec.devices.requests[*].adminAccess
field gets cleared. Same in the status. In both cases the scenario
that it was already set and a claim or claim template get updated
is special: in those cases, the field is not cleared.
Also, allocating a claim with admin access is allowed regardless of the
feature gate and the field is not cleared. In practice, the scheduler
will not do that.
- If disabled in the resource claim controller, creating ResourceClaims
with the field set gets rejected. This prevents running workloads
which depend on admin access.
- If disabled in the scheduler, claims with admin access don't get
allocated. The effect is the same.
The alternative would have been to ignore the fields in claim controller and
scheduler. This is bad because a monitoring workload then runs, blocking
resources that probably were meant for production workloads.
2024-10-29 09:50:11 +01:00
Ben Luddy
f831368428
Test response content negotiation with CBOR enablement.
2024-10-28 19:21:21 -04:00
Kubernetes Prow Robot
a15840a34b
Merge pull request #128348 from sanposhiho/patch-12
...
Fix: use pod-high-priority.yaml to trigger preemption in PreemptionAsync test case
2024-10-28 22:19:17 +00:00
Ben Luddy
67b9dc1f3e
Wire client feature gates affecting RESTClient content config.
2024-10-28 13:15:28 -04:00
Michal Wozniak
cad648035a
Job Pod Failure policy - cover testing of negative exit codes
2024-10-28 07:24:26 +01:00
Kensei Nakada
b5d0745db3
Fix: use pod-high-priority.yaml to trigger preemption in PreemptionAsync test case
2024-10-26 14:16:24 +09:00
Kubernetes Prow Robot
eb10b9b979
Merge pull request #128107 from alaypatel07/kep-4017-integration-tests
...
[KEP-4017]: update e2e and integration test for PodIndexLabel
2024-10-25 20:18:52 +01:00
Kubernetes Prow Robot
119f114f01
Merge pull request #128196 from richabanker/move-version
...
Move k8s.io/apiserver/pkg/util/version to component-base
2024-10-25 18:33:01 +01:00
Alay Patel
0aa065ab7e
update e2e and integration test for PodIndexLabel
...
Signed-off-by: Alay Patel <alayp@nvidia.com >
2024-10-25 12:17:19 -04:00
Richa Banker
9274a584b8
Split k8s.io/component-base/registry and add into k8s.io/component-base/version and k8s.io/component-base/featuregate
2024-10-24 19:09:30 -07:00
Kubernetes Prow Robot
5147eebf22
Merge pull request #128243 from benluddy/cbor-dynamic-integration
...
KEP-4222: Add CBOR variant of admission webhook integration test.
2024-10-25 01:04:53 +01:00
Kubernetes Prow Robot
b7a85a9db3
Merge pull request #128262 from dom4ha/scheduler-perf
...
Tune PreemptionAsync and Unschedulable tests threshold and params.
2024-10-24 21:24:52 +01:00
Ben Luddy
77401d7073
Add CBOR variant of admission webhook integration test.
...
The existing admission webhook integration test provides good coverage of serving built-in resources
and custom resources, including subresources. Serialization concerns, including roundtrippability,
of built-in types have existing test coverage; the CBOR variant of the admission webhook integration
test additionally exercises client and server codec wiring.
2024-10-24 13:27:39 -04:00
Ben Luddy
ea13190d8b
Add test-only client feature gates for CBOR.
...
As with the apiserver feature gate for CBOR as a serving and storage encoding, the client feature
gates for CBOR are being initially added through a test-only feature gate instance that is not wired
to environment variables or to command-line flags and is intended only to be enabled
programmatically from integration tests. The test-only instance will be removed as part of alpha
graduation and replaced by conventional client feature gating.
2024-10-24 13:27:39 -04:00
Ben Luddy
0cad1a89b6
Wire test-only feature gate for CBOR serving.
...
To mitigate the risk of introducing a new protocol, integration tests for CBOR will be written using
a test-only feature gate instance that is not wired to runtime options. On alpha graduation, the
test-only feature gate instance will be replaced by a normal feature gate in the existing apiserver
feature gate instance.
2024-10-24 13:27:36 -04:00
Aldo Culquicondor
5fab6175b7
Remove alculquicondor from job approvers
...
Change-Id: I2b1514ff70108602a589522cbb63dcdc88849313
2024-10-23 17:58:55 +00:00
dom4ha
b3c4fe48e9
Tune PreemptionAsync and Unschedulable tests threshold and params.
2024-10-23 12:24:10 +00:00
Kubernetes Prow Robot
061be57eb1
Merge pull request #125808 from bzsuni/cleanup/PollUntil
...
Use PollUntilContextCancel to replace PollUntil in test
2024-10-23 01:17:58 +01:00
Kubernetes Prow Robot
c326b0d2a3
Merge pull request #123818 from carlory/cleanup-deployment
...
remove stale comment
2024-10-23 01:17:37 +01:00
Richa Banker
81cd728c66
Move k8s.io/apiserver/pkg/util/version to component-base
2024-10-22 13:03:42 -07:00
Maciej Skoczeń
84e23fcc88
Add scheduler_perf test case for NodeUpdate event handling
2024-10-22 09:03:53 +00:00
Kubernetes Prow Robot
e39571591d
Merge pull request #127478 from googs1025/scheduler/fine-grained
...
feature(scheduler): more fine-grained QHints for podtopologyspread plugin
2024-10-20 13:29:03 +01:00
googs1025
1edbd0b54f
feature(scheduler): more fine-grained QHints for podtopologyspread plugin
2024-10-19 23:45:13 +08:00
Kubernetes Prow Robot
79cca2786e
Merge pull request #128172 from liggitt/3221-ga
...
KEP-3221: Promote StructuredAuthorizationConfiguration to GA
2024-10-18 20:21:09 +01:00
Kubernetes Prow Robot
7adcad3138
Merge pull request #128169 from liggitt/4193-ga
...
KEP-4193: Promote ServiceAccountTokenJTI, ServiceAccountTokenPodNodeInfo, ServiceAccountTokenNodeBindingValidation to stable
2024-10-18 17:39:11 +01:00
Kubernetes Prow Robot
d7bd728403
Merge pull request #128168 from liggitt/4601-beta
...
KEP-4601: AuthorizeNodeWithSelectors / AuthorizeWithSelectors to beta
2024-10-18 17:39:03 +01:00
Jordan Liggitt
ad808e609a
KEP-3221: Promote StructuredAuthorizationConfiguration to GA
2024-10-17 21:53:45 -04:00
Jordan Liggitt
0771f601e1
KEP-4193: Promote ServiceAccountTokenJTI, ServiceAccountTokenPodNodeInfo, ServiceAccountTokenNodeBindingValidation to stable
2024-10-17 21:25:09 -04:00
Kensei Nakada
83f9e4b6df
cleanup: remove event list
2024-10-18 11:10:10 +10:00
Jordan Liggitt
9caca73126
KEP-4601: AuthorizeNodeWithSelectors / AuthorizeWithSelectors to beta
2024-10-17 21:02:55 -04:00
Kubernetes Prow Robot
b1b4e5d397
Merge pull request #128003 from pohly/dra-classic-dra-removal
...
DRA: remove "classic DRA"
2024-10-18 00:55:17 +01:00
Kubernetes Prow Robot
48f36acc7a
Merge pull request #125337 from aojea/document_node_addresses
...
kubelet --node-ip flag using unspecified IPs and external cloud provider node addresses behavior
2024-10-18 00:55:03 +01:00
Kubernetes Prow Robot
632ed16e00
Merge pull request #128153 from dom4ha/sch
...
Add UnschedulableAsync test in scheduler_perf to monitor impact of unschedulable pods on scheduler performance
2024-10-17 19:27:30 +01:00
Robbie Cronin
cdbfbde4aa
Add ut coverage for capabilities.Setup ( #125395 )
...
* Add ut coverage for capabilities.Setup
* Update pkg/capabilities/capabilities_test.go
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com >
* Add ut coverage for capabilities.Setup
Signed-off-by: robert-cronin <robert.owen.cronin@gmail.com >
---------
Signed-off-by: robert-cronin <robert.owen.cronin@gmail.com >
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com >
2024-10-17 18:23:03 +01:00
dom4ha
b7f55a37a0
Bring back the smallest integration test
2024-10-17 15:41:36 +00:00
dom4ha
59458573ff
Remove unschedulable test and replace it with the new one.
2024-10-17 15:41:21 +00:00
dom4ha
f2c947e36d
Add UnschedulableAsync test in scheduler_perf to monitor impact of unschedulable pods on scheduler throughput
2024-10-17 15:35:21 +00:00
dom4ha
b2b41444f2
Add PreemptionBlocking test in scheduler_perf to monitor how long the preemption process (which blocks scheduling of regular nodes) takes.
2024-10-17 09:58:32 +00:00