Commit graph

10847 commits

Author SHA1 Message Date
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
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
Stephen Kitt
edf0df348c
Bump go.yaml.in/yaml/v2 to 2.4.4
This only changes tests to drop gopkg.in/check.v1, which helps our
dependency tree a little.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-06 18:24:52 +02:00
kaveh
25a83864e4 chore: remove redundant comments 2026-05-06 09:35:48 +02:00
Davanum Srinivas
30a9e7d1b3
Update gRPC ecosystem dependencies
- google.golang.org/grpc: v1.80.0 -> v1.81.0
- github.com/grpc-ecosystem/grpc-gateway/v2: v2.28.0 -> v2.29.0
- github.com/containerd/containerd/api: v1.10.0 -> v1.11.0
- github.com/containerd/ttrpc: v1.2.7 -> v1.2.8
- google.golang.org/genproto/googleapis/rpc: v0.0.0-20260406210006 -> v0.0.0-20260414002931
- google.golang.org/genproto/googleapis/api: v0.0.0-20260401024825 -> v0.0.0-20260414002931

Also update hack/unwanted-dependencies.json: containerd/containerd/api v1.11.0
no longer depends on github.com/golang/protobuf.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-05-05 20:06:14 -04:00
Kubernetes Prow Robot
2ead24d1e3
Merge pull request #136189 from bhope/metrics-beta-kubelet-volume
Promote volume metrics to beta
2026-05-06 05:04:21 +05:30
Prathamesh Bhope
610e615b35 Promote volume metrics to beta and strengthen the tests 2026-05-05 10:48:17 -07:00
kaveh
a80ae6bd7f chore: revert comment removal 2026-05-05 13:21:15 +02:00
kaveh
9de9edf220 chore: revert extra param added to logs 2026-05-05 11:59:59 +02:00
kaveh
9f3253114a chore: run hack/update-golangci-lint-config.sh 2026-05-04 23:06:25 +02:00
Kubernetes Prow Robot
0fe8ee1922
Merge pull request #138741 from dims/update-kube-openapi
bump k8s.io/kube-openapi to v0.0.0-20260502001324-b7f5293f4787
2026-05-04 22:50:52 +05:30
Kubernetes Prow Robot
135f25c532
Merge pull request #138717 from pohly/dra-upgrade-downgrade-etcd
DRA upgrade/downgrade: control etcd lifecycle directly
2026-05-04 17:19:40 +05:30
Kubernetes Prow Robot
d314f55491
Merge pull request #138705 from bart0sh/PR235-e2e_dra-reliability-fixes
e2e_dra: reliability fixes
2026-05-04 15:05:39 +05:30
Patrick Ohly
a2b0ea30b0 DRA upgrade/downgrade: run etcd directly
The local-up-cluster.sh script was used as proxy for controlling the etcd
lifecycle because the script was using a helper function that didn't support
dry-run mode. That approach was flawed in several ways, causing etcd to be left
running:

- Cmd.Stop wasn't actually called for the script by Cluster.Stop.
- If it had been called, the additional output during shutdown wouldn't
  have been processed, which might have caused the command to block instead
  of terminating (untested).
- It's unclear whether the script would have handled the signal properly.

A cleaner approach is to enable dry-run mode also in etcd .sh and then let
Cluster manage it like any other long-running process. Then we can let
local-up-cluster.sh terminate when it's done with its work. Cluster.Start can
check it's result immediately.
2026-05-04 09:24:47 +02:00
Humble Devassy Chirammal
ea67842860 etcd: update etcd image to v3.6.11
Update etcd images to v3.6.11 across build dependencies, kubeadm defaults,
GCE manifests, test manifests, and sample-apiserver deployment.

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2026-05-03 19:28:50 +05:30
Davanum Srinivas
36d8dd58bf
hack/unwanted-dependencies.json: drop k8s.io/kube-openapi from mailru/easyjson references
The new kube-openapi revision (v0.0.0-20260502001324-b7f5293f4787) no
longer pulls in github.com/mailru/easyjson, so remove it from the
status.unwantedReferences list to keep verify-vendor.sh green.
2026-05-01 20:56:42 -04:00
Kubernetes Prow Robot
9268179b80
Merge pull request #137105 from pohly/test-upstream-unit-tests
test: support running upstream unit tests
2026-05-01 23:49:24 +05:30
Kaveh Fazaeli
5354a598c4
Update hack/golangci-hints.yaml
Co-authored-by: Ed Bartosh <eduard.bartosh@intel.com>
2026-05-01 16:49:56 +02:00
Ed Bartosh
71706ad37f local-up-cluster: avoid downloading cfssl on every run
Cached cfssl under KUBERNETES_SERVER_CACHE_DIR
so it is downloaded only on the first run and reused afterwards.
This should speed up test execution.
2026-05-01 12:09:24 +03:00