Commit Graph

127442 Commits

Author SHA1 Message Date
Joel Speed
aa1d79c370
Use DeepCopyJSON to copy testcase input
Unstructured types must use int64, all integers in the test case
must be explicitly cast as int64.
2025-01-13 11:45:54 +00:00
Joel Speed
a2b12ba406
Simplify schema sentinel subresource logic 2025-01-13 11:28:33 +00:00
Joel Speed
ba816967a0
Simplify status subresource ratcheting testing 2025-01-09 15:46:31 +00:00
Joel Speed
091fa29390
Fix status subresource ratcheting 2025-01-08 10:49:45 +00:00
Kubernetes Prow Robot
f1b3fdf7e6
Merge pull request #129500 from carlory/PDBUnhealthyPodEvictionPolicy
Remove general available feature-gate PDBUnhealthyPodEvictionPolicy
2025-01-07 09:38:29 +01:00
carlory
75131475fd Remove general available feature-gate PDBUnhealthyPodEvictionPolicy 2025-01-07 15:24:16 +08:00
Kubernetes Prow Robot
38fab70477
Merge pull request #128398 from tenzen-y/remaining-job-tracking-annotation-testing
Job: Remove JobTrackingFinalizer annotation specific testings
2025-01-07 06:26:28 +01:00
Kubernetes Prow Robot
2e53799601
Merge pull request #129483 from pacoxu/fix-no-sandbox
kubeadm: should not warn on non-detect sandbox image
2025-01-07 05:06:36 +01:00
Kubernetes Prow Robot
3a79d453fa
Merge pull request #128256 from lzhecheng/webhook-update-ValidatingWebhookConfigurations-retry
[e2e][webhook] Retry update ValidatingWebhookConfigurations
2025-01-07 05:06:29 +01:00
Kubernetes Prow Robot
c3f3fdc1aa
Merge pull request #129430 from MadhavJivrajani/go124-webhook-regex-ut
[go1.24] webhook: alter regex to account for x509sha1 GODEBUG removal
2025-01-06 21:28:30 +01:00
Kubernetes Prow Robot
b7ef173c59
Merge pull request #129349 from dims/bump-x/net-to-v0.33.0
Bump x/net to v0.33.0
2025-01-06 20:04:38 +01:00
Arda Güçlü
7c887412c8
Add validation for revisionHistoryLimit in sts to prevent negative value (#129017)
* Add validation for revisionHistoryLimit in sts to prevent negative value

* Add unit tests to verify warning messages
2025-01-06 20:04:31 +01:00
gshaibi
4114a9b4e4
[kubectl] Enhance describe output for projected volume sources to indicate optional Secret/ConfigMap (#129457)
* kubectl: enhance output for projected volume sources to indicate optional secrets

* .
2025-01-06 14:50:16 +01:00
Kubernetes Prow Robot
b358cf3a79
Merge pull request #128972 from manishym/beta-e2e
Add crd from external snapshotter
2025-01-06 11:24:16 +01:00
Paco Xu
02fbcb4e69 kubeadm: should not warn on non-detect sandbox image 2025-01-06 14:23:18 +08:00
Kubernetes Prow Robot
8f8c94a04d
Merge pull request #128872 from alvaroaleman/generics
Use generic btree in watchcache
2025-01-03 14:42:14 +01:00
Alvaro Aleman
b1cb471982 Use generic btree in watchcache
This change makes us use the generic btree available in newer versions
of github.com/google/btree. This avoids a bunch of type assertions and
makes the code easier to read.
2025-01-03 07:31:23 -05:00
Alvaro Aleman
a97ed3c98b Update github.com/google/btree 2025-01-03 07:31:23 -05:00
Kubernetes Prow Robot
6746df77f2
Merge pull request #127153 from Anurag252/master
Add a static NodePort allocator for e2e tests
2025-01-02 16:56:14 +01:00
Kubernetes Prow Robot
281bba84ab
Merge pull request #129419 from googs1025/chore/resourcequotas
chore(printers): add miss unit test for resourcequota
2025-01-02 13:12:14 +01:00
Kubernetes Prow Robot
87cf098f34
Merge pull request #129452 from SataQiu/fix-20250102
kubeadm: fix a bug where the 'node.skipPhases' in UpgradeConfiguration is not respected by 'kubeadm upgrade node' command
2025-01-02 12:00:14 +01:00
SataQiu
4c6deed07e kubeadm: fix a bug where the node.skipPhases in UpgradeNodeConfiguration is not respected by 'kubeadm upgrade node' 2025-01-02 17:44:05 +08:00
Kubernetes Prow Robot
3c229949f9
Merge pull request #129401 from pacoxu/kubeadm-upgrade-precheck
kubeadm: add kernel version check for upgrade
2025-01-02 03:50:13 +01:00
Kubernetes Prow Robot
1c2b2cce10
Merge pull request #129119 from macsko/fix_podtopologyspread_for_multiple_constraints_with_the_same_key
Fix PodTopologySpread matching pods counts for constraints with the same topologyKey
2025-01-01 11:04:14 +01: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
Kubernetes Prow Robot
9fc9ddc7bc
Merge pull request #129432 from SataQiu/kubeadm-20241231
kubeadm: bump supported etcd version
2024-12-31 06:44:13 +01:00
SataQiu
2fd16abbe8 kubeadm: bump supported etcd version 2024-12-31 10:11:38 +08:00
Madhav Jivrajani
cff0f4009f webhook: alter regex to account for x509sha1 GODEBUG removal
go1.24 removes the x509sha1 GODEBUG variable, and with it the
support for SHA-1 signed certs. This commit alters the regex
in unit tests to account for that and prep for go1.24.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2024-12-30 13:39:17 -08:00
Anurag252
a9b641464e chore: adding support for staticPortRange
Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review comments

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

lint: implementing linting suggestions

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: review comments implementation

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: fixing build errors

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

revert: removing empty spaces

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review suggestions

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: implementing review comments to get rid of typecasting

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

fix: fixing failed tests

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: rename func as per code review

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>

chore: change in comments

Signed-off-by: Anurag252 <Anuragsgsits@gmail.com>
2024-12-30 22:26:43 +01:00
Kubernetes Prow Robot
71f32f9930
Merge pull request #129365 from xirehat/master
Fix Borg pub link in README
2024-12-30 18:34:12 +01:00
Kubernetes Prow Robot
bf403cb9e8
Merge pull request #129422 from cpanato/update-go1234
[go] Bump images, dependencies and versions to go 1.23.4 and distroless iptables
2024-12-30 16:32:13 +01:00
Paco Xu
2c305d71f0 kubeadm: add system verification check(including kernel version check) for upgrade 2024-12-30 18:17:56 +08:00
Maciej Skoczeń
c3a54926a4 Fix PodTopologySpread matching pods counts for constraints with the same topologyKey 2024-12-30 09:35:24 +00:00
Kubernetes Prow Robot
7606b77fff
Merge pull request #129418 from neolit123/1.33-fix-upgrade-addon-skip
kubeadm: skip disabled addons in clusterconfig on upgrade
2024-12-30 09:10:13 +01:00
cpanato
2cb1cc9e3a
Bump images, dependencies and versions to go 1.23.4 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-12-30 09:05:16 +01:00
lixiv
215d0b094b
Add tests for kubectl qos (#129388)
* Add tests for kubectl qos

* Update staging/src/k8s.io/kubectl/pkg/util/qos/qos_test.go

Co-authored-by: Arda Güçlü <aguclu@redhat.com>

---------

Co-authored-by: Arda Güçlü <aguclu@redhat.com>
2024-12-30 05:46:12 +01:00
Kubernetes Prow Robot
8f330c6368
Merge pull request #129420 from pohly/client-go-tools-cache-testhammercontroller-fix
client-go cache: fix TestHammerController
2024-12-29 15:04:12 +01:00
Patrick Ohly
8e1403563a client-go cache: fix TestHammerController
The test relied on a 100ms sleep to ensure that controller was done.  If that
race was lost, one goroutine was intentionally prevented from completing by
locking a mutex permanently. A TODO was left about detecting that.

Adding goroutine leak checking in
https://github.com/kubernetes/kubernetes/pull/126387 revealed that this race
indeed sometimes is lost because the goroutine
leaked (https://github.com/kubernetes/kubernetes/issues/129400).

Waiting for controller shutdown instead of relying on timing should fix this.
2024-12-29 12:18:50 +01:00
googs1025
b649c11366 chore(printers): add miss unit test for resourcequota 2024-12-28 19:44:14 +08:00
Lubomir I. Ivanov
b406ba5cc3 kubeadm: skip disabled addons in clusterconfig on upgrade
If an addon is disabled in the ClusterConfiguration skip it
on upgrade in the repsective subphase of 'addons'.
2024-12-28 12:20:00 +02:00
Kubernetes Prow Robot
7bfdda4696
Merge pull request #129380 from jdtuhui/testifylint/len@component-base
fix: enable len rule from testifylint in module component-base
2024-12-27 10:20:12 +01:00
tuhui1
f47e6d0428 fix: enable len rule from testifylint in module component-base 2024-12-24 17:23:51 +08:00
elieser pereira
35f584187a
accept GINKGO_FLAGS for test-e2e-node.sh (#129215)
* accept GINKGO_FLAGS for test-e2e-node.sh

* Update Makefile to document LABEL_FILTER

* --label-filter part of ginkgoflags

* Update Makefile

* if label-filter then avoid skip and focus defaults

* LABEL_FILTER can be empty

* Update build/root/Makefile

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

* skip defaults only if label-filter not set

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

* focus and label_fiter can live together

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

* skip and label_filter can live together

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>

---------

Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
2024-12-24 02:48:10 +01:00
Kubernetes Prow Robot
e85c72d417
Merge pull request #129000 from RogerTaylor130/fix-log-info-in-sample-controller
Fix the log for current and desired number of replicas in sample controller
2024-12-23 10:40:11 +01:00
xirehat
2ddbfd1967 Fix Borg pub link in README 2024-12-23 00:15:17 +03:30
Kubernetes Prow Robot
3ec9c7f4d2
Merge pull request #128811 from zhifei92/statusz
add statusz endpoint  for kubelet
2024-12-22 11:24:10 +01:00
Kubernetes Prow Robot
80379db5d5
Merge pull request #129279 from HirazawaUi/remove-cri-anno
[NodeLocalCRISocket]: remove kubeadm.alpha.kubernetes.io/cri-socket annotation when kubeadm upgrade
2024-12-21 09:46:09 +01:00
HirazawaUi
7c515cd1cb remove kubeadm.alpha.kubernetes.io/cri-socket annotation when kubeadm upgrade 2024-12-21 14:57:57 +08:00
Kubernetes Prow Robot
b17f5ff9ae
Merge pull request #129353 from kannon92/fix-typo-benchmark
remove node special feature typos
2024-12-21 05:00:15 +01:00