Commit Graph

135851 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
7d70fe491d Merge pull request #135775 from bitoku/no-noexec
Update OCI image volume type description to remove "noexec" attribute
2026-02-27 01:07:56 +05:30
Ayato Tokubi
aa1e24659e Update OCI image volume type description to remove "noexec" attribute
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2026-02-26 18:32:40 +00:00
Kubernetes Prow Robot
0a68f98494 Merge pull request #137261 from tchap/kcm-le-check-context-canceled
client-go/leaderelection: Short-circuit on context canceled
2026-02-26 23:50:35 +05:30
Kubernetes Prow Robot
20c59228e2 Merge pull request #137136 from kfess/bugfix/container-restart-policy-err-message
fix ContainerRestartRules error message
2026-02-26 23:50:26 +05:30
Kubernetes Release Robot
9d685325ed CHANGELOG: Update directory for v1.36.0-alpha.2 release 2026-02-26 14:31:40 +00:00
Kubernetes Prow Robot
26a82cd894 Merge pull request #136173 from Phaow/add-vgs-tests
test: add vgs retain policy test
2026-02-26 19:12:24 +05:30
Ondra Kupka
aa494f8174 client-go/leaderelection: Check context canceled
The change introduced in 59cd1d0b3b
causes PollUntilContextTimeout to call the condition function even when
the context is canceled already. This is unnecessary in our case and
only leads to one extra loop of processing and extra error messages.
This change makes the renew loop behave like it did before the change.
2026-02-26 12:06:37 +01:00
Kubernetes Prow Robot
f60990d3f9 Merge pull request #136459 from Karthik-K-N/refactor
Refactor NewTestContext to return Context instead of TContext
2026-02-26 14:56:25 +05:30
Kubernetes Prow Robot
a04516e8ce Merge pull request #137255 from pohly/ktesting-contexthelper-test-fix
Ktesting: contexthelper panic + test fix
v1.36.0-alpha.2
2026-02-26 14:04:26 +05:30
Patrick Ohly
620c1b6305 ktesting: fix potential unit test flake
I've not been able to trigger the flake, but it could happen:
- time.Sleep unblocks some background goroutines inside the synctest bubble.
- Those goroutines do not actually run yet.
- The main test checks for the result of those goroutines.

Adding a `synctest.Wait` ensures that all background processing is complete
because it waits for all goroutines to be durably blocked.
2026-02-26 08:45:35 +01:00
Patrick Ohly
8a2d153817 ktesting: fix potential log panic
If the goroutine happens to log after the test has already terminated,
testing.T.Log panics. We must ensure that the goroutine has stopped before
allowing the test to terminate.
2026-02-26 08:44:18 +01:00
Kubernetes Prow Robot
0d156f1eab Merge pull request #137251 from pacoxu/etcd-learner-bugfix
kubeadm: do not add learner member to etcd client endpoints
2026-02-26 13:06:24 +05:30
Karthik Bhat
43bfd8615d Refactor NewTestContext to return Context instead of TContext 2026-02-26 11:27:26 +05:30
Paco Xu
a542dc586a kubeadm: do not add learner member to etcd client endpoints 2026-02-26 10:36:38 +08:00
Kubernetes Prow Robot
761638907a Merge pull request #137120 from lalitc375/lint-shadow
Enable validation-gen lint rule
2026-02-26 05:16:29 +05:30
Kubernetes Prow Robot
1ec27767f3 Merge pull request #136758 from harche/shareid_test
KEP-4680: Add tests to validate ShareID does not interfere with DRA Resource Health Status
2026-02-26 05:16:22 +05:30
Kubernetes Prow Robot
070823cce0 Merge pull request #137065 from richabanker/mvp-metrics2
Add more metrics for Mixed Version Proxy
2026-02-26 01:58:29 +05:30
Kubernetes Prow Robot
7ad86d14df Merge pull request #137243 from michaelasp/fixJobClear
Fix clearing job consistency store for all deletes
2026-02-26 01:12:23 +05:30
Kubernetes Prow Robot
9902413429 Merge pull request #137212 from michaelasp/consistentReplicaSetController
Add the ability for the replicaset controller to read its own writes
2026-02-25 23:32:23 +05:30
Lalit Chauhan
a11feac678 validation-gen: Fix missing MarkAlpha/MarkBeta for nested validation tags
The validation code generator was failing to propagate the
StabilityLevel from the parent context when evaluating composite tags
like `+k8s:item`, `+k8s:each`, and `+k8s:subfield`. As a result, inner
validations like `+k8s:zeroOrOneOfMember` combined with `+k8s:alpha`
were not emitting `.MarkAlpha()` in the generated code.

This fix ensures the `StabilityLevel` is copied to the `subContext`
during evaluation, and adds a test case for list items using
`+k8s:alpha=+k8s:item(...)=+k8s:zeroOrOneOfMember`.

