2017年10月5日

fn project 试用之后的几个问题的解答

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

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

fn project 打包Function

摘要: Option 1 (recommended): Use the fn cli tool We recommend using the fn cli tool which will handle all of this for you. But if you'd like to dig in and 阅读全文

posted @ 2017-10-05 18:01 荣锋亮 阅读(268) 评论(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) 编辑

fn project hot functions 说明

摘要: 1. 简单介绍 所谓 hot functions 实际上就是长时间运行的functions ,简单理解类似后台任务 所谓 hot functions 实际上就是长时间运行的functions ,简单理解类似后台任务 所谓 hot functions 实际上就是长时间运行的functions ,简单理 阅读全文

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

fn project k8s 集成

摘要: 具体部署还是比较简单的,以下为官方参考,只是有一个service type 为 loadBlancer 实际使用需要修改为NodePort Prerequisite 1: working Kubernetes cluster (v1.7+), and a locally configured kub 阅读全文

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

fn project 私有镜像发布

摘要: 1. 说明 fnproject 默认的docker registry 是 dockerhub 对于企业应用还是不太方便的 还好系统系统了配置参数方便我们进行配置,与开源harbor 进行集成 2. 使用 a. harbor 安装 此处略过,安装比较简单,参考github 文档即可 b. 配置说明 1 阅读全文

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

导航