yc managed-airflow cluster create
Written by
Updated at October 3, 2024
Create Airflow cluster
Command Usage
Syntax:
yc managed-airflow cluster create <CLUSTER-NAME> [Flags...] [Global Flags...]
Flags
Flag | Description |
---|---|
--name |
string Name of the Airflow cluster. |
--description |
string Description 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:
|
--triggerer |
PROPERTY=VALUE[,PROPERTY=VALUE...] Configuration of triggerer instances. Possible property names:
|
--worker |
PROPERTY=VALUE[,PROPERTY=VALUE...] Configuration of worker instances. 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. |
--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 |
string A name of the s3 bucket to store dags. |
--service-account-id |
string A service account id used to access Cloud resources. |
--admin-password |
string A 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 |
string Logs will be written to default log group in specified folder. |
--log-group-id |
string Logs will be written to log group resolved by ID. |
--log-min-level |
string Minimum 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 |
string Set 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 |
int Enable 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 |
string Set the ID of the cloud to use. |
--folder-id |
string Set the ID of the folder to use. |
--folder-name |
string Set the name of the folder to use (will be resolved to id). |
--endpoint |
string Set the Cloud API endpoint (host:port). |
--token |
string Set the OAuth token to use. |
--impersonate-service-account-id |
string Set the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
string Set the output format: text (default), yaml, json, json-rest. |
--jq |
string Query to select values from the response using jq syntax |
-h ,--help |
Display help for the command. |