Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1002 Bytes

contributor-guide.md

File metadata and controls

42 lines (34 loc) · 1002 Bytes

Contributor Guide

Required Tools

Build and Run

Build descheduler.

cd $GOPATH/src/sigs.k8s.io
git clone https://github.com/kubernetes-sigs/descheduler.git
cd descheduler
make

Run descheduler.

./_output/bin/descheduler --kubeconfig <path to kubeconfig> --policy-config-file <path-to-policy-file> --v 1

View all CLI options.

./_output/bin/descheduler --help

Run Tests

GOOS=linux make dev-image
kind create cluster --config hack/kind_config.yaml
kind load docker-image <image name>
kind get kubeconfig > /tmp/admin.conf
make test-unit
make test-e2e

Miscellaneous

See the hack directory for additional tools and scripts used for developing the descheduler.