mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 18:19:28 +00:00
```
$ make
go version go1.20.4 linux/amd64
+++ [0506 13:21:33] Building go targets for linux/amd64
./cmd/kube-proxy (static)
./cmd/kube-apiserver (static)
./cmd/kube-controller-manager (static)
./cmd/kubelet (non-static)
./cmd/kubeadm (static)
./cmd/kube-scheduler (static)
./staging/src/k8s.io/component-base/logs/kube-log-runner (static)
./staging/src/k8s.io/kube-aggregator (static)
./staging/src/k8s.io/apiextensions-apiserver (static)
./cluster/gce/gci/mounter (non-static)
./cmd/kubectl (static)
./cmd/kubectl-convert (static)
github.com/onsi/ginkgo/v2/ginkgo (non-static)
./test/e2e/e2e.test (test)
./test/conformance/image/go-runner (non-static)
./cmd/kubemark (static)
github.com/onsi/ginkgo/v2/ginkgo (non-static)
./test/e2e_node/e2e_node.test (test)
```
before:
real 4m31.100s
user 21m1.466s
sys 2m23.546s
after:
real 3m46.591s
user 16m34.665s
sys 2m1.553s
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 tomake verify.update-all.sh: This script is a vestigial redirection, Please do not add "real" logic. Thetruetarget of this makerule ishack/make-rules/update.sh.It is equivalent tomake 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.