1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/kubesphere-openelb

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
how-to-build.md 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
FeynmanZhou Отправлено 12.07.2020 19:20 13016b6

How to Build Porter Project

Prerequisites

  1. Go 1.11, the plugin uses gobgp to create BGP client, and godgp requires Go 1.11.
  2. Docker
  3. Kustomize,it uses kustomize to dynamically generate the k8s yaml files needed for the cluster.
  4. If you need to push the plugin image to the remote private repository, you need to execute docker login in advance.

Steps

  1. Execute git clone https://github.com/kubesphere/porter.git, then enter into the folder.
  2. Following with the above guides to modify the config.toml (Under config/bgp/).
  3. (Optional)Modify the code according to your needs.
  4. (Optional)Modify the parameters of the image according to your needs (Under config/manager).
  5. (Optional)Follow the Simulation Tutorial to deploy a Bird node, then modify the BirdIP in hack/test.sh, and run make e2e-test for e2e testing.
  6. Modify the IMG name in the Makefile, then run make release, and the final yaml file is under /deploy.
  7. Execute kubectl apply -f deploy/release.yaml to deploy porter as a plugin.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/kubesphere-openelb.git
git@api.gitlife.ru:oschina-mirror/kubesphere-openelb.git
oschina-mirror
kubesphere-openelb
kubesphere-openelb
master