kubernetes/hack
Lubomir I. Ivanov bc2179d882 pause: fix version drift in various files
The latest pause version is 3.10.2 but due to the introduction
of the PATCH level version to the pause image (previously was
only MAJOR.MINOR), various files have remained on an older
version. Either 3.10 or 3.10.1. Our validation with
build/dependencies.yaml ./hack/verify-external-dependencies.sh
did not account for that.
2026-04-03 16:11:09 +02:00
..
boilerplate
conformance
e2e-internal
gen-swagger-doc
jenkins
kube-api-linter Add a linter exception for using maps. 2026-03-18 14:33:06 +00:00
lib Create Workload API v1alpha2 (#136976) 2026-03-10 07:59:10 +05:30
make-rules
testdata pause: fix version drift in various files 2026-04-03 16:11:09 +02:00
tools hack/tools: bump golangci-lint to v2.11.2 2026-03-09 10:24:31 +01:00
verify-flags
.descriptions_failures
.import-aliases Create Workload API v1alpha2 (#136976) 2026-03-10 07:59:10 +05:30
.spelling_failures
_update-generated-proto-bindings-dockerized.sh
_update-generated-protobuf-dockerized.sh
apidiff.sh
benchmark-go.sh
build-cross.sh
build-go.sh
cherry_pick_pull.sh
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-conformance.sh
diff-protobuf.sh
e2e-node-test.sh
generate-docs.sh
get-build.sh
ginkgo-e2e.sh
golangci-hints.yaml Add a linter exception for using maps. 2026-03-18 14:33:06 +00:00
golangci.yaml Add a linter exception for using maps. 2026-03-18 14:33:06 +00:00
golangci.yaml.in Merge pull request #137614 from kairosci/fix-golangci-trailing-whitespace 2026-03-11 16:59:45 +05:30
grab-profiles.sh
install-etcd.sh
install-protoc.sh
lint-dependencies.sh
local-up-cluster.sh Update CNI plugins to v1.9.1 2026-04-01 14:06:34 +05:30
logcheck.conf golangci-lint: bump to logtools v0.10.1 2026-03-04 12:08:18 +01:00
module-graph.sh
OWNERS
pin-dependency.sh
print-workspace-status.sh
README.md
run-prometheus-on-etcd-scrapes.sh
serve-prom-scrapes.sh
test-go.sh
unwanted-dependencies.json remove gopkg.in/yaml.v3 usage of cobra 2026-03-18 16:47:19 +08:00
update-all.sh
update-codegen.sh [KEP-4188] New Kubelet gRPC API with endpoint returning local Pod information 2026-03-18 23:07:36 +00:00
update-conformance-yaml.sh
update-featuregates.sh
update-generated-api-compatibility-data.sh
update-generated-docs.sh
update-generated-stable-metrics.sh
update-gofmt.sh
update-golangci-lint-config.sh
update-import-aliases.sh
update-internal-modules.sh
update-kustomize.sh
update-mocks.sh
update-netparse-cve.sh
update-openapi-spec.sh
update-owners-fmt.sh
update-translations.sh
update-vendor-licenses.sh
update-vendor.sh
verify-all.sh
verify-api-groups.sh
verify-boilerplate.sh
verify-cli-conventions.sh
verify-codegen.sh
verify-conformance-requirements.sh
verify-conformance-yaml.sh
verify-deadcode-elimination.sh Re-enable deadcode-elimination check 2026-03-05 16:57:02 -05:00
verify-description.sh
verify-e2e-images.sh
verify-e2e-test-ownership.sh
verify-external-dependencies-version.sh
verify-featuregates.sh
verify-fieldname-docs.sh
verify-file-sizes.sh
verify-flags-underscore.py
verify-generated-docs.sh
verify-generated-stable-metrics.sh
verify-gofmt.sh
verify-golangci-lint-config.sh
verify-golangci-lint-pr-hints.sh
verify-golangci-lint.sh
verify-govulncheck.sh
verify-import-aliases.sh
verify-import-boss.sh
verify-imports.sh
verify-internal-modules.sh
verify-licenses.sh
verify-mocks.sh
verify-netparse-cve.sh
verify-no-vendor-cycles.sh
verify-non-mutating-validation.sh
verify-openapi-docs-urls.sh
verify-openapi-spec.sh
verify-owners-fmt.sh
verify-pkg-names.sh
verify-prerelease-lifecycle-tags.sh
verify-prometheus-imports.sh Remove dep. Prometheus from test/e2e/node/pods.go 2026-03-11 19:14:35 +08:00
verify-publishing-bot.sh
verify-readonly-packages.sh
verify-shellcheck.sh
verify-spelling.sh
verify-staging-meta-files.sh
verify-test-code.sh
verify-test-featuregates.sh
verify-test-images.sh
verify-testing-import.sh
verify-typecheck.sh
verify-vendor-licenses.sh
verify-vendor.sh

Kubernetes hack GuideLines

This document describes how you can use the scripts from hack directory and gives a brief introduction and explanation of these scripts.

Overview

The hack directory contains many scripts that ensure continuous development of kubernetes, enhance the robustness of the code, improve development efficiency, etc. The explanations and descriptions of these scripts are helpful for contributors. For details, refer to the following guidelines.

Key scripts

  • verify-all.sh: This script is a vestigial redirection, Please do not add "real" logic. It is equivalent to make verify.
  • update-all.sh: This script is a vestigial redirection, Please do not add "real" logic. The true target of this makerule is hack/make-rules/update.sh.It is equivalent to make update.

Attention

Note that all scripts must be run from the Kubernetes root directory. We should run hack/verify-all.sh before submitting a PR and if anything fails run hack/update-all.sh.