Commit graph

10866 commits

Author SHA1 Message Date
Kubernetes Prow Robot
870565d371
Merge pull request #139311 from SergeyKanzhelev/rename-sort-to-metric-sort
Rename instrumentation sort tool to metric-sort and stop installing it
2026-05-27 06:05:58 +05:30
Sergey Kanzhelev
faa4a90f18 Rename instrumentation sort tool to metric-sort and stop installing it
The sort tool in hack/tools/instrumentation/sort/ shadows /usr/bin/sort
when installed into GOBIN. Scripts like hack/verify-deadcode-elimination.sh
prepend GOBIN to PATH, causing the coreutil sort to be replaced by this
Go binary, which breaks unrelated verifiers.

The tool is not used by any automation, so remove it from the install
line. Also rename the directory from sort/ to metric-sort/ to prevent
future accidental PATH shadowing.
2026-05-26 13:11:19 -07:00
YeRongyu
48adfae81d deprecate(apiserver): deprecate cache list metrics 2026-05-23 11:59:50 +08:00
Kubernetes Prow Robot
f6442409ad
Merge pull request #139248 from dims/bump-golang.org/x/crypto-to-v0.52.0
Bump golang.org/x/crypto to v0.52.0
2026-05-23 00:05:00 +05:30
Kubernetes Prow Robot
901087fb35
Merge pull request #138572 from dom4ha/promote-workload-api-v1alpha3
Converts the DisruptionMode enum field to struct as v1alpha3 and drops v1alpha2
2026-05-23 00:04:52 +05:30
Kubernetes Prow Robot
ec60a1daf8
Merge pull request #136894 from LoginovIlia/apiserver_util_metrics_beta
Update util metrics to beta
2026-05-22 23:10:44 +05:30
Davanum Srinivas
17a8f4f5c0
Bump golang.org/x/crypto to v0.52.0 2026-05-22 12:13:09 -04:00
dom4ha
88948acc38 Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
69636c9707 Create v1alpha3 API as copy of v1alpha2 and update package names 2026-05-22 12:50:12 +00:00
ChengHao Yang
db24241465
Update stable-metrics-list.yaml for watch_events_sizes and watch_events_total
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-05-22 10:29:05 +08:00
ChengHao Yang
cbc3343f65
Update instrumentation docs list
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-05-22 10:29:05 +08:00
Kubernetes Prow Robot
e136f39334
Merge pull request #137103 from arcceus/api-linter-apps-optionalorrequired
Enables the optionalorrequired linter for the apps API group
2026-05-22 05:14:43 +05:30
Kubernetes Prow Robot
323e89513a
Merge pull request #136847 from liyuerich/commentstartautoscaling
enable commentstart check on autoscaling API group
2026-05-22 02:54:43 +05:30
Deepak Anand
ef0f228863
remove resources from hack/kube-api-linter/exceptions.yaml
Signed-off-by: Deepak Anand <deepakanand1300@gmail.com>
2026-05-22 02:17:49 +05:30
LoginovIlia
23f20d1980 Graduate metrics for connection failures caused by missing X509 or SHA1 certificates from alpha to beta and add tests to validate the behavior 2026-05-21 11:05:57 -04:00
ChengHao Yang
63928fb1ce
Graduate old SA metric update stable-metrics-list.yaml
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-05-20 15:55:07 +08:00
ChengHao Yang
db4ea8afdb
Graduate old SA metric update documentation-list.yaml
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-05-20 15:55:06 +08:00
Kubernetes Prow Robot
04976d6f60
Merge pull request #138844 from skitt/bump-tools
Bump all tool dependencies
2026-05-20 01:31:45 +05:30
Kubernetes Prow Robot
5d922c71d1
Merge pull request #139072 from richabanker/metrics-docs-list-ci
add CI verification for metrics documentation list
2026-05-19 20:39:51 +05:30
Kubernetes Prow Robot
f529c91dda
Merge pull request #138103 from adri1197/client-go-event-annotations
events: add AnnotatedEventRecorder interface into internal/events
2026-05-19 19:41:49 +05:30
Richa Banker
f9ab2ff915 add CI verification for metrics documentation list
Signed-off-by: Richa Banker <richabanker@google.com>
2026-05-18 13:24:09 -07:00
Adrian Fernandez De La Torre
31fe350b2b
events: add AnnotatedEventRecorder interface
Add a separate AnnotatedEventRecorder interface with an AnnotatedEventf
method that allows attaching annotations to events at creation time.
Implement it in recorderImpl, FakeRecorder, and EventRecorderAdapter.

Add a Verbose option to FakeRecorder that optionally includes action,
object kind/apiVersion, and annotations in event output. The default
format is unchanged.

