Skip to content

Deploy a Flower Client

Call function.run(action="deploy", ...) to deploy the client to its federation.

Parameters

Name Type Required Description
action str ✓ Action to execute. Must be deploy.
volumes list[dict] List of volumes for deployment.
resources dict Resource limits and requests.
envs list[dict] Environment variables.
secrets list[str] List of secret names.
profile str Profile template.
superlink str Flower SuperLink service endpoint.
node_config dict Flower client node configuration.
root_certificates str Root certificate content for secure communication.
private_key_secret str Secret containing the private key for secure communication.
public_key_secret str Secret containing the public key for secure communication.
isolation str Isolation mode: process or subprocess.

Example

run = function.run(
    action="deploy",
    superlink="superlink-service",
)