launch#
Start a single component only, typically used for container entrypoint scenarios.
Usage#
yr launch [OPTIONS] COMPONENT
Parameters#
COMPONENT: Component name, for exampleetcd,ds_master,ds_worker,function_master,function_proxy,function_agent,frontend,dashboard,collector,meta_service,function_scheduler; also supports internal components for K8s deployment such asiam_server,function_manager,runtime_manager.--inherit-env: Inherit parent process environment variables (default is not to inherit).--env-subst KEY: Replace{KEY}in the configuration file with the value of the environment variableKEY. Can be specified multiple times, or use comma separation (e.g.,--env-subst A,B).
Description#
launchonly starts a single component and will not automatically start dependent components.For production deployment, please prefer using
yr startto obtain complete dependency orchestration, health check, and session management capabilities.
Examples#
yr launch etcd
yr launch --inherit-env --env-subst POD_IP,HOST_IP function_proxy