kubernetes/hack
Kubernetes Prow Robot 437184c055
Merge pull request #136292 from atombrella/feature/modernize_plusbuild
Remove obsolete `// +build` instruction.
2026-01-26 19:05:59 +05:30
..
boilerplate Remove year from copyright header boilerplate 2025-10-23 16:50:13 -07:00
conformance
e2e-internal
gen-swagger-doc
jenkins
kube-api-linter Merge pull request #135470 from Ignoramuss/optionalorrequired-scheduling 2026-01-21 21:21:28 +05:30
lib etcd: Update etcd to v3.6.7 2025-12-18 19:05:14 +05:30
make-rules make test: fix support for PARALLEL 2025-12-30 12:22:13 +01:00
testdata Update agnhost to 2.61 and etcd to 3.6.7-0 in test manifests 2026-01-18 20:39:57 -05:00
tools update sigs.k8s.io/kube-api-linter to latest 2026-01-14 20:02:30 +00:00
verify-flags
.descriptions_failures
.import-aliases
.spelling_failures
_update-generated-proto-bindings-dockerized.sh
_update-generated-protobuf-dockerized.sh
apidiff.sh apidiff: autodetect remote and default branch 2025-11-20 16:48:02 -08:00
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 remove calls to kube::build::build_image and kube::build::copy_output 2025-10-13 09:47:24 -07:00
diff-protobuf.sh
e2e-node-test.sh
generate-docs.sh
get-build.sh
ginkgo-e2e.sh
golangci-hints.yaml Merge pull request #136292 from atombrella/feature/modernize_plusbuild 2026-01-26 19:05:59 +05:30
golangci.yaml Merge pull request #136292 from atombrella/feature/modernize_plusbuild 2026-01-26 19:05:59 +05:30
golangci.yaml.in Enforce plusbuild rule with golangci-lint 2026-01-19 20:27:56 +01:00
grab-profiles.sh
install-etcd.sh
install-protoc.sh
lint-dependencies.sh
local-up-cluster.sh cleanup: improve darwin error messages 2026-01-23 09:30:07 +05:30
logcheck.conf Merge pull request #135432 from pohly/apimachinery-featuregate-contextual-logging 2026-01-14 01:11:35 +05:30
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 Merge pull request #136419 from pacoxu/add-google-btree-unwanted 2026-01-22 19:17:28 +05:30
update-all.sh
update-codegen.sh Revert "Implement validation-gen lint for CI" 2025-10-22 18:02:06 +00:00
update-conformance-yaml.sh
update-featuregates.sh add utility for generating markdown for feature gates 2025-12-18 22:53:56 -05:00
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
verify-description.sh
verify-e2e-images.sh e2e: suppress or ignore init log output 2026-01-07 14:11:33 +01:00
verify-e2e-test-ownership.sh
verify-external-dependencies-version.sh
verify-featuregates.sh hack/verify-featuregates.sh: print failure information to stderr 2025-12-26 10:37:10 +01:00
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 Remove some unused bits of verify-golangci-lint.sh 2025-09-23 08:39:49 -04:00
verify-govulncheck.sh
verify-import-aliases.sh
verify-import-boss.sh
verify-imports.sh
verify-internal-modules.sh
verify-licenses.sh Update allowed-thir-party-license-policy.md link 2025-12-11 17:10:35 +01:00
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
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 Record and require all kube-feature dependencies 2025-10-15 10:29:15 -07:00
verify-test-images.sh
verify-testing-import.sh
verify-typecheck.sh Fix flaky typecheck: enforce serial execution to prevent OOM 2026-01-09 10:40:43 +05:30
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.