Generated code is updated accordingly.
2026-02-25 17:48:09 +00:00
Michael Aspinwall
f18f0df7fe Add the ability for the replicaset controller to read its own writes 2026-02-25 17:15:53 +00:00
Michael Aspinwall
008b92e0f6 Fix clearing job consistency store for all deletes 2026-02-25 17:13:50 +00:00
Kubernetes Prow Robot
b56d289e2a Merge pull request #137029 from ermias19/enable-kal-optionalorrequied-admission_
api: enable optionalorrequired for admission API group
2026-02-25 22:14:23 +05:30
Kubernetes Prow Robot
c6d1649721 Merge pull request #137226 from tchap/selinuxwarning-reverse-index
controller/selinuxwarning/cache: Add reverse index to speed up DeletePod
2026-02-25 21:16:34 +05:30
Kubernetes Prow Robot
c4a9bea090 Merge pull request #137162 from aojea/component_helpers
update component-helpers policies for dependencies
2026-02-25 21:16:25 +05:30
Penghao
d7cc386716 fix: refine cleanup logic
Signed-off-by: Penghao <pewang@redhat.com>
2026-02-25 22:16:00 +08:00
Kubernetes Prow Robot
691a44c3b5 Merge pull request #137119 from danwinship/dual-stack-tests
dual stack test fixups
2026-02-25 19:43:47 +05:30
Antonio Ojea
620d7f352f update component-helpers policies for dependencies 2026-02-25 12:27:23 +00:00
Kubernetes Prow Robot
1ffd8238fd Merge pull request #136980 from Argh4k/scheduler-perf-refactor
Add new template functions to scheduler_perf
2026-02-25 17:31:43 +05:30
Kubernetes Prow Robot
9f65538a35 Merge pull request #137224 from tchap/conflicts-parsed
controller/selinuxwarning: Pre-parse SELinux label
2026-02-25 16:27:50 +05:30
Ondra Kupka
911a61d050 controller/selinuxwarning/cache: Add reverse index
Added podToVolumes reverse index to optimize DeletePod.
Currently we simply iterate through all the volumes and remove the pod
being deleted from there. This is inefficient and takes longer the
longer the volume list becomes.

Keeping a map pod -> volumes makes removing a pod fast. We can just jump
to the relevant volumes directly and remove the pod from there.
2026-02-25 11:38:50 +01:00
ermias19
dfba43ef6f make update swagger 2026-02-25 11:17:09 +01:00
Maciej Wyrzuc
ee5e2b1ec1 Extract tCtx and collectorCtx from executor 2026-02-25 10:16:50 +00:00
Maciej Wyrzuc
e123d5caf1 Separate operations and executor in scheduler_perf directory 2026-02-25 10:16:49 +00:00
Maciej Wyrzuc
fa36069c7f Extend template functions supported in scheduler perf 2026-02-25 10:16:49 +00:00
ermias19
0678b48e88 narrowing the lint through adding admissionregistration. 2026-02-25 10:29:28 +01:00
Kubernetes Prow Robot
158364332a Merge pull request #137235 from danwinship/no-snat-timeout
Fix the pod startup timeout in the NoSNAT test
2026-02-25 12:53:41 +05:30
Kubernetes Prow Robot
7b7c291631 Merge pull request #137210 from michaelasp/consistentJobController
Add the ability for the job controller to read its own writes
2026-02-25 07:51:34 +05:30
ermias19
40173a2774 admission: mark review fields optional 2026-02-25 02:52:48 +01:00
Michael Aspinwall
61d0dd30fb Add the ability for the job controller to read its own writes 2026-02-25 01:19:48 +00:00
Your Name
701db6b6a6 validation-gen: Fix all stable api violations by prefixing +k8s:alpha(since:"1.36") and exclude output_tests from linting 2026-02-25 00:50:31 +00:00
Kubernetes Prow Robot
5de6619c4f Merge pull request #137157 from bsalamat/master
Allow kube-apiserver to recover from an accidentally made connection to a wrong server
2026-02-25 06:05:50 +05:30
Kubernetes Prow Robot
31d35e6490 Merge pull request #129339 from pohly/log-client-go-features
client-go features: ignore contextual logging
2026-02-25 06:05:37 +05:30
Your Name
d1f11ee860 validation-gen: remove manual lint tracking and unused flags
* Introduce a new mechansim to skip linter for a pkg.
* skip linting for the test pkgs.
2026-02-25 00:06:20 +00:00
Your Name
7d08854616 Fix lint errors 2026-02-25 00:06:19 +00:00
Your Name
6910980aad Enforce lint before generating the validation code 2026-02-25 00:06:19 +00:00
Your Name
826978bf81 Add lint rules to enforce optional required, stability and alpha/beta prefix. 2026-02-25 00:06:19 +00:00
Kubernetes Prow Robot
25993ba58b Merge pull request #137233 from lalitc375/tags-graduation
Promote multiple validation-gen tags to beta
2026-02-25 05:03:40 +05:30
Kubernetes Prow Robot
87257b7e44 Merge pull request #136630 from lalitc375/dv-testing-utils
validation: add FromImperative field to track source of validation errors
2026-02-25 05:03:33 +05:30
Babak Salamat
39560700da 1. Optionally Enforce TLS Validation: modified the created
http.Transport to configure CAData. The `Insecure` field is now
conditionally set using apiService spec.

2. Invalidate Bad Connections: when the availability check receives an
unexpected response from the configured endpoints, a timeout, or network
dial/reachability error, the controller now forces the cached
connections inside the HTTP transport to be dropped. This avoids
scenarios where a connection is reused when moving or recreating pods
behind a node but without reaching kube-proxy properly.

3. Tests Added: Added tests to assert the overall flow behaves normally
and expectedly for such situations as we now close connections.
2026-02-24 22:41:51 +00:00