Commit Graph

135168 Commits

Author SHA1 Message Date
Patrick Ohly
d0141640fe ktesting: print info and progress to /dev/tty
The "received interrupt signal" is useful also when running with "go test"
without -v because it shows that the shutdown has started.

But more important is that a progress report gets shown because that feature is
useful in particular when "go test" produces no output while it runs.
2026-01-30 12:35:57 +01:00
Kubernetes Prow Robot
0d1b02490b Merge pull request #136590 from mkumatag/fix_version
Fix the semver for the nginx image
2026-01-28 20:40:03 +05:30
Kubernetes Prow Robot
a41a5c35d3 Merge pull request #135106 from bkhadars/enable-commentstart1
enable commentstart check on admissionregistration API group
2026-01-28 20:39:53 +05:30
Kubernetes Prow Robot
7002ccc892 Merge pull request #136206 from HirazawaUi/fix-kubelet-race-2
Fix data race in kubelet container manager
2026-01-28 19:29:58 +05:30
Kubernetes Prow Robot
664efa8627 Merge pull request #136205 from HirazawaUi/fix-kubelet-race-1
Fix data race in kubelet status manager
2026-01-28 19:29:49 +05:30
Kubernetes Prow Robot
1c9da264ab Merge pull request #129332 from pohly/log-client-go-clientcmd
client-go command: structured, contextual logging
2026-01-28 18:11:49 +05:30
kfess
3a0744ce6d Add missing tests for kubectl describe commands (#136461)
* Add missing tests for kubectl describe commands

* fix linter error
2026-01-28 16:37:52 +05:30
Kubernetes Prow Robot
091d147008 Merge pull request #136557 from pohly/ktesting-signal-cleanup
ktesting: progress reporting fix
2026-01-28 15:32:00 +05:30
Kubernetes Prow Robot
9a1f9cbab6 Merge pull request #136541 from bart0sh/PR220-kubelet-dra-improve-contextual-logging
Kubelet: DRA: improve contextual logging
2026-01-28 15:31:53 +05:30
Manjunath Kumatagi
b2049e9a91 Fix the semver for the nginx image
Signed-off-by: Manjunath Kumatagi <mkumatag@in.ibm.com>
2026-01-28 15:28:12 +05:30
Kubernetes Prow Robot
f866eed44a Merge pull request #134394 from toredash/dns-1.26.5
kube-dns bump to v1.26.7
2026-01-28 09:21:48 +05:30
Kubernetes Prow Robot
b90909e432 Merge pull request #136582 from yongruilin/master_kubeopenapi-format
Bump k8s.io/kube-openapi to latest and enable numeric format validation
2026-01-28 05:37:48 +05:30
Kubernetes Prow Robot
81e8d2e54f Merge pull request #136571 from liggitt/kube-proxy-ds
Remove kube proxy daemonset from cluster
2026-01-28 03:27:56 +05:30
Kubernetes Prow Robot
8ccb55ffef Merge pull request #136040 from petern48/error-level-logs
fix(controller/resourcequota, controller/garbagecollector): Change V().Error() to V().Info()
2026-01-28 03:27:48 +05:30
yongruilin
45b64fb145 Add ratcheting tests for numeric format validation 2026-01-27 21:49:24 +00:00
yongruilin
4a457d97f4 Add tests for invalid numeric formats 2026-01-27 21:48:25 +00:00
yongruilin
e4f87f1cd7 Add tests for numeric format validation 2026-01-27 21:48:18 +00:00
yongruilin
f050da1dec Update anyOf/allOf tests for numeric validation 2026-01-27 21:48:05 +00:00
yongruilin
eac0206446 Stop stripping valid formats for number/integer types 2026-01-27 21:45:41 +00:00
yongruilin
65b579a036 Bump k8s.io/kube-openapi to latest 2026-01-27 21:39:39 +00:00
Kubernetes Prow Robot
7f7deb8c7f Merge pull request #136578 from yongruilin/grandtour-codegen-doc
docs: Add comprehensive overview of Kubernetes Code Generator
2026-01-28 01:41:49 +05:30
yongruilin
ee926bc113 docs: Add comprehensive overview of Kubernetes Code Generator 2026-01-27 19:17:16 +00:00
Kubernetes Prow Robot
f2b4e9f9c5 Merge pull request #136502 from tzneal/fix-endpointslice-churn-for-headless-services
fix: normalize nil ports to empty slice in NewPortMapKey
2026-01-28 00:05:49 +05:30
Patrick Ohly
1620b27076 client-go remotecommand: structured, contextual logging
The API for the package already had a context, so all that was missing was to
extract and use the logger from that.
2026-01-27 18:36:25 +01:00
Patrick Ohly
8701f481ff client-go clientcmd: exclude from structured, contextual logging
The only log output is for error messages which should normally not occur. It's
also likely that users expect to see exactly those messages, so it's better to
not touch them.
2026-01-27 18:36:25 +01:00
Kubernetes Prow Robot
99a2c5c634 Merge pull request #136574 from pohly/revert-129344-log-client-go-apimachinery-network-util
Revert "apimachinery: contextual logging in network util code"
2026-01-27 22:47:50 +05:30
Patrick Ohly
9d65b9be20 Revert "apimachinery: contextual logging in network util code" 2026-01-27 17:21:02 +01:00
Kubernetes Prow Robot
4d212f7f47 Merge pull request #136558 from saschagrunert/revert-135369-getimageref-logic
Revert GetImageRef to use Image.Id instead of RepoDigests
2026-01-27 21:44:01 +05:30
Kubernetes Prow Robot
3dd404d7cd Merge pull request #136544 from aramase/aramase/c/rm_structured_authz_fg
Drop StructuredAuthorizationConfiguration feature gate
2026-01-27 21:43:52 +05:30
Ed Bartosh
3b4e56e09c kubelet: DRA: plugin: set logging prefix 2026-01-27 18:09:16 +02:00
Ed Bartosh
1c913f6e9c kubelet: DRA: manager: set logging prefix 2026-01-27 18:09:11 +02:00
Jordan Liggitt
ae6f08eefd Remove kube proxy daemonset from cluster 2026-01-27 10:49:34 -05:00
Todd Neal
4ba4211660 fix: normalize nil ports to empty slice in NewPortMapKey
Prevents EndpointSlice churn for headless services where
getEndpointPorts returns [] but existing slices from the API
have nil ports, causing different hash values.
2026-01-27 15:33:51 +00:00
Kubernetes Prow Robot
be658b44f3 Merge pull request #136441 from kannon92/remove-alpha-api-dra
remove alpha comments for GA or beta resource fields
2026-01-27 20:16:00 +05:30
Kubernetes Prow Robot
ab78ad32d1 Merge pull request #136194 from bart0sh/PR216-add-signode-approvers-to-dra-owners
add SIG-Node approvers to DRA dirs
2026-01-27 20:15:52 +05:30
Kubernetes Prow Robot
1087ff613a Merge pull request #136454 from ania-borowiec/log_illegal_state
Log error when UpdatePod finds no existing PodGroup for the pod
2026-01-27 18:01:50 +05:30
Ania Borowiec
48c4605408 Add logging error when UpdatePod finds no existing PodGroup with the pod to update 2026-01-27 11:42:03 +00:00
Kubernetes Prow Robot
7cf00c96ac Merge pull request #136554 from dims/fix-kubeproxy-ipv6-conntrack
test: Fix KubeProxy CLOSE_WAIT test for IPv6 environments (and where /proc/net/nf_conntrack may be missing)
2026-01-27 16:55:49 +05:30
Davanum Srinivas
06bd2191ca Apparently some EC2 images we use do not have /proc/net/nf_conntrack
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-27 10:29:10 +00:00
Kubernetes Prow Robot
5c9977b892 Merge pull request #136202 from RomanBednar/fix-csi-plugin-backoff
csi: raise kubelet CSI init backoff to cover ~140s DNS delays
2026-01-27 15:47:48 +05:30
Davanum Srinivas
65c981be7a test: cleanup from review
- Use netutils.IsIPv6(ip) instead of manual nil/To4 check
- Remove unnecessary ip.To16() call since IPv6 is already 16 bytes
- Remove ipFamily from grep pattern since IP format ensures correctness

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-27 09:31:04 +00:00
Patrick Ohly
65693b2d2a ktesting: fix setting up progress reporting
The recent change to support importing ktesting into an E2E suite
without progress reporting was flawed:
- If a Go unit test had a deadline (the default when invoked
  by `go test`!), the early return skipped initializing progress
  reporting.
- When it didn't, for example when invoking a test binary directly
  under stress, a test created goroutines which were kept running,
  which broke leak checking in e.g. an integration tests TestMain.

The revised approach uses reference counting: as long as some unit test is
running, the progress reporting with the required goroutines are active.
When the last one ends, they get cleaned up, which keeps the goleak
checker happy.
2026-01-27 10:13:43 +01:00
Sascha Grunert
6b6c596a60 Revert GetImageRef to use Image.Id instead of RepoDigests
Partially reverts cb011623c8 from #135369.

Using RepoDigests[0] as image identity causes credential verification
issues because it makes identity location-dependent (registry.io/image@sha256:...)
instead of content-based (sha256:...). This defeats deduplication and
creates separate pull records for identical image content from different
registries.

ImagePulledRecord already handles per-registry credentials via its
two-level design: ImageRef identifies content, CredentialMapping tracks
registry-specific credentials.

Related: #136498, #136549
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2026-01-27 09:41:04 +01:00
Patrick Ohly
d91be59690 ktesting: run time-sensitive unit tests as synctest
The TestCause tests were already unreliable in the CI. The others failed under
stress.

As synctest we have to be more careful how to construct and clean up the parent
context for TestCause (must happen inside bubble), but once that's handled we
can reliably measure the (fake) time and compare exactly against expected
results.
2026-01-27 09:18:10 +01:00
Davanum Srinivas
27c59678f0 test: Fix KubeProxy CLOSE_WAIT test for IPv6 environments
The /proc/net/nf_conntrack file uses fully expanded IPv6 addresses
with leading zeros in each 16-bit group. For example:
  fc00:f853:ccd:e793::3 -> fc00:f853:0ccd:e793:0000:0000:0000:0003

Add expandIPv6ForConntrack() helper function to expand IPv6 addresses
to the format used by /proc/net/nf_conntrack before using them in
the grep pattern.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-27 00:35:25 +00:00
Kubernetes Prow Robot
028015267e Merge pull request #136116 from vinayakankugoyal/ga
KEP:2862 Graduate to STABLE.
2026-01-27 05:09:49 +05:30
Kubernetes Prow Robot
2c9cc8da1a Merge pull request #135763 from darshansreenivas/admissionregistratio_k8s_io_ValidationAction
feat: wire admissionregistration group for declarative validation and +k8s:required to ValidatingAdmissionPolicyBindingSpec.ValidationActions
2026-01-27 03:23:53 +05:30
Kubernetes Prow Robot
c70b61069d Merge pull request #136465 from cpanato/update-go-1256
Bump images and versions to go 1.25.6 and distroless iptables
2026-01-27 01:23:50 +05:30
Anish Ramasekar
a1478c7730 Drop StructuredAuthorizationConfiguration feature gate
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2026-01-26 11:35:39 -06:00
Carlos Panato
5e54532bf4 Bump images and versions to go 1.25.6 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-01-26 18:04:17 +01:00