随笔分类 -  cloud native

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 荣锋亮 阅读(1248) 评论(0) 推荐(0)

转 OpenFaaS 介绍
摘要:来源: https://thenewstack.io/openfaas-put-serverless-function-container/?utm_source=tuicool&utm_medium=referral Why limit serverless functions to whatev 阅读全文

posted @ 2017-10-10 09:13 荣锋亮 阅读(923) 评论(0) 推荐(0)

openfaas k8s 集成
摘要:备注 k8s 1.6 以下版本与k8s 1.6 以上版本会有一些简单的区别 1. 克隆k8s 部署文档 https://github.com/openfaas/faas-netes 2. 创建服务 2. 创建服务 2. 创建服务 2. 创建服务 2. 创建服务 // 主要是这几个yaml 文件 、注 阅读全文

posted @ 2017-10-09 10:09 荣锋亮 阅读(896) 评论(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 荣锋亮 阅读(3145) 评论(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 荣锋亮 阅读(1263) 评论(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 荣锋亮 阅读(1218) 评论(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 荣锋亮 阅读(957) 评论(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 荣锋亮 阅读(1050) 评论(0) 推荐(0)

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

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

envoy  功能介绍
摘要:L3/L4 filter architecture: At its core, Envoy is an L3/L4 network proxy. A pluggable filter chain mechanism allows filters to be written to perform di 阅读全文

posted @ 2017-09-26 12:21 荣锋亮 阅读(874) 评论(0) 推荐(0)

envoy 测试试用
摘要:备注: 为了简单测试使用的是docker 镜像进行的测试 1. Dockerfile FROM lyft/envoy:latest RUN apt-get update COPY envoy.json /etc/envoy.json CMD /usr/local/bin/envoy -c /etc/ 阅读全文

posted @ 2017-09-26 10:37 荣锋亮 阅读(868) 评论(0) 推荐(0)

导航