kubernetes/hack
joshjms 24edc6e90f Update etcd to 3.5.21
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-04-02 02:16:38 +08:00
..
boilerplate
conformance
e2e-internal
gen-swagger-doc
jenkins CI integration scripts: reduce log noise from installing etcd 2025-03-20 11:59:32 -07:00
lib Update etcd to 3.5.21 2025-04-02 02:16:38 +08:00
make-rules test: switch gotestsum quiet output format 2025-03-20 12:09:44 +01:00
testdata kubectl debug: Display a warning message that the debug container's capabilities may not work with a non-root user (#127696) 2025-03-19 00:50:30 -07:00
tools Bump hack/tools to github.com/golangci/golangci-lint 1.64.5 for go 1.24 2025-02-26 11:27:14 +01:00
verify-flags
.descriptions_failures Add missing comments in k8s.io/api/core/v1 2024-11-07 18:42:33 -08:00
.import-aliases
.spelling_failures
OWNERS
README.md
_update-generated-proto-bindings-dockerized.sh
_update-generated-protobuf-dockerized.sh
apidiff.sh chore: Update apidiff.sh script description 2024-12-16 13:44:48 -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
e2e-node-test.sh
generate-docs.sh
get-build.sh
ginkgo-e2e.sh hack/ginkgo-e2e.sh: forward TERM/INT to Ginkgo 2025-01-17 16:28:41 +01:00
golangci-hints.yaml hack: fix text 2025-03-10 14:31:08 +02:00
golangci.yaml hack: fix text 2025-03-10 14:31:08 +02:00
golangci.yaml.in hack: fix text 2025-03-10 14:31:08 +02:00
grab-profiles.sh
install-etcd.sh install-ectd.sh: brace PATH and suggest user export 2025-03-13 11:23:53 -07:00
install-protoc.sh
lint-dependencies.sh
list-feature-tests.sh
local-up-cluster.sh node: kep-2625: cpu manager policy options GA 2025-03-20 08:31:32 +01:00
logcheck.conf kubelet: Migrate pkg/kubelet/sysctl to contextual logging 2025-01-30 10:31:58 +02:00
module-graph.sh
pin-dependency.sh
print-workspace-status.sh
run-prometheus-on-etcd-scrapes.sh
serve-prom-scrapes.sh
test-go.sh
unwanted-dependencies.json Lock down gofuzz in deps 2025-03-08 15:22:01 -08:00
update-all.sh
update-codegen.sh chore(validation-gen): rename flag --extra-pkg -> --readonly-pkg in validation-gen 2025-03-11 19:17:48 +00:00
update-conformance-yaml.sh
update-featuregates.sh feat: Refactors featuregate lifecycle management script 2025-03-13 21:57:21 +00:00
update-generated-api-compatibility-data.sh
update-generated-docs.sh
update-generated-stable-metrics.sh
update-gofmt.sh
update-golangci-lint-config.sh golangci-lint: remove "strict" checking 2025-02-02 18:50:27 +01:00
update-import-aliases.sh
update-internal-modules.sh
update-kustomize.sh
update-mocks.sh Honor KUBE_HACK_TOOLS_GOTOOLCHAIN 2025-02-14 13:01:59 -05:00
update-netparse-cve.sh Honor KUBE_HACK_TOOLS_GOTOOLCHAIN 2025-02-14 13:01:59 -05:00
update-openapi-spec.sh Allow OpenAPI verification to pass both with and without strict alpha 2025-03-05 21:31:40 +00:00
update-translations.sh
update-vendor-licenses.sh
update-vendor.sh
update-yamlfmt.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-description.sh
verify-e2e-images.sh
verify-e2e-suites.sh
verify-e2e-test-ownership.sh
verify-external-dependencies-version.sh
verify-featuregates.sh feat: Refactors featuregate lifecycle management script 2025-03-13 21:57:21 +00: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 hack: verify to verify-golangci-lint.sh 2025-03-10 14:37:13 +02:00
verify-golangci-lint-pr-hints.sh
verify-golangci-lint-pr.sh
verify-golangci-lint.sh Update hack/verify-golangci-lint.sh 2025-03-11 11:45:45 -07:00
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 Allow OpenAPI verification to pass both with and without strict alpha 2025-03-05 21:31:40 +00:00
verify-pkg-names.sh
verify-prerelease-lifecycle-tags.sh
verify-prometheus-imports.sh
verify-publishing-bot.sh Honor KUBE_HACK_TOOLS_GOTOOLCHAIN 2025-02-14 13:01:59 -05:00
verify-readonly-packages.sh
verify-shellcheck.sh
verify-spelling.sh Honor KUBE_HACK_TOOLS_GOTOOLCHAIN 2025-02-14 13:01:59 -05:00
verify-staging-meta-files.sh
verify-test-code.sh
verify-test-featuregates.sh chore: Remove unused unversioned feature gate map by consolidating feature gate files 2025-03-19 20:02:53 +00:00
verify-test-images.sh
verify-testing-import.sh
verify-typecheck.sh
verify-vendor-licenses.sh
verify-vendor.sh
verify-yamlfmt.sh

README.md

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.