随笔分类 -  serverless

OpenFunction faas 平台
摘要:特性 云无关 插件化架构 支持同步以及异步函数 独特的异步函数支持直接通过event source 消息事件 支持通过源码生成兼容oci 标准的容器镜像 灵活的缩放能力 支持基于metrics 的异步函数缩放 基于dapr的baas 集成 基于k8s gateway api 的流量管理 灵活简单使用 阅读全文

posted @ 2023-11-28 20:24 荣锋亮 阅读(30) 评论(0) 推荐(0) 编辑

wasmedge 轻量&可扩展&可移植的webassembly 运行时
摘要:wasmedge 是一个cncf 的沙箱项目,提供了一个强大的webassembly 运行时 包含的特性 高性能 利用了llvm 进行AOT 编译优化 云原生的扩展 提供了非阻塞的网络以及web service能力的rust,c,js sdk, 包含了mysql 数据库驱动,key value 存储 阅读全文

posted @ 2023-11-15 21:10 荣锋亮 阅读(99) 评论(0) 推荐(0) 编辑

nuclio kubernetes 部署
摘要:一张参考架构图: 从图中可以看到nuclio可以运行到docker 以及kubernetes中 提供了kubernetes 部署的脚本 安装 创建命名空间 kubectl create namespace nuclio rbac 创建 kubectl apply -f https://raw.git 阅读全文

posted @ 2018-09-29 14:47 荣锋亮 阅读(1244) 评论(0) 推荐(0) 编辑

nuclio dokcer 运行测试
摘要:nuclio serverless 平台,可以方便的进行实时事件以及数据处理应用的开发 dcoker 运行 启动 docker run -d -p 8070:8070 -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp nuclio/d 阅读全文

posted @ 2018-09-29 12:56 荣锋亮 阅读(931) 评论(0) 推荐(0) 编辑

graphcool-framework 一个基于graphql的后端开发框架
摘要:特性 GraphQL database 启动便捷的数据迁移数据演变 Flexible auth 基于jwt 的认证 Realtime API 基于graphql 的Subscriptions Highly scalable architecture 使用事件驱动,异步的开发模式 Highly sca 阅读全文

posted @ 2018-06-25 23:24 荣锋亮 阅读(2272) 评论(0) 推荐(0) 编辑

几个开源faas 框架
摘要:funktion open source event based lambda programming for kubernetes 官方地址: funktion.fabric8.io serverless framework A framework - not a service github 地 阅读全文

posted @ 2017-10-28 10:36 荣锋亮 阅读(8696) 评论(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 荣锋亮 阅读(915) 评论(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 荣锋亮 阅读(892) 评论(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 了解
摘要: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) 编辑

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 荣锋亮 阅读(252) 评论(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 荣锋亮 阅读(269) 评论(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 荣锋亮 阅读(340) 评论(0) 推荐(0) 编辑

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

posted @ 2017-10-05 17:53 荣锋亮 阅读(587) 评论(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 荣锋亮 阅读(669) 评论(0) 推荐(0) 编辑

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

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

fn project Message Queues 配置
摘要:Message Queues A message queue is used to coordinate asynchronous function calls that run through Fn. We currently support the following message queue 阅读全文

posted @ 2017-10-04 22:56 荣锋亮 阅读(259) 评论(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
点击右上角即可分享
微信分享提示