fission alias update
fission alias update
Update a function alias
Synopsis
Update a FunctionAlias’s target (–version or –package-digest, mutually exclusive) or traffic split (–weight/–secondary-version, or –clear-weight to drop it). To repoint back to a previously resolved target using the alias’s own Status.History instead of naming a version by hand, see fission fn rollback instead.
fission alias update [flags]
Options
--name string Name for the function alias
--version string FunctionVersion name the alias resolves to (exactly one of --version/--package-digest)
--package-digest string Package digest (sha256:<hex>) the alias resolves to declaratively (exactly one of --version/--package-digest)
--weight int Percentage (0-100) of traffic served by the primary target; the remainder goes to --secondary-version. Requires --secondary-version; omit --weight entirely for 100% to the primary
--secondary-version string Secondary FunctionVersion name receiving the 100-minus-weight remainder of traffic
--clear-weight Clear the weighted split (drop --weight and --secondary-version)
--wait Wait for the alias to resolve to its updated target (see --timeout)
--timeout duration Maximum time to wait for the condition before giving up (default 1m0s)
-h, --help help for update
Options inherited from parent commands
--kube-context string Kubernetes context to be used for the execution of Fission commands
-n, --namespace string -n |:|: If present, the namespace scope for this CLI request
-v, --verbosity int -v |:|: CLI verbosity (0 is quiet, 1 is the default, 2 is verbose) (default 1)
SEE ALSO
- fission alias - Create, update and manage function aliases