Commit Graph

5245 Commits

Author SHA1 Message Date
Jefftree
92cc680c8a Fix SelfSubjectReview test to decouple beta and GA types from the same apiserver 2025-02-20 19:32:16 +00:00
Kubernetes Prow Robot
1e38c86893 Merge pull request #129996 from yongruilin/fix-flag-apiserver
fix: apiserver flagz to response actual parsed flags
2025-02-16 13:56:23 -08:00
Kubernetes Prow Robot
8dbc6739e0 Merge pull request #130151 from marosset/windows-unit-tests-externaljwt-plugin-fixes
fixing k8s.io/kubernetes/pkg/serviceaccount/externaljwt/plugin unit tests on Windows
2025-02-14 13:44:20 -08:00
Michal Wozniak
f5e86dfea6 Deflake the PodReplacementPolicyFeatureToggling Job integration test 2025-02-14 12:32:51 +01:00
Mark Rossetti
5e6611af55 fixing various unit tests on Windows that create abstract sockets
by now having them create file-based sockets on windows/darwin

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-13 15:41:33 -08:00
Kubernetes Prow Robot
f38fca82dc Merge pull request #130024 from sivchari/propagate-context
Propagate cotnext to avoid goroutine leak
2025-02-12 15:16:19 -08:00
Michal Wozniak
fff9914158 Fix the flaky Job test: TestSuccessPolicy_ReEnabling 2025-02-10 14:42:33 +01:00
Yusuke Sakurai
5d278c138c fix labelvalues for scheduler-perf 2025-02-10 10:00:52 +09:00
yongruilin
b1d72a5b7c test: Add emulated-version flag verification in flagz test 2025-02-07 22:18:36 -08:00
sivchari
03b59d8eef propagate context
Signed-off-by: sivchari <shibuuuu5@gmail.com>
2025-02-07 15:47:14 +09:00
Kubernetes Prow Robot
7b38ff48af Merge pull request #129993 from aramase/aramase/i/fix_129935
Fix service account node audience restriction for in-tree pv to csi migration
2025-02-06 14:39:55 -08:00
Anish Ramasekar
62809dd0de node audience restriction: use csi translator to convert intree inline_vol/pv to csi
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-02-06 13:17:16 -06:00
Siyuan Zhang
8fc3a33454 Refactor compatibility version code
Replace DefaultComponentGlobalsRegistry with new instance of componentGlobalsRegistry in test api server.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move kube effective version validation out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move DefaultComponentGlobalsRegistry out of component base.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

move ComponentGlobalsRegistry out of featuregate pkg.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

remove usage of DefaultComponentGlobalsRegistry in test files.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change non-test DefaultKubeEffectiveVersion to use DefaultBuildEffectiveVersion.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Restore useDefaultBuildBinaryVersion in effective version.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

rename DefaultKubeEffectiveVersion to DefaultKubeEffectiveVersionForTest.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

pass options.ComponentGlobalsRegistry into config for controller manager and scheduler.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Pass apiserver effective version to DefaultResourceEncodingConfig.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

change statusz registry to take effective version from the components.

Signed-off-by: Siyuan Zhang <sizhang@google.com>

Address review comments

Signed-off-by: Siyuan Zhang <sizhang@google.com>

update vendor

Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-02-05 16:10:53 -08:00
Kubernetes Prow Robot
22f25efc2c Merge pull request #128991 from Henrywu573/cm-statuz
Add statusz endpoint for kube-controller-manager
2025-02-05 15:54:15 -08:00
Henry(Qishan) Wu
8bd4e1bab2 Update test/integration/serving/serving_test.go
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2025-02-05 09:48:08 -08:00
Kubernetes Prow Robot
c7489b20f2 Merge pull request #129750 from googs1025/scheduler/add_integration_for_queuesortplugin
feature: add scheduler queuesort plugins integration test
2025-02-05 03:08:17 -08:00
Kubernetes Prow Robot
fab0d76574 Merge pull request #129731 from gjkim42/promote-sidecar-containers-to-ga
Promote SidecarContainers feature to GA
2025-02-04 16:22:58 -08:00
Kubernetes Prow Robot
82e3a671e7 Merge pull request #129920 from googs1025/feature/integration_scoring
feature: Added score integration tests for missing part plugins: TaintToleration plugin
2025-02-03 08:46:57 -08:00
googs1025
5281152f07 feature: Added score integration tests for missing part plugins: TaintToleration plugin 2025-02-03 21:20:00 +08:00
Patrick Ohly
e2ff03486d scheduler_perf: add thresholds to DRA test cases
They were enabled yesterday and executed seven times, with results that (so
far) seem to be fairly stable with just one run that was slower across the
board.

