Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@serverless-cd/fc-canary

Package Overview
Dependencies
Maintainers
10
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless-cd/fc-canary

Canary release for alibaba cloud FC Service. Refer to [link](https://www.alibabacloud.com/help/en/fc/user-guide/use-versions-and-aliases-to-implement-canary-release)

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
10
Created
Source

函数计算灰度发布

尝试发布一个版本(如果有必要)进行灰度,并更新服务的别名,将一定比例的流量指向要灰度的版本。 如果别名不存在,将用灰度版本创建相应的别名。

使用方法

fc2.0的使用


- plugin: @serverless-cd/fc-canary
  inputs:
    serviceName: web-framework-kzbp
    aliasName: prod
    regionId: cn-hangzhou
    canaryPercent: 50

fc3.0的使用


- plugin: @serverless-cd/fc-canary
  inputs:
    functionName: web-framework-kzbp
    aliasName: prod
    regionId: cn-hangzhou
    canaryPercent: 50

FAQs

Package last updated on 11 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts