开发指南

如何参与 SuperEdge 开发

make

  • format, build and test: make

  • build: make build

  • build some cmd: make build BINS="lite-apiserver edgeadm"

  • build multi arch cmd: make build.multiarch BINS="lite-apiserver edgeadm" PLATFORMS="linux_amd64 linux_arm64"

  • build docker image: make image IMAGES="application-grid-controller application-grid-wrapper"

  • build multi arch docker image: make image.multiarch IMAGES="application-grid-controller application-grid-wrapper" PLATFORMS="linux_amd64 linux_arm64" VERSION="v2.0.0"

  • push mainfest: make manifest.multiarch IMAGES="application-grid-wrapper application-grid-controller" PLATFORMS="linux_amd64 linux_arm64" REGISTRY_PREFIX="docker.io/superedge" VERSION="v2.0.0"

  • clean: make clean

使用 edgeadm 部署

  • 将普通集群转换成边缘集群: edgeadm change --kubeconfig admin.kubeconfig

  • 将边缘集群回退成普通集群: edgeadm revert --kubeconfig admin.kubeconfig

  • edgeadm 详细使用

手工部署



最后修改 June 15, 2021 : Fixed error links and paths (fef537b)