Jan Safranek
052f1fe820
Update tests
2025-02-28 16:42:20 +01:00
Shereen Haj
8a1057a804
test: sched: replace pointer
use with ptr
...
As `pointer` functions are deprecated, replace those functions calls
with `ptr.To`.
Fixes: https://github.com/kubernetes/kubernetes/issues/130408
Signed-off-by: Shereen Haj <shajmakh@redhat.com>
2025-02-28 17:24:19 +02:00
YamasouA
486d12efc5
call cleanup func position change
2025-03-01 00:14:49 +09:00
Kubernetes Prow Robot
a552570d2c
Merge pull request #129946 from alex-petrov-vt/iss-129907
...
fix(pod/util): fix typo in getting pod validation options
2025-02-28 07:09:04 -08:00
Kubernetes Prow Robot
c92dde6941
Merge pull request #129338 from pohly/log-client-go-certificates
...
client-go certificate: context-aware APIs and logging
2025-02-28 07:08:57 -08:00
YamasouA
bee19638f1
tweak
2025-02-28 22:45:01 +09:00
Kubernetes Prow Robot
88d2355c41
Merge pull request #129951 from parkjeongryul/add-e2e-topology-manager-for-init-ctn
...
Add e2e test for topology manager with restartable init containers
2025-02-28 04:38:23 -08:00
Marek Siarkowicz
e7c743b2eb
Streaming JSON encoder for List
2025-02-28 13:33:36 +01:00
Jan Safranek
a86cca4e18
Improve error reporting of KCM metrics
...
Show what is a test waiting for and make sure the metric name + label
appears in the timeout error.
2025-02-28 13:01:00 +01:00
Patrick Ohly
f9051901ce
client-go certificate: context-aware APIs and logging
...
For NewManager, the Config struct gets changed (not extended!) so that the
caller can provide a logger instead of just a logging function. Breaking the
API was chosen because it avoids having to maintain two different log calls in
various places (one for printf-style logging, one for structured logging).
RequestCertificateWithContext is an extension. It enables getting rid of
context.TODO calls.
NewFileStoreWithLogger also is an extension.
2025-02-28 10:37:06 +01:00
Tim Hockin
6b7e38f018
Fix nits from PR 130355
2025-02-28 00:06:11 -08:00
Kubernetes Prow Robot
803e9d6495
Merge pull request #130355 from yongruilin/validation_origin
...
validation: Add Origin field to field.Error for more precise error tracking
2025-02-28 00:04:23 -08:00
yongruilin
c7cf852086
test: Add Origin field support to ReplicationController spec.Replicas validation test
2025-02-28 06:56:02 +00:00
yongruilin
07477c656e
test: convert ValidateEndpointsCreate to use error Origin field in test
...
Update ValidateEndpointsCreate validation tests to use the new Origin field for more precise error comparisons. It leverage the Origin field instead of detailed error messages, improving test robustness and readability.
Co-authored-by: Tim Hockin <thockin@google.com>
2025-02-28 06:55:58 +00:00
Kubernetes Prow Robot
60d0d67fef
Merge pull request #130401 from ryota-sakamoto/fix-nftables-skip-kernel-check
...
Fix kernel version check condition in nftables proxier
2025-02-27 18:50:36 -08:00
Kubernetes Prow Robot
a0be82d80d
Merge pull request #128987 from Henrywu573/kubescheduler_statuz
...
Add statusz endpoint for kube-scheduler
2025-02-27 18:50:29 -08:00
Alex Petrov
f63359efb0
fix(pod/util): typos in getting pod validation options
...
Before, containers with the PostStart sleep lifecycle hook would cause
null pointer panics due to a typo in the field name being checked. This
commit fixes that.
The check also needs to be done on the oldPodSpec, rather than the
podSpec, so that existing workloads which use the zero value continue
functioning in the same way.
2025-02-27 19:25:14 -05:00
Kubernetes Prow Robot
a743616631
Merge pull request #129583 from carlory/promote-HonorPVReclaimPolicy-GA
...
promote HonorPVReclaimPolicy to GA
2025-02-27 15:16:30 -08:00
Mark Rossetti
5eb37b073c
Fixing k8s.io/kubernetes/pkg/util/filesystem unit tests for Windows
...
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2025-02-27 13:50:24 -08:00
Aaron Prindle
3010618efe
feat: add DeclarativeValidation and DeclarativeValidationMismatchMetric feature gates
2025-02-27 20:53:00 +00:00
Davanum Srinivas
c3de5b707e
Do not look for SSH external IP for NFSPersistentVolumes tests
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 15:51:05 -05:00
Kubernetes Prow Robot
807d22f052
Merge pull request #130473 from dims/ensure-we-switch-to-k8s-root-directory-for-dockerized-builds-during-e2e-node-ci-job
...
Ensure we switch to k8s root directory for dockerized builds during e2e-node ci job
2025-02-27 10:32:30 -08:00
Jefftree
2d10dec3a2
generated
2025-02-27 17:50:36 +00:00
Jefftree
ac7a95efb0
LeaseCandidate alpha -> beta,
2025-02-27 17:50:36 +00:00
Kubernetes Prow Robot
9fe95e7586
Merge pull request #130398 from gnufied/add-progress-tracking-permission-change
...
Add progress tracking permission change
2025-02-27 09:10:37 -08:00
Kubernetes Prow Robot
b8c95e1954
Merge pull request #129688 from cpanato/update-main-go124
...
[go] Bump images, dependencies and versions to go 1.24.0
2025-02-27 09:10:30 -08:00
Davanum Srinivas
0fede7b8a2
Bump x/oauth2 and x/crypto
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 10:59:37 -05:00
parkjeongryul
dca3f56f64
Add e2e test for topology manager with restartable init containers
2025-02-28 00:48:27 +09:00
Jefftree
fad4594fd9
Add LeaseCandidate v1beta1
2025-02-27 15:41:26 +00:00
Kubernetes Prow Robot
341df1acca
Merge pull request #130451 from danwinship/e2e-np-bad-cidrs
...
Fix bad CIDRs in a NetworkPolicy test
2025-02-27 07:24:31 -08:00
YamasouA
038b90d475
return error instead of fatalf
2025-02-28 00:08:07 +09:00
Davanum Srinivas
fb3b163ca0
Ensure we switch to k8s root directory for dockerized builds during e2e-node ci job
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-02-27 10:05:45 -05:00
Joel Speed
b7c80f7f15
Fix implementation of ContainsCIDR to allow non-equal addresses
2025-02-27 14:57:27 +00:00
Dan Winship
f2e8fe93fb
Fix bad CIDRs in a NetworkPolicy test
...
It was writing out IPBlock CIDRs like "192.168.0.5/4" rather than
"192.0.0.0/4".
Also, simplify a bit by basing the `cidr` and the `except` both on
podB, rather than one on podA and one on podB. (This is even
theoretically a bugfix, since it's not _required_ that podA and podB
be in the same /4.) Also reorganize the code to make the two test
cases more consistent with each other.
2025-02-27 09:22:16 -05:00
Kubernetes Prow Robot
8cca6d98a4
Merge pull request #130465 from Monokaix/resync
...
correct ResyncPeriod comments
2025-02-27 05:28:31 -08:00
Lukasz Szaszkiewicz
f73f6fd2ab
client-go/gentype/fake: sets opts.Watch true
2025-02-27 12:11:47 +01:00
Nadia Pinaeva
cc0faf086d
[kube-proxy:nftables] Skip EP chain updates on startup.
...
Endpoint chain contents are fairly predictable from their name and
existing affinity sets. Skip endpoint chain updates, when we can be sure
that rules in that chain are still correct.
Add unit test to verify first transaction is optimized.
Change baseRules ordering to make it accepted by nft.ParseDump.
Signed-off-by: Nadia Pinaeva <npinaeva@redhat.com>
2025-02-27 10:07:22 +01:00
Ed Bartosh
65c792ca9b
e2e_node: remote: fix getting pod logs
2025-02-27 09:04:43 +02:00
Monokaix
e5becd01c8
correct ResyncPeriod comments
...
Signed-off-by: Monokaix <changxuzheng@huawei.com>
2025-02-27 15:04:07 +08:00
carlory
28d359beec
promote HonorPVReclaimPolicy to GA
...
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-02-27 14:01:22 +08:00
yongruilin
a488509197
test: Improve error comparison in resource validation tests
...
Replace manual error logging with cmp.Diff for more precise error comparisons, using cmpopts to ignore Origin field and support UniqueString comparison.
2025-02-27 05:20:54 +00:00
yongruilin
02f7dc55d1
feat: Add Origin field to Error and related methods
...
This change introducing a new field in Error. It would be used in testing to compare the expected errors without matching the detail strings.
Co-authored-by: Tim Hockin <thockin@google.com>
2025-02-27 05:20:48 +00:00
Kubernetes Prow Robot
a18b4a8d97
Merge pull request #129158 from LionelJouin/fix-128831
...
Fix ResourceClaim status API inconsistency
2025-02-26 20:32:30 -08:00
Kubernetes Prow Robot
e8ed01179a
Merge pull request #129498 from carlory/JobPodFailurePolicy
...
Remove general available feature-gate JobPodFailurePolicy
2025-02-26 18:48:36 -08:00
Kubernetes Prow Robot
f06716edb1
Merge pull request #129251 from alingse/patch-1
...
fix check errRaw != nil but return a nil value error err
2025-02-26 18:48:30 -08:00
Hemant Kumar
94f3b552bf
Fix linter warnings
2025-02-26 21:45:00 -05:00
Hemant Kumar
b0dc96e71e
Add unit tests for progress tracking and remove fullpath from reporting
2025-02-26 18:13:07 -05:00
Kubernetes Prow Robot
1b4c3483ce
Merge pull request #127577 from vaibhav2107/eviction-hard
...
Added the MergeDefaultEvictionSettings Kubelet Config
2025-02-26 12:10:30 -08:00
Kubernetes Prow Robot
25dc6c9820
Merge pull request #130281 from z1cheng/issue_130264
...
Implement chunking for gzip encoder in deferredResponseWriter
2025-02-26 10:16:36 -08:00
Kubernetes Prow Robot
b38bf6c312
Merge pull request #130035 from cici37/nsDeletion
...
[KEP-5080]Ordered Namespace Deletion
2025-02-26 10:16:30 -08:00