Commit Graph

135816 Commits

Author SHA1 Message Date
Michael Aspinwall
f18f0df7fe Add the ability for the replicaset controller to read its own writes 2026-02-25 17:15:53 +00:00
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
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
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
Michael Aspinwall
61d0dd30fb Add the ability for the job controller to read its own writes 2026-02-25 01:19:48 +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
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
Kubernetes Prow Robot
ea70974a08 Merge pull request #137098 from yuanwang04/fix-container-swap-metrics
Fix container swap metrics
2026-02-24 12:57:36 +05:30
Kubernetes Prow Robot
4179ebc3d6 Merge pull request #136822 from itzPranshul/storage-class
Validationo-gen: Migrate handwritten validation to declarative validation in StorageClass
2026-02-24 11:05:34 +05:30
pranshul gupta
c58755863c applying feedback 2026-02-24 09:49:11 +05:30
wangxiang
712a8d1fe2 Remove unused register.go 2026-02-24 09:25:16 +08:00
wangxiang
6581867156 chore(sample-controller): generate zz_generated.register.go 2026-02-24 09:25:16 +08:00
Your Name
dc4b3beeb0 Move storageversionhashdata variables to instance_test.go
This addresses a PR review comment to clean up storageversionhashdata which is only used in tests by moving its contents directly into the test file where they are used and making them private.
2026-02-23 22:20:44 +00:00
Kubernetes Prow Robot
85e4e386d4 Merge pull request #137171 from liggitt/component-helpers-deps
Clean up direct external dependencies from component-helpers
2026-02-24 02:23:35 +05:30
Kubernetes Prow Robot
60433d43cf Merge pull request #137200 from tosi3k/was-wap-feature-gate
KEP-5710: Add WorkloadAwarePreemption feature gate
2026-02-23 20:59:44 +05:30
Kubernetes Prow Robot
3bc0b290e9 Merge pull request #136937 from p0lyn0mial/upstream-reflector-list-unsupported-table
client-go/reflector: reject Table format resources in List and Watch paths
2026-02-23 20:59:36 +05:30
Kubernetes Prow Robot
dd63fd859c Merge pull request #137139 from Argh4k/137125-hotfix
Pass pod from cache to updatePod in handleSchedulingFailure
2026-02-23 19:27:36 +05:30
Antoni Zawodny
ee5f014e51 KEP-5710: Add WorkloadAwarePreemption feature gate 2026-02-23 14:05:27 +01:00
Kubernetes Prow Robot
21d8cca01d Merge pull request #136923 from jpbetz/mock-limitations-docs
Explain limitations and maintenance policy of fake client
2026-02-23 15:13:34 +05:30
Kubernetes Prow Robot
0cf70d138e Merge pull request #137194 from macsko/fix_nil_pointer_dereference_in_submit
Fix nil pointer dereference in submitPodGroupAlgorithmResult
2026-02-23 14:25:33 +05:30
Maciej Skoczeń
1a1d4f60a8 Fix nil pointer dereference in submitPodGroupAlgorithmResult 2026-02-23 08:03:41 +00:00
Kubernetes Prow Robot
c05d4b30ff Merge pull request #137191 from everpeace/dra-allocator-channel-fix
DRA: Make Allocators.Channel() consistent with thier consistency levels
2026-02-23 12:24:59 +05:30
Shingo Omura
aa118a464f Make Allocators.Channel() consistent with thier consistency level 2026-02-23 09:05:24 +09:00
Abhishek Srivastava
ed083ab6b7 add declarative validation tests for ipaddress 2026-02-22 06:53:56 -08:00