yc managed-airflow cluster create
Статья создана
Обновлена 20 октября 2025 г.
Create Airflow cluster
Command Usage
Syntax:
yc managed-airflow cluster create <CLUSTER-NAME> [Flags...] [Global Flags...]
Flags
| Flag | Description |
|---|---|
--name |
stringName of the Airflow cluster. |
--description |
stringDescription of the cluster. |
--labels |
key=value[,key=value...]A list of Airflow cluster labels as key-value pairs. |
--webserver |
PROPERTY=VALUE[,PROPERTY=VALUE...]Configuration of webserver instances. Possible property names:
|
--scheduler |
PROPERTY=VALUE[,PROPERTY=VALUE...]Configuration of scheduler instances. Possible property names:
|
--dag-processor |
PROPERTY=VALUE[,PROPERTY=VALUE...]Configuration of dag-processor instances. Possible property names:
|
--triggerer |
PROPERTY=VALUE[,PROPERTY=VALUE...]Configuration of triggerer instances. Possible property names:
|
--worker |
PROPERTY=VALUE[,PROPERTY=VALUE...]Configuration of worker instances. Possible property names:
|
--maintenance-window |
PROPERTY=VALUE[,PROPERTY=VALUE...]Maintenance window settings. Possible property names:
|
--airflow-config |
key=value[,key=value...]Configuration of the Apache Airflow application itself. The key format is "<section-name>.<property-name>". For more information about possible properties see documentation https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html. Example of usage: --airflow-config api.maximum_page_limit=150. |
--deb-packages |
value[,value]A list of system packages that are installed in the cluster. |
--pip-packages |
value[,value]A list of python packages that are installed in the cluster. |
--airflow-version |
stringVersion of Apache Airflow. |
--python-version |
stringVersion of Python that Airflow will run on |
--lockbox-secrets-backend |
Whether the Lockbox Secret Backend will be allowed for the cluster. |
--subnet-ids |
value[,value]List of IDs of VPC network subnets where instances of the cluster are attached. |
--security-group-ids |
value[,value]A list of security groups for the Airflow cluster. |
--dags-bucket |
stringA name of the s3 bucket to store dags. |
--service-account-id |
stringA service account id used to access Cloud resources. |
--admin-password |
stringA password of user 'admin' in Airflow. |
--deletion-protection |
Deletion Protection inhibits deletion of the cluster. |
--log-enabled |
Whether logs generated by the Airflow components are delivered to Cloud Logging. |
--log-folder-id |
stringLogs will be written to default log group in specified folder. |
--log-group-id |
stringLogs will be written to log group resolved by ID. |
--log-min-level |
stringMinimum log entry level. Possible values: TRACE, DEBUG, INFO, WARN, ERROR, FATAL |
--async |
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
| Flag | Description |
|---|---|
--profile |
stringSet the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
intEnable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
stringSet the ID of the cloud to use. |
--folder-id |
stringSet the ID of the folder to use. |
--folder-name |
stringSet the name of the folder to use (will be resolved to id). |
--endpoint |
stringSet the Cloud API endpoint (host:port). |
--token |
stringSet the OAuth token to use. |
--impersonate-service-account-id |
stringSet the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
stringSet the output format: text (default), yaml, json, json-rest. |
--jq |
stringQuery to select values from the response using jq syntax |
-h,--help |
Display help for the command. |