Deploys an existing gcr.io image.
cr_run( image, name = basename(image), allowUnauthenticated = TRUE, concurrency = 1, port = NULL, max_instances = "default", memory = "256Mi", cpu = 1, timeout = 600L, region = cr_region_get(), projectId = cr_project_get(), launch_browser = interactive(), env_vars = NULL, ... )
The name of the image to create or use in deployment -
Name for deployment on Cloud Run
TRUE if can be reached from public HTTP address.
How many connections each container instance can serve. Can be up to 80.
Container port to receive requests at. Also sets the $PORT environment variable. Must be a number between 1 and 65535, inclusive. To unset this field, pass the special value "default".
the desired maximum nuimber of container instances. "default" is 1000, you can get more if you requested a quota instance. For Shiny instances on Cloud Run, this needs to be 1.
The format for size is a fixed or floating point number followed by a unit: G, M, or K corresponding to gigabyte, megabyte, or kilobyte, respectively, or use the power-of-two equivalents: Gi, Mi, Ki corresponding to gibibyte, mebibyte or kibibyte respectively. The default is 256Mi
1 or 2 CPUs for your instance
Amount of time that this build should be allowed to run, to second
The endpoint region for deployment
The GCP project from which the services should be listed
Whether to launch the logs URL in a browser once deployed
Environment arguments passed to the Cloud Run container at runtime. Distinct from
Arguments passed on to
Uses Cloud Build to deploy an image to Cloud Run