zoukankan      html  css  js  c++  java
  • Apollo环境配置

    一、背景

        Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。

    二、配置环境路径

    操作系统 server.properties hosts
    windows C:optsettingsserver.properties C:WindowsSystem32driversetchosts
    linux /opt/settings/server.properties /etc/hosts

    三、具体配置

    3.1 server.properties

    env=DEV

    目前,env持以下几个值(大小写不敏感):

      ● DEV

          ○ Development environment

      ● FAT

          ○ Feature Acceptance Test environment

      ● UAT

          ○ User Acceptance Test environment

      ● PRO

          ○ Production environment

    3.2 hosts

    192.168.1.153 dev.config.ynt.ai

    192.168.1.163 fat.config.ynt.ai

    192.168.1.173 uat.config.ynt.ai

    192.168.1.172 pro.config.ynt.ai

  • 相关阅读:
    逆序对的相关问题:bzoj1831,bzoj2431
    bzoj3211,bzoj3038
    hdu 1179最大匹配
    hdu 3038带权并查集
    poj 1733离散化(map)+并查集
    codeforces 369B
    poj 1456
    POJ 1988相对偏移
    poj 1986tarjan模板题
    poj 1330lca模板题离线算法
  • 原文地址:https://www.cnblogs.com/TechSnail/p/11939953.html
Copyright © 2011-2022 走看看