Commit Graph

135835 Commits

Author SHA1 Message Date
Chandan Maurya
e54eef10d1 Use localhost image reference in PodObservedGenerationTracking test
The test uses an invalid image to induce a pull error. The previous image
name 'some-image-that-doesnt-exist' causes slow DNS/registry resolution
on some environments (especially metal), leading to 30s timeouts.

Using 'localhost/some-image-that-does-not-exist' makes the pull fail
instantly since there is no registry on localhost, avoiding flaky
timeouts.
2026-02-26 10:04:00 +05:30
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
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
Dan Winship
aee4ca0ee8 Fix the pod startup timeout in the NoSNAT test
It was using a hardcoded timeout of 1 minute, as opposed to
framework.PodStartTimeout, which is 5 minutes, which is likely the
cause of some recent flakes.

Also, use a helper function.
2026-02-24 17:32:27 -05:00
Kubernetes Prow Robot
6457593fdf Merge pull request #136215 from darthsuburbus/dec-validation-ipaddress
ipaddress: migrate parentref validation to DV
2026-02-25 03:05:35 +05:30
Your Name
95a17bf288 Promote multiple validation-gen tags to beta
This commit promotes the following validation-gen tags from alpha to beta:
- customUnique
- eachKey
- ifDisabled
- ifEnabled
- immutable
- unique
- update
2026-02-24 20:40:39 +00:00
Kubernetes Prow Robot
862b0673c2 Merge pull request #136959 from natasha41575/allocated_status_cleanup
remove the InPlacePodVerticalScalingAllocatedStatus feature gate
2026-02-25 00:47:35 +05:30
Your Name
3b5298f0a4 Fix resource claim DV 2026-02-24 18:36:47 +00:00
Your Name
12a6d300c6 Change strategy.go utils to mark handwritten validation errors properly 2026-02-24 18:33:14 +00:00
Your Name
b8bd945f3e Add logic to match errors according to the error origination 2026-02-24 18:33:13 +00:00
Kubernetes Prow Robot
0d151519f4 Merge pull request #137225 from joshjms/bump-etcd-sdk-v3.6.8
Bump etcd sdk v3.6.8
2026-02-24 23:43:43 +05:30
Kubernetes Prow Robot
0ef4f38784 Merge pull request #136900 from itzPranshul/rbac-optionalorrequired
KAL:enforce `optionalorrequired` on rbac API group
2026-02-24 23:43:34 +05:30
Ondra Kupka
a34456319d controller/selinuxwarning: Pre-parse SELinux label
When calling ControllerSELinuxTranslator.Conflicts(), the SELinux label
is repeatedly split into []string to detect conflicts. This causes a huge
number of allocations when there are many comparisons.

This is now made more efficient by pre-parsing the SELinux label and
storing it in podInfo as [4]string for fast comparison when needed.
2026-02-24 18:08:36 +01:00
Kubernetes Prow Robot
33c0645126 Merge pull request #137211 from lalitc375/cleanup
Move storageversionhashdata variables to instance_test.go
2026-02-24 21:59:37 +05:30
joshjms
9c00b4c1f5 etcd: bump etcd sdk to v3.6.8
Signed-off-by: joshjms <joshjms1607@gmail.com>
2026-02-25 00:17:17 +08:00
Kubernetes Prow Robot
5da88b908c Merge pull request #134081 from sxllwx/try-to-fix-133656
chore(sample-controller): use reigster-gen
2026-02-24 21:07:39 +05:30
wangxiang
0bdee7624f Regenerate openapi for sample-controller 2026-02-24 16:19:10 +08:00