随笔分类 -  集群

nginx grpc 试用
摘要:1. 编译 wget https://nginx.org/download/nginx-1.13.10.tar.gz tar xvf nginx-1.13.10.tar.gz cd nginx-1.13.10 ./configure --with-http_ssl_module --with-htt 阅读全文

posted @ 2018-05-09 16:15 荣锋亮 阅读(627) 评论(0) 推荐(0) 编辑

使用vigil 监控微服务系统包含可视化界面
摘要:1. 安装 a. rust cargo cargo install vigil-server b. docker docker pull valeriansaliou/vigil:v1.3.0 2. 配置说明 使用起来需要的就是配置文件 config.cfg,配置还是比较简单的,从字面意思可以看明白 阅读全文

posted @ 2018-03-30 14:51 荣锋亮 阅读(302) 评论(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 荣锋亮 阅读(614) 评论(0) 推荐(0) 编辑

nomad 安装(单机)试用
摘要:备注: nomad 可以实现基础设施的调度管理,类似kubernetes ,但是在多云以及多平台支持上比较好, 还是hashicrop 工具出品的,很不错,同时本地测试因为使用默认的job需要安装docker 1. 下载 备注: nomad 可以实现基础设施的调度管理,类似kubernetes ,但 阅读全文

posted @ 2017-11-30 15:52 荣锋亮 阅读(1361) 评论(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 荣锋亮 阅读(2408) 评论(0) 推荐(0) 编辑

terraform 阿里云基本使用
摘要:1. 预备环境 安装了terraform 的软件的操作系统(windows linux mac 均可) 具有阿里云账户的 access_key secret_key 2. 配置 // terraform 的配置相对比较随意,但是有几个必须注意的,文件后缀 tf 文件名不需要进行特殊说明 // 以下为 阅读全文

posted @ 2017-11-01 19:51 荣锋亮 阅读(8151) 评论(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 荣锋亮 阅读(2021) 评论(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 荣锋亮 阅读(1324) 评论(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 荣锋亮 阅读(1191) 评论(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 荣锋亮 阅读(3121) 评论(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 荣锋亮 阅读(1241) 评论(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 荣锋亮 阅读(1196) 评论(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 荣锋亮 阅读(903) 评论(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 荣锋亮 阅读(1010) 评论(0) 推荐(0) 编辑

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

posted @ 2017-10-05 18:36 荣锋亮 阅读(315) 评论(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 荣锋亮 阅读(280) 评论(0) 推荐(0) 编辑

fn project 生产环境使用
摘要:此为官方的参考说明 Running Fn in Production The QuickStart guide is intended to quickly get started and kick the tires. To run in production and be ready to sc 阅读全文

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

fn project 对象模型
摘要:Applications At the root of everything are applications. In fn, an application is essentially a grouping of functions with path mappings (routes) to e 阅读全文

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

fn project AWS Lambda 格式 functions
摘要:Creating Lambda Functions Creating Lambda functions is not much different than using regular functions, just use the lambda-node-4 runtime. fn init -- 阅读全文

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

fn project Function files 说明
摘要:主要是文件 func.yaml func.json 详细说明如下: An example of a function file: name: fnproject/hello version: 0.0.1 type: sync memory: 128 config: key: value key2: 阅读全文

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

导航