The links in the YAML can be used to navigate to each test case quickly. The
thresholds were chose with a 20% security margin below what seems to be a
common result.
2025-02-03 13:10:10 +01:00
Gunju Kim
0bee0bcaa7 Promote SidecarContainers feature to GA 2025-02-02 17:45:36 +09:00
Michal Wozniak
0d5d714c2a Fix the remaining flaky integration tests in Job controller 2025-01-30 18:20:34 +01:00
Kubernetes Prow Robot
59f3aa1e34 Merge pull request #129894 from mimowo/fix-flaky-job-controller-test
Fix the flaky Job integration tests
2025-01-30 08:49:30 -08:00
Kubernetes Prow Robot
209538059e Merge pull request #129885 from macsko/default_topology_spreading_scheduler_perf_test_case
Add scheduler_perf test case for default PodTopologySpreading constraints
2025-01-30 05:05:32 -08:00
Kubernetes Prow Robot
0e7298d54d Merge pull request #129807 from pjsharath28/pass-context-to-tests
Pass context for Wait methods in integration test utils
2025-01-30 05:05:25 -08:00
Kubernetes Prow Robot
07cc2308c6 Merge pull request #128836 from pohly/dra-scheduler-perf-enablement
DRA: enable performance tracking with scheduler_perf
2025-01-30 03:07:23 -08:00
Maciej Skoczeń
274ad0391f Add scheduler_perf test case for default PodTopologySpreading constraints 2025-01-30 08:55:24 +00:00
Michal Wozniak
8f11a3b367 WIP: fix the flaky Job integration tests 2025-01-29 20:23:50 +01:00
googs1025
8c80d384b2 feature: add scheduler queuesort plugins integration test 2025-01-29 08:54:43 +08:00
Maciej Szulik
509bbed098 Add a test ensuring all /scale sub-resources return table
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-28 16:54:02 +01:00
Sharath P J
44ca3b3654 Passed context for Wait methods in integration test utils 2025-01-27 09:48:36 +05:30
Antonio Ojea
d3e8572d70 cluster ip allocator should check first on the legacy allocators
Kubernetes clusters allow to define an IPv6 range of /108 for IPv6
despite the old allocators will only use the first /112 of that range.

The new allocators does not have this limitation, so they can allocate
IPs on the whole space, the problem happens on upgrades from clusters
that were already using this size, since the new allocators by default
will try to allocate addresses that works for both new and old allocatos
to allow safe upgrades.

The new allocators, when configured to keep compatibility with the old
allocators, must try first to allocate an IP that is compatible with the
old allocators and only fall back to the new behavior if it is not
possible.
2025-01-24 15:48:52 +00:00
Sharath P J
627e83c841 Passed context for Wait methods in integration test utils 2025-01-24 19:48:23 +05:30
Filip Křepinský
e263b878ee Deployment controller should count terminating pods in the status 2025-01-23 22:37:05 +01:00
Filip Křepinský
dc1914c61c ReplicaSet controller should count terminating pods in the status 2025-01-23 22:26:34 +01:00
dom4ha
f150016fbe feature: Make Unschedulable scheduler performance test parametrized with the number of initial nodes. 2025-01-23 00:48:02 +00:00
Kubernetes Prow Robot
a444a5bfed Merge pull request #129732 from dims/switch-to-v2.6.3-of-gopkg.in/go-jose/go-jose.v2
Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3 and github.com/coreos/go-oidc @ v2.3.0
2025-01-22 13:40:38 -08:00
Davanum Srinivas
c9e81cd84c Switch to gopkg.in/go-jose/go-jose.v2 @ v2.6.3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-01-21 09:21:27 -05:00
Antonio Ojea
09c82fc58a integration etcd storage test 2025-01-20 13:26:49 +00:00
Antonio Ojea
779b9cf90c update integration test 2025-01-20 13:01:53 +00:00
utam0k
e1fdced21f Put the target plugin names in the Qhint integration test cases
Signed-off-by: utam0k <k0ma@utam0k.jp>
2025-01-19 21:55:11 +09:00
Jefftree
936f249fa0 Add introduced and removed version information in etcd fixtures 2025-01-14 21:30:57 +00:00
Jordan Liggitt
59850b5823 Promote ServiceAccountTokenNodeBinding to GA 2025-01-14 09:48:35 -05:00
Kubernetes Prow Robot
d8d3691280 Merge pull request #129360 from utam0k/scheduler-profile-test-enqueue
Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
2024-12-31 15:00:13 +01:00
utam0k
5aa4dd4a6e Make it possible to pass a scheduler profile to RuntTestCoreResourceEnqueue
Signed-off-by: utam0k <k0ma@utam0k.jp>
2024-12-31 21:47:06 +09:00
Jefftree
59fcd7b770 fix metrics test 2024-12-20 19:07:54 +00:00
Jefftree
6c94adcc63 expand etcd storage tests to test for 1.31..1.33 2024-12-20 19:07:54 +00:00
Jefftree
dc476e968d remove emulated version test for un-emulatable 1.30 2024-12-20 19:07:54 +00:00
Kubernetes Prow Robot
438bc5d44e Merge pull request #128818 from yongruilin/flagz-kube-scheduler
feat: Add flagz endpoint for kube-scheduler
2024-12-20 20:02:08 +01:00
yongruilin
db6bf02217 feat: Add flagz endpoint for kube-scheduler 2024-12-19 19:52:46 -08:00