Meta tags:
Headings (most frequently used words):
and, volume, cloud, storage, mount, mounts, options, fuse, volumes, configure, for, worker, your, configuration, the, performance, clear, remove, console, gcloud, set, pools, stay, organized, with, collections, save, categorize, content, based, on, preferences, memory, requirements, limitations, before, you, begin, view, environment, variable, pool, reading, writing, to, using, optimize, network, bandwidth, container, startup, time, characteristics, disallowed, paths, required, roles, yaml, terraform, nodejs, python, go, java, specify, commonly, used, other, all, individual, products, pricing, support, resources, engage, caching, settings, enable, debug, logging, disable, implicit, directories, specific, directory, inside, bucket, uid, gid,
Text of the page (most frequently used words):
the (269), cloud (181), #volume (115), #storage (100), and (90), run (85), mount (81), worker (72), for (70), you (68), your (53), file (48), bucket (45), cache (45), container (41), fuse (38), with (37), pool (37), using (36), pools (35), from (34), options (33), name (31), volumes (28), memory (28), deploy (28), mounts (27), service (27), following (26), google (25), are (25), use (25), can (25), overview (25), configure (24), services (24), worker_pool (23), mount_path (22), specify (22), that (21), path (21), type (20), bucket_name (19), all (18), gcloud (18), files (18), read (18), directory (18), click (17), code (15), only (15), when (15), maximum (15), vpc (15), mounting (15), create (15), more (14), this (14), see (13), containers (13), write (13), stat (13), where (13), example (13), default (13), jobs (13), functions (13), system (12), sample (12), update (12), remove (12), network (12), access (12), size (12), implicit (12), replace (12), add (12), configuration (12), mnt (12), volume_name (11), clear (11), performance (11), directories (11), value (11), gpu (11), build (11), multiple (10), per (10), identity (10), logging (10), console (10), view (10), roles (10), samples (9), java (9), command (9), object (9), best (9), practices (9), relative (9), want (9), requests (9), new (9), yaml (9), environment (9), writes (9), execute (9), function (9), resources (8), other (8), page (8), also (8), mib (8), networking (8), traffic (8), enable (8), max (8), gid (8), uid (8), debug (8), log (8), limits (8), trigger (8), triggers (8), thumb (7), need (7), such (7), each (7), any (7), than (7), permissions (7), specific (7), number (7), application (7), existing (7), setting (7), python (7), local (7), iam (7), pub (7), sub (7), manage (6), information (6), have (6), documentation (6), then (6), large (6), time (6), set (6), user (6), contains (6), option (6), severity (6), settings (6), 000 (6), caching (6), allow (6), image (6), security (6), development (6), tutorial (6), migrate (6), agents (6), metrics (6), about (5), events (5), content (5), cli (5), instance (5), limit (5), operations (5), bandwidth (5), different (5), will (5), parallel (5), start (5), direct (5), optimize (5), not (5), line (5), host (5), dir (5), ttl (5), false (5), off (5), cost (5), txt (5), make (5), data (5), format (5), logs (5), metadata (5), uses (5), first (5), download (5), used (5), terraform (5), tools (5), migration (5), gpus (5), delete (5), source (5), job (5), node (5), eventarc (5), invoke (5), português (4), español (4), down (4), details (4), its (4), send (4), perform (4), api (4), reading (4), note (4), seconds (4), timeout (4), increase (4), connect (4), which (4), supported (4), client (4), capacity (4), list (4), disable (4), higher (4), kept (4), concurrent (4), cpu (4), true (4), resource (4), read_only (4), logfile (4), libraries (4), is_read_only (4), reference (4), image_url (4), region (4), select (4), disk (4), management (4), inference (4), custom (4), scaling (4), health (4), variables (4), instances (4), dependencies (4), started (3), products (3), understand (3), last (3), developers (3), individual (3), single (3), entirely (3), close (3), fully (3), writing (3), available (3), because (3), some (3), connection (3), fail (3), one (3), private (3), bytes (3), http (3), dirs (3), group (3), change (3), images (3), cases (3), improve (3), feature (3), turn (3), levels (3), needed (3), info (3), level (3), within (3), every (3), downloads (3), reads (3), description (3), next (3), separated (3), readonly (3), save (3), expand (3), edit (3), tab (3), optionally (3), same (3), language (3), display (3), dev (3), paths (3), get (3), grant (3), usage (3), based (3), guides (3), hosting (3), frameworks (3), monitoring (3), solutions (3), distributed (3), databases (3), introduction (3), web (3), mcp (3), secure (3), authenticate (3), connectors (3), optimization (3), autoscale (3), labels (3), secrets (3), checks (3), ephemeral (3), cifs (3), smb (3), nfs (3), entrypoint (3), retries (3), firestore (3), product (3), 한국어 (2), 日本語 (2), עברית (2), brasil (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), sign (2), terms (2), site (2), youtube (2), github (2), support (2), pricing (2), updated (2), 2026 (2), utc (2), licensed (2), under (2), license (2), feedback (2), container1 (2), container2 (2), order (2), full (2), uploaded (2), case (2), limited (2), amount (2), contents (2), two (2), processes (2), successfully (2), after (2), impact (2), startup (2), mounted (2), making (2), outbound (2), through (2), these (2), lists (2), export (2), sequential (2), retry (2), conns (2), sec (2), experimental (2), opentelemetry (2), address (2), json (2), billing (2), project (2), mode (2), sets (2), identifier (2), useful (2), ownership (2), running (2), specifies (2), entire (2), might (2), reduces (2), learn (2), enables (2), standard (2), compatibility (2), generates (2), errors (2), warning (2), error (2), secs (2), 120 (2), always (2), impacting (2), consumption (2), average (2), 200 (2), let (2), much (2), workload (2), values (2), should (2), asynchronously (2), stored (2), offset (2), goroutines (2), across (2), request (2), makes (2), downloading (2), into (2), process (2), refer (2), commonly (2), value_n (2), option_n (2), value_1 (2), option_1 (2), updating (2), revision (2), package (2), open (2), hello (2), mountpath (2), programming (2), map (2), docker (2), pkg (2), cloudrun (2), latest (2), location (2), google_storage_bucket (2), template (2), how (2), commands (2), googleapis (2), com (2), spec (2), skip (2), configuring (2), deployment (2), needs (2), ask (2), administrator (2), role (2), instead (2), account (2), developer (2), does (2), compliant (2), control (2), background (2), directly (2), without (2), streaming (2), consumes (2), install (2), sdk (2), languages (2), infrastructure (2), costs (2), observability (2), industry (2), hybrid (2), multicloud (2), analytics (2), pipelines (2), compute (2), troubleshoot (2), oci (2), app (2), assisted (2), llm (2), execution (2), remote (2), server (2), adk (2), a2a (2), prometheus (2), projects (2), controls (2), static (2), shared (2), connector (2), automate (2), workflows (2), external (2), systems (2), rollbacks (2), revisions (2), continuous (2), tags (2), tasks (2), testing (2), integrate (2), workflow (2), base (2), runtimes (2), configurations (2), serving (2), serve (2), git (2), returns (2), results (2), php (2), ruby (2), plan (2), prepare (2), develop (2), cross (2), technology (2), areas (2), subscribe, newsletter, our, third, decade, climate, action, join, cookies, privacy, tech, twitter, blog, engage, training, certification, architecture, center, getting, status, release, notes, community, forums, contact, sales, marketplace, easy, easytounderstand, solved, problem, solvedmyproblem, otherup, hard, hardtounderstand, incorrect, incorrectinformationorsamplecode, missing, missingtheinformationsamplesineed, otherdown, tell, except, otherwise, noted, registered, trademark, oracle, affiliates, policies, apache, creative, commons, attribution, activities, flags, must, follow, sidecars, conventions, semantics, flushed, exception, being, appended, fsync, stages, means, gib, impacted, communicates, listing, slow, low, similarly, take, define, pointing, occur, characteristics, establishing, delays, correspondingly, attempt, fails, takes, longer, has, total, slightly, cold, starts, prior, starting, described, section, internal, sure, parameter, egress, better, route, detailed, descriptions, stackdriver, interval, multiplier, sleep, idle, ops, collector, protocol, nonexistent, debug_mutex, invariants, debug_gcs, debug_fuse, debug_fuse_errors, rename, complete, matching, owned, root, implement, isolation, purposes, gives, inside, disables, turning, recognize, pre, whose, filenames, mimic, structure, won, able, mydir, myfile, appear, like, disabling, but, comes, tradeoffs, turns, generate, recommend, doing, text, equal, specified, warnings, trace, listed, lowest, highest, increases, respectively, less, around, mebibytes, involves, additional, 500, determines, whether, downloaded, completed, non, zero, range, twice, cores, machine, whichever, spawned, given, accelerates, prefetch, buffer, workers, parts, goroutine, chunk, underlying, persist, named, instructions, features, changes, accounting, counts, towards, related, table, along, many, pair, semicolon, appropriate, fields, adding, manually, semicolons, commas, shown, tabs, various, properties, behaviors, import, class, err, var, require, appendfilesync, flag, module, append, nodejs, snippets, assume, especially, expects, regular, examine, pane, deployed, variable, gcs, volume_mounts, google_cloud_run_v2_worker_pool, apply, basic, defaults, present, translate, bucketname, volumeattributes, gcsfuse, driver, csi, volumemounts, workerpool, kind, apiversion, describe, creating, step, mount_path2, container_2, container_1, checkbox, browse, field, enter, fill, out, initial, menu, buckets, associated, interfaces, apis, granting, guide, objectuser, objectviewer, viewer, serviceaccountuser, required, optimal, optimizing, before, begin, their, subdirectories, sys, proc, disallowed, posix, provide, concurrency, locking, try, wins, previous, lost, since, there, few, things, keep, mind, limitations, supports, uploads, staging, approximately, during, upload, both, latency, space, particularly, beneficial, calls, whole, establishes, tcp, back, just, portions, operating, caches, array, live, requirements, don, modify, way, important, presents, were, shows, categorize, preferences, stay, organized, collections, home, known, issues, troubleshooting, gke, kubernetes, vmware, tanzu, spring, music, choose, strategy, foundry, heroku, aws, lambda, 1st, gen, engine, cookbook, vibe, coding, accelerated, video, transcoding, ffmpeg, batch, fine, tune, llms, hugging, face, transformers, opencv, acceleration, gemma, models, ollama, browser, automation, servers, n8n, explore, tracing, reporting, audit, built, monitor, multi, tenant, platforms, untrusted, software, supply, chain, insights, constraints, customer, managed, encryption, keys, threat, detection, binary, authorization, protect, armor, iap, end, authentication, users, audiences, public, design, mesh, restrict, endpoint, ingress, dual, stack, ipv4, ipv6, register, ips, dns, pull, subscriptions, runners, kafka, autoscaler, scale, count, splits, work, checkpoints, stop, executions, task, parallelism, scheduled, completion, event, driven, zonal, redundancy, load, general, tips, grpc, database, routed, entries, processing, call, push, subscription, asynchronous, series, part, schedule, websocket, chat, stream, websockets, webhook, target, https, automatic, updates, manual, minimum, autoscaling, sandboxes, port, recommender, gradual, rollouts, copy, frontend, proxying, nginx, session, affinity, failover, regions, assets, cdn, mapping, domains, compose, sources, test, codelabs, spanner, bigquery, tutorials, net, compare, containerize, shell, sveltekit, nuxt, angular, ssr, kotlin, agent, kit, streamlit, smolagents, langchain, gradio, fastapi, flask, world, repository, good, fit, runtime, contract, model, discover, free, main,
Text of the page (random words):
de execution browser automation inference with gpus overview services run llm inference on cloud run gpus with ollama run agents with gemma 4 models on cloud run run opencv on cloud run with gpu acceleration run llm inference on cloud run gpus with hugging face transformers js jobs fine tune llms using gpus with cloud run jobs run batch inference using gpus with cloud run jobs gpu accelerated video transcoding with ffmpeg ai assisted development and vibe coding introduction to cloud run for ai assisted developers cookbook migrate an existing web service from app engine from cloud run functions 1st gen from aws lambda from heroku from cloud foundry migration overview choose an oci compliant strategy migrate to oci containers migrate configuration sample migration spring music from vmware tanzu from a vm using migrate to containers from kubernetes to gke troubleshoot introduction troubleshoot errors local troubleshooting tutorial known issues samples all cloud run code samples all cloud run functions code samples code samples for all products ai and ml application development application hosting compute data analytics and pipelines databases distributed hybrid and multicloud industry solutions migration networking observability and monitoring security storage access and resources management costs and usage management infrastructure as code sdk languages frameworks and tools home documentation application hosting cloud run guides send feedback configure cloud storage volume mounts for worker pools stay organized with collections save and categorize content based on your preferences this page shows how to mount a cloud storage bucket as a storage volume using cloud run volume mounts mounting the bucket as a volume in cloud run presents the bucket content as files in the container file system after you mount the bucket as a volume you access the bucket as if it were a directory on your local file system using your programming language s file system operations and libraries instead of using google api client libraries you can mount your volume as read only and you can also specify mount options for your volume important you don t need to install cloud storage fuse in your container or modify the container in any way to use this feature memory requirements cloud storage volume mounts use the cloud run container memory for the following activities for all cloud storage fuse caching cloud run uses the stat cache setting with a time to live ttl of 60 seconds by default the default maximum size of the stat cache is 32 mb the default maximum size of the type cache is 4 mib when reading from cloud storage cloud storage fuse makes api calls to read an object directly without downloading the whole file to a local directory cloud storage fuse establishes a tcp connection and reads back the entire cloud storage object or just portions of the file you specify in your application or the operating system through an offset when reading cloud storage fuse also consumes memory other than stat and type caches such as a 1 mib array for every file it reads and for goroutines when writing to cloud storage cloud storage fuse supports streaming writes a write path by default cloud storage fuse uploads data directly to cloud storage without fully staging the file each file you open for streaming writes consumes approximately 64 mib of memory during the upload process this reduces both latency and disk space usage making it particularly beneficial for large sequential writes note for background information on caching see the cloud storage fuse read write page limitations since cloud run uses cloud storage fuse for this volume mount there are a few things to keep in mind when mounting a cloud storage bucket as a volume cloud storage fuse does not provide concurrency control for multiple writes file locking to the same file when multiple writes try to replace a file the last write wins and all previous writes are lost cloud storage fuse is not a fully posix compliant file system for more details refer to the cloud storage fuse documentation disallowed paths cloud run does not allow you to mount a volume at dev proc or sys or on their subdirectories before you begin you need a cloud storage bucket to mount as the volume for optimal read write performance to cloud storage see optimizing cloud storage fuse network bandwidth performance required roles to get the permissions that you need to configure cloud storage volume mounts ask your administrator to grant you the following iam roles cloud run developer roles run developer on the cloud run worker pool service account user roles iam serviceaccountuser on the service identity to get the permissions that your service identity needs to access the file and cloud storage bucket ask your administrator to grant the service identity the storage object viewer roles storage objectviewer role if the service identity needs to also perform write operations in a bucket grant the storage object user roles storage objectuser role instead for more details on cloud storage roles and permissions see iam for cloud storage for a list of iam roles and permissions that are associated with cloud run see cloud run iam roles and cloud run iam permissions if your cloud run worker pool interfaces with google cloud apis such as cloud client libraries see the service identity configuration guide for more information about granting roles see deployment permissions and manage access mount a cloud storage volume you can mount multiple buckets at different mount paths you can also mount a volume to more than one container using the same or different mount paths across containers if you are using multiple containers first specify the volumes then specify the volume mounts for each container you can configure a cloud storage volume for a cloud run worker pool using the google cloud console the google cloud cli yaml or terraform console in the google cloud console go to cloud run go to cloud run select worker pools from the menu and click deploy container to configure a new worker pool if you are configuring an existing worker pool click the worker pool then click edit and deploy new revision if you are configuring a new worker pool fill out the initial worker pool page then click containers networking security to expand the worker pools configuration page click the volumes tab click mount volume select cloud storage bucket as the volume type in the mount path field enter the path where you want to mount the volume browse and select the cloud storage bucket or a specific directory to be used for the volume optionally create a new bucket if you want to make the bucket read only select the read only checkbox optionally expand mount options to specify mount options click save click create or deploy gcloud to add a volume mount gcloud run worker pools update worker_pool add volume mount path mount_path type cloud storage bucket bucket_name readonly read_only replace the following worker_pool the name of your worker pool mount_path the relative path where you are mounting the volume for example mnt my volume bucket_name the name of your cloud storage bucket read_only true to make the volume read only or false to allow writes if you are using multiple containers first specify your volume s then specify the volume mount s for each container gcloud run worker pools update worker_pool add volume name volume_name type cloud storage bucket bucket_name container container_1 add volume mount volume volume_name mount path mount_path container container_2 add volume mount volume volume_name mount path mount_path2 yaml if you are creating a new worker pool skip this step if you are updating an existing worker pool download its yaml configuration gcloud run worker pools describe worker_pool format export worker pool yaml the following example contains the yaml configuration apiversion run googleapis com v1 kind workerpool metadata name worker_pool spec template spec containers image image_url volumemounts name translate no mountpath mount_path volumes name volume_name csi driver gcsfuse run googleapis com readonly is_read_only volumeattributes bucketname bucket_name replace the following worker_pool the name of your cloud run worker pool image_url a reference to the container image that contains the worker pool such as us docker pkg dev cloudrun container worker pool latest mount_path the relative path where you are mounting the volume for example mnt my volume volume_name any name you want for your volume the volume_name value is used to map the volume to the volume mount is_read_only true to make the volume read only or false to allow writes bucket_name the name of the cloud storage bucket create or update the worker pool using the following command gcloud run worker pools replace worker pool yaml the gcloud run worker pools replace command defaults to using worker pool yaml file if present terraform to learn how to apply or remove a terraform configuration see basic terraform commands resource google_cloud_run_v2_worker_pool default name worker_pool location region template containers image image_url volume_mounts name volume_name mount_path mount_path volumes name volume_name gcs bucket google_storage_bucket default name read_only is_read_only resource google_storage_bucket default name bucket_name location region replace the following worker_pool the name of your worker pool region the google cloud region image_url a reference to the container image that contains the worker pool such as us docker pkg dev cloudrun container worker pool latest volume_name any name you want for your volume the volume_name value is used to map the volume to the volume mount mount_path the relative path where you are mounting the volume for example mnt my volume is_read_only true to make the volume read only or false to allow writes bucket_name the name of the cloud storage bucket view environment variable configuration for the worker pool in the google cloud console go to cloud run go to cloud run click worker pools to display the list of deployed worker pools click the worker pool you want to examine to display its details pane click the containers tab to display worker pool container configuration reading and writing to a volume if you use the cloud run volume mount feature you access a mounted volume using the same libraries in your programming language that you use to read and write files on your local file system this is especially useful if you re using an existing container that expects data to be stored on the local file system and uses regular file system operations to access it the following snippets assume a volume mount with a mountpath set to mnt my volume nodejs use the file system module to create a new file or append to an existing file in the volume mnt my volume var fs require fs fs appendfilesync mnt my volume sample logfile txt hello logs flag a python write to a file kept in the volume mnt my volume f open mnt my volume sample logfile txt a go use the os package to create a new file kept in the volume mnt my volume f err os create mnt my volume sample logfile txt java use the java io file class to create a log file in the volume mnt my volume import java io file file f new file mnt my volume sample logfile txt volume configuration using mount options you can optionally use mount options to configure various properties of your volume mount the available mount options allow you to configure cache settings mount a specific directory enable debug logging and other behaviors specify mount options you can specify mount options using the google cloud console the google cloud cli yaml or terraform the mount options are separated by semicolons in google cloud cli and are separated by commas in yaml as shown in the following tabs console to specify mount options for an existing volume in the google cloud console go to the cloud run worker pools page go to cloud run click the worker pool then click edit and deploy new revision click the volumes tab click the edit volume mount expand mount options configure mount options by updating the appropriate fields or by adding mount options manually click save click deploy gcloud to add a volume and mount it with mount options gcloud run worker pools update worker_pool add volume mount path mount_path type cloud storage bucket bucket_name readonly read_only mount options option_1 value_1 option_n value_n replace the following worker_pool the name of your worker pool mount_path the relative path where you are mounting the volume for example cache bucket_name the name of your cloud storage bucket option_1 the first mount option note that you can specify as many mount options as you need with each mount option and value pair separated by a semicolon value_1 the setting you want for the first mount option option_n the next mount option value_n the setting for the next mount option commonly used mount options mount options are commonly used to configure cache settings mount only a specific directory from the cloud storage bucket configure the ownership of the volume uid gid turn off implicit directories specify debug logging levels configure caching settings note refer to the cloud storage fuse caching documentation for more information on cache options you can change the caching settings for your volume by setting the caching related mount options the following table lists the settings along with the default cloud run values cache setting description default cache dir the in memory volume name to use as the underlying directory to persist files from your cloud storage bucket in the format cr volume volume name for example if you have an in memory volume named in memory 1 that you want to use as the cache directory specify cr volume in memory 1 for instructions on setting up in memory volumes see configure in memory volume mounts for services when you enable these features cloud run changes the resource accounting of the cloud storage fuse process and counts this towards the container memory limits to increase the container memory limit see configure memory limits for services file cache download chunk size mb specifies the size of each read request in mib that each goroutine makes to cloud storage when downloading the object into the file cache 200 file cache enable parallel downloads accelerates reads of large files by using the file cache directory as a prefetch buffer using multiple workers to download multiple parts of a file in parallel true file cache max parallel downloads the maximum number of goroutines that can be spawned at any given time across all the download jobs of files twice the number of cpu cores on your machine or 16 whichever is higher file cache parallel downloads per file the number of concurrent download requests per file 16 file cache cache file for range read determines whether the full object should be downloaded asynchronously and stored in the cloud storage fuse cache directory when the f...
|