Signed-off-by: Adrian Fernandez De La Torre <adri1197@gmail.com>
2026-05-16 19:27:06 +02:00
Richa Banker
b05227901a [metrics docs]: use prefix match for component mapping 2026-05-15 14:48:14 -07:00
liyuerich
ba3d29dbcf enable commentstart check on autoscaling API group
Signed-off-by: liyuerich <yue.li@daocloud.io>
2026-05-14 15:28:44 +08:00
Jordan Liggitt
8bfe33092a
Bump sigs.k8s.io/kube-api-linter 2026-05-13 11:20:23 -04:00
Yongrui Lin
b622d5d2a2 hack: glob-remove all validation-gen outputs in update-codegen.sh
The cleanup step removed only zz_generated.validations.go and left the
per-Kind coverage test fixtures (zz_generated.<version>_test.go,
zz_generated.main_test.go) on disk, so renamed or removed Kinds would
leak stale files. Move every validation-gen output under a shared
zz_generated.validations. prefix and remove them via a single glob.
2026-05-12 20:31:20 +00:00
Kubernetes Prow Robot
553312e6c2
Merge pull request #138657 from jpbetz/codegen-discovery
Enable validation-gen for all existing and future APIs
2026-05-13 01:16:37 +05:30
Joe Betz
ec3a06051f
Turn on strict linting of package level API definition generator tags 2026-05-12 12:49:01 -04:00
Kubernetes Prow Robot
300eda2f2f
Merge pull request #138746 from humblec/update-etcd-image-3.6.11
etcd: update etcd image to v3.6.11
2026-05-12 17:39:32 +05:30
Stephen Kitt
b5ca9696ea
Bump gotest.tools/gotestsum
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
583376ca2a
Bump google.golang.org/grpc/cmd/protoc-gen-go-grpc
This produces more readable raw descriptions.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
1d193ca8ff
Bump golang.org/x/mod/modfile
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
e223a05ec7
Bump github.com/vektra/mockery/v3
mockery ignores auto-generated code by default, so this requires a
couple of configuration changes.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
b7d0bea934
Bump github.com/jcchavezs/porto/cmd/porto
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
7f5209efd2
Bump github.com/golangci/misspell
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
8be5e8aac7
Bump github.com/cespare/prettybench
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Stephen Kitt
0d70476951
Bump github.com/aojea/sloppy-netparser
Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:37 +02:00
Stephen Kitt
3789a3c639
Add a tool bumping script
This simplifies bumping the tool dependencies.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:37 +02:00
Kubernetes Prow Robot
f830e4a2b8
Merge pull request #138542 from pohly/dra-create-resource-claim
DRA: harmonize ResourceClaim creation metric
2026-05-12 05:12:09 +05:30
Kubernetes Prow Robot
4cfd7e74b1
Merge pull request #138628 from richabanker/metrics-docs-update-1.36
Make metric doc generation order-stable and update metrics docs for v1.36
2026-05-12 01:01:49 +05:30
Patrick Ohly
4a305f8fc7 DRA: fix component list for ResourceClaim metric
The endpoint-mappings.yaml file specifies which components use which
metrics. The case some, but not all core components (kube-controller-manager
and kube-scheduler in this case) sharing the same metrics was not
supported. This gets fixed by not returning early once the first file path
matches.

Not all metrics in pkg/controller/resourceclaim/metrics are shared. To make the
sharing clearer and fit into the file-path based component support in
endpoint-mappings.yaml, the shared metric gets moved to a new
pkg/resourceclaim/metrics package.
2026-05-11 12:31:45 +02:00
Stephen Kitt
a43aad2e83
tools: drop staticcheck
A newer version of staticcheck is available through golangci-lint, and
that is what the project is using. The direct dependency in tools is
unnecessary, this removes that.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-11 09:28:41 +02:00
Yongrui Lin
daae4100a6 hack: enable coverage fixture generation in update-codegen.sh
Pass -test-output-root and -test-allowlist to validation-gen so the
per-Kind coverage fixtures regenerate alongside the validators. Add the
allowlist YAML at test/declarative_validation/coverage-allowlist.yaml.
2026-05-09 19:11:01 +00:00
Jefftree
3cfb64b470 Remove kube-openapi from modern-go unwantedReferences 2026-05-09 13:20:11 -04:00
Jefftree
21b5db3b6f Remove kube-openapi from json-iterator unwantedReferences 2026-05-09 12:11:22 -04:00
Richa Banker
e8aa50b0b7 Update metrics docs for v1.36
Signed-off-by: Richa Banker <richabanker@google.com>
2026-05-08 17:21:19 -07:00
Lubomir I. Ivanov
21549a3ac2 hack/cherry_pick_pull.sh: use 'gh' to download patches
If GitHub is rate limited 'curl' can just download an HTML with
errors. Since 'gh' is already used in the script, use that instead.
2026-05-08 19:16:21 +02:00
Maciej Szulik
d39ded4c9a
Pin github.com/fsnotify/fsnotify to v1.9.0
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-07 20:12:36 +02:00
Kubernetes Prow Robot
56c6f6bf87
Merge pull request #138624 from kAvEh--/fix-130069-contextual-logging
fix: Refactor Kubelet to pass `klog.Logger` context for structured lo…
2026-05-07 13:43:28 +05:30
arcceus
024b7b2869
ran hack update-golangci-lint-config.sh 2026-05-07 12:03:31 +05:30