Commit Graph

10471 Commits

Author SHA1 Message Date
zhangzhifei16
911df655d3 chore: migrate kubelet lifecycle to contextual logging. 2025-07-22 10:14:42 +08:00
Kubernetes Prow Robot
47d9d86326 Merge pull request #133028 from saschagrunert/deviceplugin-proto
Convert `k8s.io/kubelet/pkg/apis/deviceplugin` from gogo to protoc
2025-07-21 14:14:55 -07:00
Kubernetes Prow Robot
ba35c0613d Merge pull request #132427 from soma00333/kuberuntime-contextual-logging-1
feat(kubelet): migrate kuberuntime to contextual logging
2025-07-21 05:50:36 -07:00
Kubernetes Prow Robot
015e79ed04 Merge pull request #130727 from swatisehgal/mm-mgr-contexual-logging
node: mm-mgr: Migrate Memory Manager to contextual logging
2025-07-21 05:50:29 -07:00
Sascha Grunert
3026020b44 Convert k8s.io/kubelet/pkg/apis/deviceplugin from gogo to protoc
Use standard protoc for the device plugin API instead of gogo.

Part of kubernetes#96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-21 10:04:01 +02:00
Kubernetes Prow Robot
c44bf18b9b Merge pull request #130713 from ArkaSaha30/bump-pause-version
dependency: update pause version to registry.k8s.io/pause:3.10.1
2025-07-20 20:16:26 -07:00
Swati Sehgal
b8758ac31b node: mm-mgr: migrate to contextual logging
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-07-20 21:50:58 +01:00
soma00333
ab839c93ff feat(kubelet): migrate kuberuntime to contextual logging 2025-07-20 09:47:50 +09:00
soma00333
7ddb042626 feat(cmd/kubelet): support structured and contextual logging 2025-07-19 17:10:37 +09:00
Kubernetes Prow Robot
5e83b9c2c2 Merge pull request #129942 from bart0sh/PR171-migrate-some-kubelet-components-to-contextual-logging
Migrate kubelet/{apis,kubeletconfig,nodeshutdown,pod,preemption} to contextual logging
2025-07-18 20:28:25 -07:00
Sascha Grunert
532d48fe6a Convert k8s.io/kubelet/pkg/apis/podresources from gogo to protoc
Use standard protoc for the pod resources instead of gogo.

Part of kubernetes#96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-17 14:56:44 +02:00
Ed Bartosh
4bc2ad6eea migrate pkg/kubelet/preemption to contextual logging 2025-07-17 10:16:03 +03:00
Ed Bartosh
b96e3cac74 migrate pkg/kubelet/pod to contextual logging 2025-07-17 10:16:03 +03:00
Ed Bartosh
0cb31bc407 migrate pkg/kubelet/nodeshutdown to contextual logging 2025-07-17 10:16:03 +03:00
Ed Bartosh
75ccd69bab migrate pkg/kubelet/kubeletconfig to contextual logging 2025-07-17 10:16:03 +03:00
Ed Bartosh
7dad9e2af6 migrate pkg/kubelet/apis to contextual logging 2025-07-17 10:15:58 +03:00
Kubernetes Prow Robot
5df27c4922 Merge pull request #132833 from saschagrunert/kms-gogo
Convert `k8s.io/kms/apis` from gogo to protoc
2025-07-16 12:12:24 -07:00
Sascha Grunert
8e6651520e Convert k8s.io/kms/apis from gogo to protoc
Use standard protoc for the kms APIs instead of gogo.

Part of kubernetes#96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-16 16:46:39 +02:00
Patrick Ohly
6e1875fac9 local-up-cluster.sh: don't require to be invoked in the root
It's normal for shell scripts to change the current directory if they expect to
run in the repo root.
2025-07-15 12:54:40 +02:00
Patrick Ohly
356be5ae30 DRA E2E: move upgrade/downgrade test into test/e2e_dra
It's similar to test/e2e_kubeadm in the sense that it is a test which must be
excluded from both "make test" and "make integration" by default.
2025-07-15 12:54:40 +02:00
Davanum Srinivas
ebc1ccc491 Bump k8s.io/kube-openapi to latest SHA (f3f2b991d03b)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-14 07:24:48 -04:00
Kubernetes Prow Robot
d9f93d9e9d Merge pull request #132867 from pohly/local-up-cluster-enhancements
local-up-cluster: cleanup, support automated upgrade/downgrade testing
2025-07-10 09:45:28 -07:00
Ed Bartosh
bbab594110 local-up-cluster: stop running Docker
It's been a long time since Kubernetes stopped to use Docker
as a runtime. Modified script to stop Docker as Kubelet is using
containerd directly. Removed Docker-specific logic and variables,
adjusted comments and configuration.
2025-07-10 15:30:56 +02:00
Ed Bartosh
f57662856f local-up-cluster: store logs in artifacts directory
Store logs in a temporary subdirectory under the artifacts directory
when running in CI. This ensures logs are available in the prow
web UI for easier access and debugging.
2025-07-10 15:30:56 +02:00
Ed Bartosh
81b6e1d3a3 local-up-cluster: start containerd before Docker
Configure and start containerd before starting Docker, ensuring that
Docker detects and uses the running containerd instance instead of
launching its own. This allows us to customize containerd’s
configuration, such as enabling CDI support, which is not possible when
Docker manages containerd itself.

