Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.13 KB

development.md

File metadata and controls

38 lines (26 loc) · 1.13 KB

Development Guide

How to build Kube-OVN

Kube-OVN is developed by Go 1.14 and uses Go Modules to manage dependency.

To minimize image size we use docker experiment buildx features, please enable it through the reference.

We also use gosec to inspects source code for security problems.

git clone https://github.com/alauda/kube-ovn.git
go get -u github.com/securego/gosec/cmd/gosec
cd kube-ovn
make release

How to run e2e tests

Kube-OVN uses KIND to setup a local Kubernetes cluster and j2cli to render template and Ginkgo as the test framework to run the e2e tests.

go get -u github.com/onsi/ginkgo/ginkgo
go get -u github.com/onsi/gomega/...

make kind-init
# wait all pod ready
make e2e

ARM support

If you want to run Kube-OVN on arm64 platform, you need to build the arm64 images with docker multi-platform build.

make release-arm