随笔分类 -  分布式

service fabric docker 安装
摘要:1. 镜像拉取 docker pull microsoft/service-fabric-onebox 2. 配置docker(daemon.json) { "ipv6": true, "fixed-cidr-v6": "fd00::/64" } 3. 启动镜像 docker run -itd -p 阅读全文

posted @ 2018-03-16 14:44 荣锋亮 阅读(900) 评论(0) 推荐(1) 编辑

grpc rust 项目基本使用
摘要:1. 安装依赖(rust 基本依赖就不说了,需要配置环境变量) protoc 参考: https://github.com/google/protobuf/releases/tag/v3.5.1 2. 参考项目 https://github.com/rongfengliang/grpc-rustde 阅读全文

posted @ 2018-03-08 10:45 荣锋亮 阅读(701) 评论(0) 推荐(0) 编辑

fabio 安装试用&&实际使用的几个问题
摘要:备注: 因为fabio 依赖consul vault (不是强需),启动之前需要先安装consul, 本次为了简单consul 使用的是单机,使用的是dev 模式 1. conusl 安装&&启动 wget -O consul_1.0.1_linux_amd64.zip https://releas 阅读全文

posted @ 2018-02-11 21:53 荣锋亮 阅读(800) 评论(0) 推荐(0) 编辑

yugabyte cloud native db 基本试用
摘要:备注: 测试环境使用docker进行安装试用 1. 安装 a. Download mkdir ~/yugabyte && cd ~/yugabyte wget https://downloads.yugabyte.com/yb-docker-ctl && chmod +x yb-docker-ctl 阅读全文

posted @ 2018-02-11 10:51 荣锋亮 阅读(2062) 评论(0) 推荐(1) 编辑

conduit 安装试用
摘要:备注: 测试安装环境使用docker mac 版本(目前版本已经支持kubernetes了) 1. 基本安装 curl https://run.conduit.io/install | bash 配置环境变量 Copy /Users/dalong/.conduit/bin/conduit into 阅读全文

posted @ 2018-02-01 09:47 荣锋亮 阅读(943) 评论(0) 推荐(0) 编辑

ArangoDB Foxx service 使用
摘要:备注: 项目使用的是github https://github.com/arangodb-foxx/demo-hello-foxx 1. git clone git clone https://github.com/arangodb-foxx/demo-hello-foxx.git 2. 安装fox 阅读全文

posted @ 2017-12-18 15:45 荣锋亮 阅读(709) 评论(0) 推荐(0) 编辑

arangodb 安装简单试用
摘要:备注: 测试环境使用的是docker 1. 安装 docker run -p 8529:8529 -e ARANGO_ROOT_PASSWORD=openSesame arangodb/arangodb:3.2.9 2. 参考界面 3. 试用 我们需要创建对应的数据模型 collection gra 阅读全文

posted @ 2017-12-17 23:48 荣锋亮 阅读(637) 评论(0) 推荐(0) 编辑

tidb 集群扩容
摘要:1. tidb 新增节点 a. 编辑 inventory.ini [tidb_servers] 10.0.230.14 10.0.230.15 10.10.230.20 b. 初始化新增节点 ansible-playbook bootstrap.yml -k -K c. 部署集群 ansible-p 阅读全文

posted @ 2017-12-08 17:09 荣锋亮 阅读(597) 评论(0) 推荐(0) 编辑

tidb 安装试用&&以及安装几个问题解决
摘要:备注: tidb 听说已经很长时间了,一直无安装部署(主要是不像cockrouchdb 不见那么简单) 1. 环境准备(官方建议使用6台机器) // 我的机器准备(阿里云的,同时大家最好选择ssd的同时选择独享的,总之配置要高)使用vpc,中控机没写 10.0.230.14 pod1 10.0.23 阅读全文

posted @ 2017-12-08 16:54 荣锋亮 阅读(8986) 评论(0) 推荐(0) 编辑

cockroachdb 安装试用(单机伪分布式)
摘要:1. 下载 以下地址,选择对应的操作系统版本即可 https://www.cockroachlabs.com/docs/stable/install-cockroachdb.html 2. 启动 // 启动命令 cockroach start --insecure \ --host=xxxxx // 阅读全文

