ComposerEnvironment
| Property | Value |
|---|---|
| Google Cloud Service Name | Cloud Composer |
| Google Cloud Service Documentation | /composer/docs/ |
| Google Cloud REST Resource Name | projects.locations.environments |
| Google Cloud REST Resource Documentation | /composer/docs/reference/rest/v1/projects.locations.environments |
| Config Connector Resource Short Names | gcpcomposerenvironment gcpcomposerenvironments composerenvironment |
| Config Connector Service Name | composer.googleapis.com |
| Config Connector Resource Fully Qualified Name | composerenvironments.composer.cnrm.cloud.google.com |
| Can Be Referenced by IAMPolicy/IAMPolicyMember | No |
| Config Connector Default Average Reconcile Interval In Seconds | 600 |
Custom Resource Definition Properties
Spec
Schema
config:
dataRetentionConfig:
airflowMetadataRetentionConfig:
retentionDays: integer
retentionMode: string
taskLogsRetentionConfig:
storageMode: string
databaseConfig:
machineType: string
zone: string
encryptionConfig:
kmsKeyRef:
external: string
name: string
namespace: string
environmentSize: string
maintenanceWindow:
endTime: string
recurrence: string
startTime: string
masterAuthorizedNetworksConfig:
cidrBlocks:
- cidrBlock: string
displayName: string
enabled: boolean
nodeConfig:
composerInternalIPv4CIDRBlock: string
composerNetworkAttachmentRef:
external: string
name: string
namespace: string
diskSizeGB: integer
enableIPMasqAgent: boolean
ipAllocationPolicy:
clusterIPV4CIDRBlock: string
clusterSecondaryRangeName: string
servicesIPV4CIDRBlock: string
servicesSecondaryRangeName: string
useIPAliases: boolean
location: string
machineType: string
networkRef:
external: string
name: string
namespace: string
oauthScopes:
- string
serviceAccountRef:
external: string
name: string
namespace: string
subnetworkRef:
external: string
name: string
namespace: string
tags:
- string
nodeCount: integer
privateEnvironmentConfig:
cloudComposerConnectionSubnetworkRef:
external: string
name: string
namespace: string
cloudComposerNetworkIPv4CIDRBlock: string
cloudSQLIPv4CIDRBlock: string
enablePrivateBuildsOnly: boolean
enablePrivateEnvironment: boolean
enablePrivatelyUsedPublicIPs: boolean
networkingConfig:
connectionType: string
privateClusterConfig:
enablePrivateEndpoint: boolean
masterIPV4CIDRBlock: string
webServerIPv4CIDRBlock: string
recoveryConfig:
scheduledSnapshotsConfig:
enabled: boolean
snapshotCreationSchedule: string
snapshotLocation: string
timeZone: string
resilienceMode: string
softwareConfig:
airflowConfigOverrides:
string: string
cloudDataLineageIntegration:
enabled: boolean
envVariables:
string: string
imageVersion: string
pypiPackages:
string: string
pythonVersion: string
schedulerCount: integer
webServerPluginsMode: string
webServerConfig:
machineType: string
webServerNetworkAccessControl:
allowedIPRanges:
- description: string
value: string
workloadsConfig:
dagProcessor:
count: integer
cpu: string
memoryGB: string
storageGB: string
scheduler:
count: integer
cpu: string
memoryGB: string
storageGB: string
triggerer:
count: integer
cpu: string
memoryGB: string
webServer:
cpu: string
memoryGB: string
storageGB: string
worker:
cpu: string
maxCount: integer
memoryGB: string
minCount: integer
storageGB: string
labels:
string: string
location: string
projectRef:
external: string
kind: string
name: string
namespace: string
resourceID: string
storageConfig:
bucketRef:
external: string
name: string
namespace: string
| Fields | |
|---|---|
|
Optional |
Optional. Configuration parameters for this environment. |
|
Optional |
Optional. The configuration setting for Airflow database data retention mechanism. |
|
Optional |
Optional. The retention policy for Airflow metadata database. |
|
Optional |
Optional. How many days data should be retained for. |
|
Optional |
Optional. Retention can be either enabled or disabled. |
|
Optional |
Optional. The configuration settings for task logs retention |
|
Optional |
Optional. The mode of storage for Airflow workers task logs. |
|
Optional |
Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. |
|
Optional |
Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified, db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. The Compute Engine zone where the Airflow database is created. If zone is provided, it must be in the region selected for the environment. If zone is not provided, a zone is automatically selected. The zone can only be set during environment creation. Supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*. |
|
Optional |
Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. |
|
Optional |
Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. |
|
Optional |
A reference to an externally managed KMSCryptoKey. Should be in the format `projects/[kms_project_id]/locations/[region]/keyRings/[key_ring_id]/cryptoKeys/[key]`. |
|
Optional |
The `name` of a `KMSCryptoKey` resource. |
|
Optional |
The `namespace` of a `KMSCryptoKey` resource. |
|
Optional |
Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the default value for maintenance window is applied. By default, maintenance windows are from 00:00:00 to 04:00:00 (GMT) on Friday, Saturday, and Sunday every week. |
|
Optional |
Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`. |
|
Optional |
Required. Maintenance window recurrence. Format is a subset of RFC-5545 `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`. |
|
Optional |
Required. Start time of the first recurrence of the maintenance window. |
|
Optional |
Optional. The configuration options for GKE cluster authorized networks. By default, authorized networks are, for private environments, enabled with no external networks allowlisted, and for public environments, disabled. |
|
Optional |
Up to 50 external networks that could access Kubernetes control plane through HTTPS. |
|
Optional |
|
|
Optional |
CIDR block that must be specified in CIDR notation. |
|
Optional |
User-defined name that identifies the CIDR block. |
|
Optional |
Optional. Whether or not master authorized networks feature is enabled. |
|
Optional |
Optional. The configuration used for the Kubernetes Engine cluster. |
|
Optional |
Optional. The IP range in CIDR notation to use internally by Cloud Composer. IP addresses are not reserved - and the same range can be used by multiple Cloud Composer environments. In case of overlap, IPs from this range will not be accessible in the user's VPC network. Cannot be updated. If not specified, the default value of '100.64.128.0/20' is used. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. Network Attachment that Cloud Composer environment is connected to, which provides connectivity with a user's VPC network. Takes precedence over network and subnetwork settings. If not provided, but network and subnetwork are defined during environment, it will be provisioned. If not provided and network and subnetwork are also empty, then connectivity to user's VPC network is disabled. Network attachment must be provided in format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. |
|
Optional |
The value of an externally managed ComputeNetworkAttachment resource in the form "projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}". |
|
Optional |
The name of a ComputeNetworkAttachment resource. |
|
Optional |
The namespace of a ComputeNetworkAttachment resource. |
|
Optional |
Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to Pod IP range so IP masquerading is used for all destination addresses, except between Pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent |
|
Optional |
Optional. The configuration for controlling how IPs are allocated in the GKE cluster. |
|
Optional |
Optional. The IP address range used to allocate IP addresses to Pods in the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. |
|
Optional |
Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to Pods. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. |
|
Optional |
Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask. Set to a CIDR notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. |
|
Optional |
Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is true. |
|
Optional |
Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters. |
|
Optional |
Optional. The Compute Engine zone in which to deploy the VMs used to run the Apache Airflow software, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}". This `location` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.machineType` are specified, `nodeConfig.machineType` must belong to this `location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If only one field (`location` or `nodeConfig.machineType`) is specified, the location information from the specified field will be propagated to the unspecified field. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. The Compute Engine machine type used for cluster instances, specified as a relative resource name. For example: "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}". The `machineType` must belong to the enclosing environment's project and location. If both this field and `nodeConfig.location` are specified, this `machineType` must belong to the `nodeConfig.location`; if both are unspecified, the service will pick a zone in the Compute Engine region corresponding to the Cloud Composer location, and propagate that choice to both fields. If exactly one of this field and `nodeConfig.location` is specified, the location information from the specified field will be propagated to the unspecified field. The `machineTypeId` must not be a shared-core machine type. If this field is unspecified, the `machineTypeId` defaults to "n1-standard-1". This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. The Compute Engine network to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/global/networks/{networkId}". If unspecified, the "default" network ID in the environment's project is used. If a Custom Subnet Network is provided, `nodeConfig.subnetwork` must also be provided. For Shared VPC subnetwork requirements, see `nodeConfig.subnetwork`. |
|
Optional |
The value of an externally managed ComputeNetwork resource. Should be in the format "https://www.googleapis.com/compute/{{version}}/projects/{{projectId}}/global/networks/{{networkId}}" or "projects/{{projectId}}/global/networks/{{networkId}}" |
|
Optional |
The name of a ComputeNetwork resource. |
|
Optional |
The namespace of a ComputeNetwork resource. |
|
Optional |
Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
|
|
Optional |
Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the default Compute Engine service account is used. Cannot be updated. |
|
Optional |
The `email` field of an `IAMServiceAccount` resource. |
|
Optional |
Name of the referent. More information: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
|
Optional |
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ |
|
Optional |
Optional. The Compute Engine subnetwork to be used for machine communications, specified as a relative resource name. For example: "projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}" If a subnetwork is provided, `nodeConfig.network` must also be provided, and the subnetwork must belong to the enclosing environment's project and location. |
|
Optional |
The ComputeSubnetwork selflink of form "projects/{{project}}/regions/{{region}}/subnetworks/{{name}}", when not managed by Config Connector. |
|
Optional |
The `name` field of a `ComputeSubnetwork` resource. |
|
Optional |
The `namespace` field of a `ComputeSubnetwork` resource. |
|
Optional |
Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with RFC1035. Cannot be updated. |
|
Optional |
|
|
Optional |
The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. The configuration used for the Private IP Cloud Composer environment. |
|
Optional |
Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the Customer Project will use an IP address from this subnetwork. |
|
Optional |
The ComputeSubnetwork selflink of form "projects/{{project}}/regions/{{region}}/subnetworks/{{name}}", when not managed by Config Connector. |
|
Optional |
The `name` field of a `ComputeSubnetwork` resource. |
|
Optional |
The `namespace` field of a `ComputeSubnetwork` resource. |
|
Optional |
Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Must not overlap with private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Must not overlap with `web_server_ipv4_cidr_block`. |
|
Optional |
Optional. If `true`, builds performed during operations that install Python packages have only private connectivity to Google services (including Artifact Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.subnetwork` fields or `NodeConfig.composer_network_attachment` field are specified). If `false`, the builds also have access to the internet. This field is supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. |
|
Optional |
Optional. Configuration for the network connections configuration in the environment. |
|
Optional |
Optional. Indicates the user requested specific connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. |
|
Optional |
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment. |
|
Optional |
Optional. If `true`, access to the public endpoint of the GKE cluster is denied. |
|
Optional |
Optional. The CIDR block from which IPv4 range for GKE control plane will be reserved. If left blank, the default value of '172.16.0.0/23' is used. |
|
Optional |
Optional. The CIDR block from which IP range for web server will be reserved. Must not overlap with `private_cluster_config.master_ipv4_cidr_block` and `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
|
Optional |
Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. The configuration for scheduled snapshot creation mechanism. |
|
Optional |
Optional. Whether scheduled snapshots creation is enabled. |
|
Optional |
Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution. |
|
Optional |
Optional. The Cloud Storage location for storing automatically created snapshots. |
|
Optional |
Optional. Time zone that sets the context to interpret snapshot_creation_schedule. |
|
Optional |
Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer. |
|
Optional |
Optional. The configuration settings for software inside the environment. |
|
|
Optional. Apache Airflow configuration properties to override. Property keys contain the section and property names, separated by a hyphen, for example "core-dags_are_paused_at_creation". Section names must not contain hyphens ("-"), opening square brackets ("["), or closing square brackets ("]"). The property name must not be empty and must not contain an equals sign ("=") or semicolon (";"). Section and property names must not contain a period ("."). Apache Airflow configuration property names must be written in snake_case. Property values can contain any character, and can be written in any lower/upper case format. Certain Apache Airflow configuration property values are blocked, and cannot be overridden. |
|
Optional |
Optional. The configuration for Cloud Data Lineage integration. |
|
Optional |
Optional. Whether or not Cloud Data Lineage integration is enabled. |
|
Optional |
Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression `[a-zA-Z_][a-zA-Z0-9_]*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the following reserved names:
|
|
Optional |
Optional. The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the provided version is supported and denies the request for an unsupported version. The Cloud Composer portion of the image version is a full semantic version, or an alias in the form of major version number or `latest`. When an alias is provided, the server replaces it with the current Cloud Composer version that satisfies the alias. The Apache Airflow portion of the image version is a full semantic version that points to one of the supported Apache Airflow versions, or an alias in the form of only major or major.minor versions specified. When an alias is provided, the server replaces it with the latest Apache Airflow version that satisfies the alias and is supported in the given Cloud Composer version. In all cases, the resolved image version is stored in the same field. See also version list and versioning overview. |
|
Optional |
Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as "numpy" and values are the lowercase extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string as the value. |
|
Optional |
Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'. Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major version 3. |
|
Optional |
Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. |
|
Optional |
Optional. Whether or not the web server uses custom plugins. If unspecified, the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. |
|
Optional |
Optional. The configuration settings for the Airflow web server App Engine instance. |
|
Optional |
Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified, composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values. |
|
Optional |
Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. |
|
Optional |
A collection of allowed IP ranges with descriptions. |
|
Optional |
|
|
Optional |
Optional. User-provided description. It must contain at most 300 characters. |
|
Optional |
IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. IP range prefixes should be properly truncated. For example, `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` should be truncated to `2001:db8::/32`. |
|
Optional |
Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. |
|
Optional |
Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-build.* and newer. |
|
Optional |
Optional. The number of DAG processors. If not provided or set to 0, a single DAG processor instance will be created. |
|
Optional |
Optional. CPU request and limit for a single Airflow DAG processor replica. |
|
Optional |
Optional. Memory (GB) request and limit for a single Airflow DAG processor replica. |
|
Optional |
Optional. Storage (GB) request and limit for a single Airflow DAG processor replica. |
|
Optional |
Optional. Resources used by Airflow schedulers. |
|
Optional |
Optional. The number of schedulers. |
|
Optional |
Optional. CPU request and limit for a single Airflow scheduler replica. |
|
Optional |
Optional. Memory (GB) request and limit for a single Airflow scheduler replica. |
|
Optional |
Optional. Storage (GB) request and limit for a single Airflow scheduler replica. |
|
Optional |
Optional. Resources used by Airflow triggerers. |
|
Optional |
Optional. The number of triggerers. |
|
Optional |
Optional. CPU request and limit for a single Airflow triggerer replica. |
|
Optional |
Optional. Memory (GB) request and limit for a single Airflow triggerer replica. |
|
Optional |
Optional. Resources used by Airflow web server. |
|
Optional |
Optional. CPU request and limit for Airflow web server. |
|
Optional |
Optional. Memory (GB) request and limit for Airflow web server. |
|
Optional |
Optional. Storage (GB) request and limit for Airflow web server. |
|
Optional |
Optional. Resources used by Airflow workers. |
|
Optional |
Optional. CPU request and limit for a single Airflow worker replica. |
|
Optional |
Optional. Maximum number of workers for autoscaling. |
|
Optional |
Optional. Memory (GB) request and limit for a single Airflow worker replica. |
|
Optional |
Optional. Minimum number of workers for autoscaling. |
|
Optional |
Optional. Storage (GB) request and limit for a single Airflow worker replica. |
|
Optional |
Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following restrictions:
|
|
Required |
Immutable. The name of the location where the Environment will be created. Required. |
|
Required |
Immutable. The Project that this resource belongs to. |
|
Optional |
The `projectID` field of a project, when not managed by Config Connector. |
|
Optional |
The kind of the Project resource; optional but must be `Project` if provided. |
|
Optional |
The `name` field of a `Project` resource. |
|
Optional |
The `namespace` field of a `Project` resource. |
|
Optional |
The ComposerEnvironment name. If not given, the metadata.name will be used. |
|
Optional |
Optional. Storage configuration for this environment. |
|
Optional |
Optional. The name of the Cloud Storage bucket used by the environment. No `gs://` prefix. |
|
Optional |
A reference to an externally-managed StorageBucket resource. |
|
Optional |
The name of a StorageBucket resource. |
|
Optional |
The namespace of a StorageBucket resource. |
Status
Schema
conditions:
- lastTransitionTime: string
message: string
reason: string
status: string
type: string
externalRef: string
observedGeneration: integer
observedState:
config:
airflowBYOIDURI: string
airflowURI: string
dagGCSPrefix: string
gkeCluster: string
privateEnvironmentConfig:
cloudComposerNetworkIPv4ReservedRange: string
privateClusterConfig:
masterIPV4ReservedRange: string
webServerIPv4ReservedRange: string
createTime: string
state: string
updateTime: string
uuid: string
| Fields | |
|---|---|
conditions |
Conditions represent the latest available observations of the object's current state. |
conditions[] |
|
conditions[].lastTransitionTime |
Last time the condition transitioned from one status to another. |
conditions[].message |
Human-readable message indicating details about last transition. |
conditions[].reason |
Unique, one-word, CamelCase reason for the condition's last transition. |
conditions[].status |
Status is the status of the condition. Can be True, False, Unknown. |
conditions[].type |
Type is the type of the condition. |
externalRef |
A unique specifier for the ComposerEnvironment resource in Google Cloud. |
observedGeneration |
ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. |
observedState |
ObservedState is the state of the resource as most recently observed in Google Cloud. |
observedState.config |
Optional. Configuration parameters for this environment. |
observedState.config.airflowBYOIDURI |
Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce identity federation (see Access environments with workforce identity federation). |
observedState.config.airflowURI |
Output only. The URI of the Apache Airflow Web UI hosted within this environment (see Airflow web interface). |
observedState.config.dagGCSPrefix |
Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix. |
observedState.config.gkeCluster |
Output only. The Kubernetes Engine cluster used to run this environment. |
observedState.config.privateEnvironmentConfig |
Optional. The configuration used for the Private IP Cloud Composer environment. |
observedState.config.privateEnvironmentConfig.cloudComposerNetworkIPv4ReservedRange |
Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. |
observedState.config.privateEnvironmentConfig.privateClusterConfig |
Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment. |
observedState.config.privateEnvironmentConfig.privateClusterConfig.masterIPV4ReservedRange |
Output only. The IP range in CIDR notation to use for the hosted network. This range is used for assigning internal IP addresses to the GKE control plane IP range or set of ranges and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network. |
observedState.config.privateEnvironmentConfig.webServerIPv4ReservedRange |
Output only. The IP range reserved for the tenant project's App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. |
observedState.createTime |
Output only. The time at which this environment was created. |
observedState.state |
The current state of the environment. |
observedState.updateTime |
Output only. The time at which this environment was last modified. |
observedState.uuid |
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created. |