openfaas 架构介绍

OpenFaaS是一个让开发者能够将任何Docker镜像转化为无服务器功能的平台。通过加入Function Watchdog,可以接收HTTP请求并将其转发到目标进程的标准输入。响应则通过标准输出返回给调用者。该平台内置了API网关,可以提供外部路由访问功能,并收集通过Prometheus的云原生指标。API网关可以根据需求调整Docker Swarm或Kubernetes API中的服务副本数量来扩展功能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 此为官方介绍
 

Overview of OpenFaaS

Stack

Function Watchdog

    • You can make any Docker image into a serverless function by adding the Function Watchdog (a tiny Golang HTTP server)
    • The Function Watchdog is the entrypoint allowing HTTP requests to be forwarded to the target process via STDIN. The response is sent back to the caller by writing to STDOUT from your application.
    • API Gateway / UI Portal
      • The API Gateway provides an external route into your functions and collects Cloud Native metrics through Prometheus.
      • Your API Gateway will scale functions according to demand by altering the service replica count in the Docker Swarm or Kubernetes API.
      • A UI is baked in allowing you to invoke functions in your browser and create new ones as needed.

The API Gateway is a RESTful micro-service and you can view the Swagger docs here.

 
 
 
 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值