Commit Graph

129344 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
67bdb110b4
Merge pull request #130121 from yongruilin/featuregate-unversion-clean
[compatibility version] clean using unversioned featuregate
2025-03-19 14:34:30 -07:00
vinay kulkarni
7fe7754e67 Fix unit test, remove wait after resize 2025-03-19 21:27:32 +00:00
Siyuan Zhang
0ec6566c68 chore: update emulation version help msg.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-03-19 13:07:19 -07:00
yongruilin
a2c739f3d5 chore: [e2e/framework] Updates test feature gates to versioned feature gates 2025-03-19 20:02:55 +00:00
yongruilin
7b5cbbb961 chore: Remove unused unversioned feature gate map by consolidating feature gate files 2025-03-19 20:02:53 +00:00
Kubernetes Prow Robot
664d405816
Merge pull request #130876 from rzlink/feature
[KEP-5100] WinDSR to Beta
2025-03-19 13:00:55 -07:00
Kubernetes Prow Robot
68ba091fca
Merge pull request #130844 from danwinship/improved-traffic-distribution
KEP-3015 PreferSameZone/PreferSameNode traffic distribution
2025-03-19 13:00:48 -07:00
Kubernetes Prow Robot
5c4071cc1d
Merge pull request #130649 from natasha41575/pod-conditions-scheduler
[FG:PodObservedGenerationTracking] scheduler sets observedGeneration on pod conditions
2025-03-19 13:00:40 -07:00
Kubernetes Prow Robot
ab3cec0701
Merge pull request #130447 from pohly/dra-device-taints
device taints and tolerations (KEP 5055)
2025-03-19 13:00:32 -07:00
Sascha Grunert
d7ed3f1c9b
Add image volume subpath e2e tests
Adding new test cases for subpath handling for image volumes.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-03-19 20:15:32 +01:00
vinay kulkarni
7f4b9a52db Consider memory requests in determining if resize is in progress, set termination grace period to 0 2025-03-19 19:11:21 +00:00
Kubernetes Prow Robot
1039822a74
Merge pull request #130491 from swatisehgal/cpu-allocation-numa-spread-metric
Add metrics to capture CPU allocation spread across NUMA nodes
2025-03-19 11:52:40 -07:00
Kubernetes Prow Robot
076c7b0b65
Merge pull request #130079 from yongruilin/compatibility-remove-reset
[compatibility version] Avoid resetting config when adding flags
2025-03-19 11:52:33 -07:00
Sean Sullivan
f73945aae5 Websocket HTTPS proxy support 2025-03-19 18:51:09 +00:00
Swati Sehgal
ba09a97341 node: cpu-mgr: Graduation of distribute-cpus-across-numa to Beta
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 18:36:01 +00:00
Kubernetes Prow Robot
f9b27edf39
Merge pull request #130925 from serathius/watchcache-snapshotter-interface
Create Snapshotter interface to fake the implementation
2025-03-19 10:19:38 -07:00
Kubernetes Prow Robot
593906d607
Merge pull request #130924 from serathius/watchcache-delegate-precedense
Change precedence order for continue and legacy exact match
2025-03-19 10:19:30 -07:00
Kubernetes Prow Robot
32260dfa7b
Merge pull request #130922 from serathius/watchcache-delegate-state
Extend shouldDelegateList testing incorportating state of cacher
2025-03-19 10:19:23 -07:00
Kubernetes Prow Robot
e5558a81c9
Merge pull request #130899 from serathius/watchcache-error
Implement watchcache returning error from etcd that caused cache reinitialization
2025-03-19 10:19:13 -07:00
Kubernetes Prow Robot
fba63656c9
Merge pull request #130498 from swatisehgal/distribute-across-numa-e2e-tests
node: cpumgr: e2e: Tests for `distribute-cpus-across-numa` policy option
2025-03-19 10:19:06 -07:00
Kubernetes Prow Robot
dc6f70c12d
Merge pull request #130290 from nokia/4540-strict-cpu-reservation-beta
KEP-4540: strict-cpu-reservation beta
2025-03-19 10:18:58 -07:00
Kubernetes Prow Robot
2b79593ece
Merge pull request #130225 from ritazh/dra-admin-access-namespace
DRA: AdminAccess validate based on namespace label
2025-03-19 10:18:50 -07:00
Kubernetes Prow Robot
990b02bf39
Merge pull request #130033 from ardaguclu/completion-use-restclientgetter
Add completion in kubectl debug
2025-03-19 10:18:40 -07:00
Kubernetes Prow Robot
4467dd3d6c
Merge pull request #130028 from AkihiroSuda/subids-per-pod
kubelet: config: add userNamespaces.idsPerPod
2025-03-19 10:18:33 -07:00
yongruilin
dab8758a59 chore: avoid resetting config of emulation verison and featuregates when adding flags
This change introduces improvements to the component compatibility registry:
- Modify the kube-scheduler test server to create a separate ComponentGlobalsRegistry
- Update the compatibility registry to handle multiple flag configurations
- Enhance test cases to support emulation version mapping between components
2025-03-19 16:31:13 +00:00
Kubernetes Prow Robot
f1c634f93e
Merge pull request #130463 from sanposhiho/ga-mlk
feat: graduate MatchLabelKeysInPodAffinity to GA
2025-03-19 09:06:31 -07:00
Jon Huhn
7d74a504ca Remove unused VAP for DRA admin access e2e test 2025-03-19 11:02:56 -05:00
Natasha Sarkar
1889e0cad6 scheduler sets observedGeneration in pod conditions 2025-03-19 15:45:41 +00:00
vinay kulkarni
951e33fdf9 Fix gofmt issues 2025-03-19 15:13:44 +00:00
Kensei Nakada
10c6a4258f feat: graduate MatchLabelKeysInPodAffinity to GA 2025-03-19 23:06:04 +09:00
vinay kulkarni
917c4b310b Fix lint issues, use kuberuntime's minGracePeriod const, boost container restart wait period 2025-03-19 13:26:01 +00:00
Swati Sehgal
327ebcffc8 node: cpumgr: e2e: Define constants and use them instead of literals
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:19:20 +00:00
Swati Sehgal
c90f0539c8 node: cpumgr: e2e: Tests for distribute-cpus-across-numa policy option
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:19:03 +00:00
Swati Sehgal
b6a3ac47de node: cpumgr: e2e: tests for NUMA allocation spread metrics
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-03-19 13:13:56 +00:00
Marek Siarkowicz
3edeb60c08 Create Snapshotter interface to fake the implementation 2025-03-19 14:08:21 +01:00
Marek Siarkowicz
7da942ca74 Change precedence order for continue and legacy exact match
This doesn't matter for shouldDelegateList, but matters when picking
source of RV. RV from continue takes precedence.
2025-03-19 14:06:34 +01:00
Maciej Skoczeń
e367dca6c5 Change backoffQ less function to order pods by priority in windows 2025-03-19 13:04:15 +00:00
Dan Winship
88f8e6697d Implement PreferSameNode traffic distribution in kube-proxy 2025-03-19 08:46:17 -04:00
Dan Winship
c85083589c Clarify hostname vs node name in kube-proxy
Various parts of kube-proxy passed around a "hostname", but it is
actually the name of the *node* kube-proxy is running on, which is not
100% guaranteed to be exactly the same as the hostname. Rename it
everywhere to make it clearer that (a) it is definitely safe to use
that name to refer to the Node, (b) it is not necessarily safe to use
that name with DNS, etc.
2025-03-19 08:46:15 -04:00
Dan Winship
ff640c3679 Minor updates to kube-proxy topology code
Clarify the comments around terminating endpoints.