Set root and state paths for containerd to make it working the same way
as when Docker runs it.
2025-07-10 15:30:56 +02:00
Ed Bartosh
27a77370dd local-up-cluster: simplify installing packages
- Don't reinstall docker, containerd and runc as kubekins image
  already has their recent versions.
- Avoid breaking dependencies when installing nfttables and kmod.
- Install only packages that don't exist in the image.
2025-07-10 15:30:56 +02:00
Patrick Ohly
ddda1dca33 local-up-cluster.sh: add dry-run mode
This may be useful during manual invocations to see what commands would be
executed and with which parameters, without actually running them.

But the main purpose is to use this mode in automated upgrade/downgrade testing
where the caller parses the output to execute those commands under its own
control. Such a caller can then replaced individual component binaries with
those from other releases.
2025-07-10 15:30:56 +02:00
Patrick Ohly
bc5aa94d8d local-up-cluster.sh: allow configuring all ports
Some ports (apiserver, one kubelet port) were already configurable.
Several others were not.

Primarily this is done to document the ports which are in used by the different
components.
2025-07-10 13:09:19 +02:00
Patrick Ohly
a4b1d26b14 local-up-cluster.sh: dump config on KUBE_VERBOSE >= 2
Showing the configuration (= variable assignments) without going all the way to
KUBE_VERBOSE > 4 is useful.
2025-07-10 13:09:18 +02:00
Kubernetes Prow Robot
9a50e30636 Merge pull request #132668 from dims/fix-todos-from-sorted-features-original-pr
Fix todos from sorted features golangci-lint plugin PR
2025-07-09 13:15:26 -07:00
ArkaSaha30
621482d68b update pause version to 3.10.1
This commit will update the pause version to 3.10.1 as per thread: https://kubernetes.slack.com/archives/CJH2GBF7Y/p1741674313893029

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-07-09 16:38:14 +05:30
Kubernetes Prow Robot
4fedef93d1 Merge pull request #132820 from dims/update-to-v1.1.4-for-golang.org/x/vuln/cmd/govulncheck
Update to v1.1.4 for golang.org/x/vuln/cmd/govulncheck
2025-07-08 20:01:33 -07:00
Kubernetes Prow Robot
b0e1a16e94 Merge pull request #132155 from vekarpov/132153
feat verify-goluncheck: add -q flag for git worktree command
2025-07-08 11:45:27 -07:00
Davanum Srinivas
637bf55cbc bump golang.org/x/vuln/cmd/govulncheck to v1.1.4
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-08 13:48:26 -04:00
Sascha Grunert
841886df76 Convert externaljwt from gogo to protoc
Use standard protoc for the `externaljwt` package instead of gogo.

Part of https://github.com/kubernetes/kubernetes/issues/96564

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-08 08:08:30 +02:00
Patrick Ohly
b22ffdb48f golangci-lint: exclude naming convention check for swagger docs
This started to show up now as linter hints at the start of the 1.34 cycle in
all PRs which modify the API. We don't want to enforce that convention in that
generated code, so suppressing it.
2025-07-06 16:54:04 +02:00
Sascha Grunert
b464bbeb8f Remove gogo-protobuf from CRI
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2025-07-04 08:55:57 +02:00
Davanum Srinivas
1514568ddf rename sortedfeatures -> sorted
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-01 22:12:26 -04:00
Davanum Srinivas
9e1a21816d update README
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-01 22:03:22 -04:00
Davanum Srinivas
5cebe66b64 update log line
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-01 21:57:50 -04:00
Jefftree
ec6471f63e Remove gnostic-models gopkg.in/yaml.v3 unwanted dependency 2025-07-01 15:56:40 +00:00
Kubernetes Prow Robot
c6539bc785 Merge pull request #132284 from ArkaSaha30/bump-etcd-3.6.1
Bump etcd to v3.6.1
2025-06-30 11:00:35 -07:00
Davanum Srinivas
f2d8b7ec2c Add linter to report on unsorted feature gates
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-27 11:05:13 -04:00
Kubernetes Prow Robot
ec1803cab8 Merge pull request #132509 from yongruilin/fix-make-vet
chore: Remove vet target and associated script from Makefile and hack directory
2025-06-26 00:26:34 -07:00
Kubernetes Prow Robot
b3e438aef9 Merge pull request #132220 from BenTheElder/a-little-owners-cleanup
emeritus spiffxp and backfill OWNERS
2025-06-25 19:16:28 -07:00
yongruilin
8b2eb9090e chore: Remove vet target and associated script from Makefile and hack directory 2025-06-25 17:39:14 +00:00
Kubernetes Prow Robot
8d2a5a2c9c Merge pull request #132499 from liggitt/unwanted-json-patch-v5
Add json-patch v4 compatibility test
2025-06-24 09:54:35 -07:00
Stephen Kitt
2ca4ffe653 Add evanphx/json-patch/v5 to unwanted dependencies
This comes up periodically; bumping to v5 introduces issues with
replace operations in JSON patches. k/k relies on non-RFC-compliant
operations which v5 no longer allows.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-06-24 09:18:04 -04:00
Davanum Srinivas
138e363e41 cleanup shellcheck for temporary HOME directory
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-19 11:48:15 -04:00
Davanum Srinivas
cfff359b41 fix for gimme when $HOME is not writable
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-18 18:01:28 -04:00