1 Star 1 Fork 1

我一定会回来 / nacos-springboot-mesh

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

build

docker build -f Dockerfile -t spring-boot-istio-provider:0.0.1 .
docker build -f Dockerfile -t spring-boot-istio-consumer:0.0.1 .

部署

k apply -f consumer.yml -n istio-nacos-mesh
k apply -f provider.yml -n istio-nacos-mesh

istio 配置注意的地方

  • 添加xds 在configmap中
rootNamespace: istio-system
trustDomain: cluster.local
configSources:
- address: xds://192.168.27.173:18848
  • 配置dns-proxy.
cat <<EOF | istioctl install --set profile=demo -y -f -
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  meshConfig:
    defaultConfig:
      proxyMetadata:
        # Enable basic DNS proxying
        ISTIO_META_DNS_CAPTURE: "true"
        # Enable automatic address allocation, optional
        ISTIO_META_DNS_AUTO_ALLOCATE: "true"
EOF

查看consumer的服务列表

./istioctl proxy-config clusters spring-boot-istio-consumer-596bd74f45-znq65 -n istio-nacos-mesh

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/ourteam/nacos-springboot-mesh.git
git@gitee.com:ourteam/nacos-springboot-mesh.git
ourteam
nacos-springboot-mesh
nacos-springboot-mesh
master

搜索帮助