kubernetes/hack
Davanum Srinivas 4ecb4670cc
Remove unnecessary ETCD_UNSUPPORTED_ARCH for arm64
we should only use this env var for `arm`, since `arm64` is fully
supported by etcd folks, let us drop this!

(ex - https://github.com/etcd-io/etcd/releases/tag/v3.5.6)

ppc64le comment should be dropped as well

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-02-16 21:29:13 -05:00
..
boilerplate Make boilerplate.py smarter about generated 2023-01-21 11:16:13 -08:00
conformance e2e: accept context from Ginkgo 2022-12-10 19:50:18 +01:00
e2e-internal
gen-swagger-doc
jenkins Defer builds to test-cmd and test-integration targets 2023-02-01 15:35:14 -05:00
lib Remove unnecessary ETCD_UNSUPPORTED_ARCH for arm64 2023-02-16 21:29:13 -05:00
make-rules Merge pull request #115246 from thockin/codegen-11-swagger-from-update-codegen 2023-01-22 11:24:10 -08:00
testdata Updating pause image refernces to 3.9 2022-11-14 10:24:54 -08:00
tools hack/tools: Bump golangci-lint version 2023-02-06 12:27:16 +05:30
verify-flags
.descriptions_failures
.import-aliases
.spelling_failures Add gimme 2023-02-01 16:34:23 -05: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 e2e: revise complete report creation 2023-02-10 10:20:20 +01:00
grab-profiles.sh
install-etcd.sh
install-protoc.sh Add helper script to install protoc 2023-01-26 18:00:08 -05:00
lint-dependencies.sh Guard against merging non-canonical replace directives 2022-11-17 13:00:12 -05:00
list-feature-tests.sh
local-up-cluster.sh Fix lint errors at local-up-cluster.sh 2023-01-18 12:20:33 +01:00
logcheck.conf Add ctx logging involved in KS startup (#115588) 2023-02-13 09:19:29 -08:00
module-graph.sh
OWNERS
pin-dependency.sh
print-workspace-status.sh
README.md
run-in-gopath.sh
run-prometheus-on-etcd-scrapes.sh
serve-prom-scrapes.sh
test-go.sh
test-integration.sh
unwanted-dependencies.json Add golang.org/x/lint to unwanted dependencies 2023-02-02 17:12:23 -05:00
update-all.sh
update-codegen.sh Generate proto uncontainerized if host has required protoc version 2023-01-26 18:00:10 -05:00
update-conformance-yaml.sh
update-generated-api-compatibility-data.sh
update-generated-docs.sh
update-generated-proto-bindings-dockerized.sh Check protoc version strictly 2023-01-26 18:00:06 -05:00
update-generated-protobuf-dockerized.sh Check protoc version strictly 2023-01-26 18:00:06 -05:00
update-generated-stable-metrics.sh
update-gofmt.sh Make update-gofmt use ls-files 2023-01-22 15:16:23 -08:00
update-import-aliases.sh
update-internal-modules.sh
update-kustomize.sh
update-mocks.sh Codegen: use ls files and pre-remove gen'ed mocks 2023-01-21 17:29:13 -08:00
update-netparse-cve.sh Make update-netparse-cve use ls-files 2023-01-22 15:21:37 -08:00
update-openapi-spec.sh Remove openapi files before regen 2023-01-21 17:46:22 -08:00
update-translations.sh
update-vendor-licenses.sh Licensing: skip modules with fewer subdirs than mods 2023-01-03 16:48:35 +01:00
update-vendor.sh
update-yamlfmt.sh Make verify-yamlfmt.sh use git worktree 2022-12-26 17:14:58 -08:00
verify-all.sh
verify-api-groups.sh
verify-boilerplate.sh
verify-cli-conventions.sh
verify-codegen.sh Simplify verify-codegen to use worktrees 2023-01-21 11:16:15 -08:00
verify-conformance-requirements.sh
verify-conformance-yaml.sh
verify-description.sh
verify-e2e-test-ownership.sh
verify-external-dependencies-version.sh
verify-fieldname-docs.sh Fix the name violation in apiextensions.k8s.io/v1,CustomResourceConversion, remove the failures file 2023-01-19 22:08:29 +08:00
verify-flags-underscore.py use python3 in hack 2023-01-12 11:20:41 +08:00
verify-generated-docs.sh
verify-generated-stable-metrics.sh
verify-gofmt.sh
verify-golangci-lint.sh
verify-govet-levee.sh
verify-govet.sh
verify-import-aliases.sh
verify-import-boss.sh
verify-imports.sh
verify-internal-modules.sh
verify-licenses.sh Merge pull request #114858 from acpana/acpana/fix-verify-licenses 2023-01-05 23:15:58 -08:00
verify-mocks.sh Make verify-mocks.sh use git worktree 2022-12-26 17:14:14 -08:00
verify-netparse-cve.sh
verify-no-vendor-cycles.sh
verify-non-mutating-validation.sh
verify-openapi-spec.sh
verify-pkg-names.sh
verify-prerelease-lifecycle-tags.sh
verify-prometheus-imports.sh
verify-publishing-bot.py use python3 in hack 2023-01-12 11:20:41 +08:00
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-typecheck-providerless.sh
verify-typecheck.sh
verify-vendor-licenses.sh
verify-vendor.sh Improve vendor verification works for each staging repo 2023-01-10 09:30:47 -05:00
verify-yamlfmt.sh Make verify-yamlfmt.sh use git worktree 2022-12-26 17:14:58 -08:00

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.