Remove stale references to the ProxyTerminatingEndpoints feature gate
in the unit tests.
2025-03-19 08:39:13 -04:00
Dan Winship
19952a2b7b Implement the EndpointSlice controller side of PreferSameZone/PreferSameNode 2025-03-19 08:39:13 -04:00
Dan Winship
90c8f9aef1 Don't write out dummy zone hints in clusters with no zones
If you set `trafficDistribution: PreferClose` on a service in a
cluster with no defined zones, then it would add

  hints:
    forZones:
    - name: ""

to each endpoint. This ended up working anyway since kube-proxy would
likewise end up looking for an endpoint for the "" zone, but it's
unnecessary, since you'd get exactly the same behavior by just leaving
all of the endpoints unhinted. (Of course there's no point in using
PreferClose traffic distribution in this case, but this will make
PreferSameNode cleaner.)
2025-03-19 08:39:13 -04:00
Dan Winship
413af836b3 Minor updates to traffic distribution unit tests
Merge TestReconcileHints_trafficDistribution_is_PreferClose and
TestReconcileHints_trafficDistribution_is_nil_or_empty together.
Change the `trafficDistribution: ""` test to `trafficDistribution:
Unknown`, since `""` is not actually a possible value (but we should
still test that unknown values are ignored, to prevent weird skew
bugs).

Fill in the NodeName field in the endpoints. It's not needed yet but
it will be.
2025-03-19 08:39:13 -04:00
Dan Winship
af3584778e update generate docs for PreferSameTrafficDistribution 2025-03-19 08:39:13 -04:00
Dan Winship
4435ead24a Add PreferSameTrafficDistribution feature gate and associated API. 2025-03-19 08:39:13 -04:00
Dan Winship
6ca82f9c16 Update the use of sets in EndpointSlice validation
Don't use sets for validating port name and zone hint uniqueness,
since constructing a new set each time is likely to be less efficient
than just doing a linear search.

Keep the sets for supportedAddressTypes and supportedPortProtocols
(since they're only constructed once) but switch to the generic set
API.
2025-03-19 08:39:13 -04:00
Marek Siarkowicz
929a9c0cad Extend shouldDelegateList testing incorportating state of cacher 2025-03-19 12:40:33 +01:00
Kubernetes Prow Robot
73f54b67b2
Merge pull request #130816 from macsko/move_scheduler_perf_topology_spreading_tests_to_separate_package
Move scheduler_perf topology spreading tests to a separate package
2025-03-19 02:00:37 -07:00
Akihiro Suda
09fdae408f
pkg/kubelet/userns: add idsPerPod tests
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-19 17:26:11 +09:00
Akihiro Suda
1592bfa4a8
kubelet: config: add userNamespaces.idsPerPod
IDsPerPod is the mapping length of subids for UserNS.
The length must be multiple of 65536.
Default: 65536

Implements kubernetes/enhancements PR 5020 (addendum to KEP-127)

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-03-19 17:26:11 +09:00