posted @ 2017-11-15 22:08 荣锋亮 阅读(2442) 评论(0) 推荐(0) 编辑

serf  简单使用
摘要:1. 介绍 // 以下为官方介绍,说白了就是进行系统的集群节点管理 Serf uses an efficient gossip protocol to solve three major problems: Membership: Serf maintains cluster membership 阅读全文

posted @ 2017-11-01 14:01 荣锋亮 阅读(2049) 评论(0) 推荐(0) 编辑

miniofs 配置使用
摘要:1. rpm // RPM 包下载 https://github.com/minio/minfs/releases/tag/RELEASE.2017-02-26T20-20-56Z // 安装 yum install minfs-0.0.20170226202056-1.x86_64.rpm 2. 阅读全文

posted @ 2017-10-11 16:17 荣锋亮 阅读(1352) 评论(0) 推荐(0) 编辑

openfaas 私有镜像配置
摘要:备注: 此项目是使用nodejs 生成唯一id 的\ 预备环境 docker harbor faas-cli openfaas k8s 1. 项目初始化 faas-cli new node --lang node // 修改node.yml 镜像名称、gateway 地址 修改之后如下: provi 阅读全文

posted @ 2017-10-10 13:40 荣锋亮 阅读(1224) 评论(0) 推荐(0) 编辑

openfaas 架构介绍
摘要:此为官方介绍 Overview of OpenFaaS Function Watchdog You can make any Docker image into a serverless function by adding the Function Watchdog (a tiny Golang 阅读全文

posted @ 2017-10-08 12:14 荣锋亮 阅读(3132) 评论(0) 推荐(0) 编辑

openfaas 简单试用
摘要:1. 安装 faas-cli 参考以前文章,或者使用官方的shell脚本 2. 简单例子 mkdir rong cd rong faas-cli new rong --lang python // 默认会有简单的测试code // 生成的项目代码 rong rong.yml template // 阅读全文

posted @ 2017-10-08 12:09 荣锋亮 阅读(1253) 评论(0) 推荐(0) 编辑

openfaas cli 安装
摘要:1. 安装脚本 curl -sL https://cli.get-faas.com/ | sudo sh 备注安装完成之后如果没有 faas-cli 可以下载脚本,手工执行 2. 使用二进制包 https://github.com/openfaas/faas/releases 配置环境变量即可 即可 阅读全文

posted @ 2017-10-08 11:51 荣锋亮 阅读(1206) 评论(0) 推荐(0) 编辑

openfaas 安装(docker swarm 模式)
摘要:备注:为了简单使用的是docker-compose 进行组件的安装 预备环境: docker (配置好 swarm 集群模式) docker-compose 1. docker 安装 此处略去,建议使用docker-ce 新版本 2. 配置 swarm 模式 2. 配置 swarm 模式 2. 配置 阅读全文

posted @ 2017-10-08 11:49 荣锋亮 阅读(934) 评论(0) 推荐(0) 编辑

openfaas 了解
摘要:1. 官方介绍 OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker which has first class support for metrics. Any 阅读全文

posted @ 2017-10-08 10:05 荣锋亮 阅读(1032) 评论(0) 推荐(0) 编辑

fn project 试用之后的几个问题的解答
摘要:今天试用fnproject 之后自己有些思考,后面继续解决 1. 目前测试是强依赖 dockerhub 的,实际可能不是很方便 2. 如何与k8s 、mesos、docker swarm 集成 3. security 如何做 4. 现有基础设施改造 5. 监控、服务追踪、日志的处理 6. 持续集成如 阅读全文

posted @ 2017-10-05 18:36 荣锋亮 阅读(319) 评论(0) 推荐(0) 编辑

fn project 扩展
摘要:目前支持的扩展方式 Listeners - listen to API events such as a route getting updated and react accordingly. Middleware - a chain of middleware is executed befor 阅读全文

posted @ 2017-10-05 18:16 荣锋亮 阅读(284) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示