mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-21 17:39:59 -04:00
Address review feedback: remove redundant content, personal preferences, and domain-specific rules better suited to scoped subdirectory files. Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
1.1 KiB
1.1 KiB
Kubernetes
Communication Preferences
- Dry, concise, low-key humor. No flattery, no forced memes. Skip preambles and postambles.
- Comments explain "why", not "what".
- Error messages: actionable and specific. No vague "something went wrong" output.
Constraints
- Generated files are read-only. Never hand-edit
zz_generated.*orgenerated.pb.go. Runmake update. - go.mod/go.work are generated. Use
hack/pin-dependency.sh+hack/update-vendor.sh. Nevergo mod tidy. - Staging is source of truth for
k8s.io/*(staging/src/k8s.io/). Never importk8s.io/kubernetesfrom staging. - Boilerplate required. Every
.gofile needs the license header fromhack/boilerplate/boilerplate.go.txt.
Commands
Run make help for all available targets. Common workflows:
make test WHAT=./pkg/kubelet GOFLAGS=-v # Unit tests (one package)
make test-integration WHAT=./test/integration/scheduler
make verify # All verification checks
make update # ALL generators and formatters
Style
- Packages: lowercase, single word, match directory.