随笔分类 -  分布式

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 荣锋亮 阅读(1021) 评论(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 荣锋亮 阅读(201) 评论(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 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) 编辑

fn project 数据库配置
摘要:Databases We currently support the following databases and they are passed in via the DB_URL environment variable. For example: docker run -e "DB_URL= 阅读全文

posted @ 2017-10-04 22:54 荣锋亮 阅读(353) 评论(0) 推荐(0) 编辑

fn project 运行时配置选项
摘要:Env VariablesDescriptionDefault values DB_URL The database URL to use in URL format. SeeDatabases for more information. sqlite3:///app/data/fn.db MQ_U 阅读全文

posted @ 2017-10-04 22:34 荣锋亮 阅读(267) 评论(0) 推荐(0) 编辑

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

posted @ 2017-10-04 21:43 荣锋亮 阅读(223) 评论(0) 推荐(0) 编辑

fn project faas 框架试用
摘要:1. 预备环境 2. 安装 curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh 3. 简单例子 a. 启动服务 fn start b. go 项目例子 func.go package main i 阅读全文

posted @ 2017-10-04 21:12 荣锋亮 阅读(934) 评论(0) 推荐(0) 编辑

oracle fn project 开源faas 框架
摘要:1. 介绍 Fn is an event-driven, open source, functions-as-a-service compute platform that you can run anywhere. Some of it's key features: Write once Any 阅读全文

posted @ 2017-10-04 20:37 荣锋亮 阅读(448) 评论(0) 推荐(0) 编辑

CoreDNS kubernetes 安装使用
摘要:kubernetes 以前是skydns 后面变为 dnsmasq,coredns 也是一个不错的工具 1. 准备环境 安装 kubernetes 配置 kubelet 的cluster-dns 2. 下载coredns kubernetes 模板 地址:https://github.com/cor 阅读全文

posted @ 2017-10-03 16:35 荣锋亮 阅读(740) 评论(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 荣锋亮 阅读(865) 评论(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 荣锋亮 阅读(854) 评论(0) 推荐(0) 编辑

k8s api server ha 连接配置问题
摘要:常见的lb 负载有硬件的f5 big-ip ,同时对于互联网公司大家常用的是nginx haproxy 了解k8s 集群高可用的都知道 api server 是无状态的(etcd 解决了),但是controller-manager scheduler 组件必须在集群中只能保证有一份副本,保证一个副本 阅读全文

posted @ 2017-09-20 23:23 荣锋亮 阅读(451) 评论(0) 推荐(0) 编辑

nginx 流量拷贝模块 ngx_http_mirror_module 安装试用
摘要:1. 下载源码编译 https://nginx.org/download/nginx-1.13.4.tar.gz 2. 下载依赖模块包 https://nginx.org/download/nginx-1.13.4.tar.gz 2. 下载依赖模块包 这里直接yum 安装 yum -y instal 阅读全文

posted @ 2017-08-14 09:47 荣锋亮 阅读(1784) 评论(0) 推荐(0) 编辑

Service Mesh 了解
摘要:是什么 Service Mesh是专用的基础设施层。 轻量级高性能网络代理。 提供安全的、快速的、可靠地服务间通讯。 与实际应用部署一起但对应用是透明的 作用 提供熔断机制(circuit-breaking)。 提供感知延迟的负载均衡(latency-awareload balancing)。 最终 阅读全文

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

Portainer docker 可视化管理工具
摘要:1. 快速使用 docker run -d -p 9000:9000 portainer/portainer 2. docker swarm 模式 docker run -d -p 9000:9000 portainer/portainer 2. docker swarm 模式 docker ser 阅读全文

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