registry-agent

command module
v0.0.0-...-14be73a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2022 License: MIT Imports: 5 Imported by: 0

README

registry-agent

实现k8s环境下spring cloud 项目不改代码去掉注册中心

将服务发现转为k8s service方式

使用方法:

  1. 为服务添加与FeignClient调用名相同的Service
  2. 将本项目编译为docker镜像
  3. 部署服务时使用Sidecar形式(或多容器)运行
  4. 指定服务注册中心地址为127.0.0.1:80

完成以上步骤即可

注: 目前仅支持nacos、consul的替换

注2: 暂时不支持使用注册中心获取配置功能

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL