{"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214437408", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214437408, "node_id": "IC_kwDOBm6k_c5IYtgg", "user": {"value": 536941, "label": "fgregg"}, "created_at": "2022-08-14T19:42:58Z", "updated_at": "2022-08-14T19:42:58Z", "author_association": "CONTRIBUTOR", "body": "thanks @simonw!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214416491", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214416491, "node_id": "IC_kwDOBm6k_c5IYoZr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T17:07:34Z", "updated_at": "2022-08-14T17:07:34Z", "author_association": "OWNER", "body": "Tested that with:\r\n\r\n datasette publish cloudrun fixtures.db --service issue-1779 --min-instances 2 --max-instances 4\r\n\r\n\"image\"\r\n", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214414471", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214414471, "node_id": "IC_kwDOBm6k_c5IYn6H", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:55:40Z", "updated_at": "2022-08-14T16:55:40Z", "author_association": "OWNER", "body": "Here's the start of the man page for `gcloud run deploy`:\r\n```\r\nNAME\r\n gcloud run deploy - deploy a container to Cloud Run\r\n\r\nSYNOPSIS\r\n gcloud run deploy [[SERVICE] --namespace=NAMESPACE] [--args=[ARG,...]]\r\n [--async] [--command=[COMMAND,...]] [--concurrency=CONCURRENCY]\r\n [--cpu=CPU] [--ingress=INGRESS; default=\"all\"]\r\n [--max-instances=MAX_INSTANCES] [--memory=MEMORY]\r\n [--min-instances=MIN_INSTANCES]\r\n```\r\nI'm going to expose `--max-instances` and `--min-instances` as extra option to `datasette publish cloudrun`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214414320", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214414320, "node_id": "IC_kwDOBm6k_c5IYn3w", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:54:32Z", "updated_at": "2022-08-14T16:54:32Z", "author_association": "OWNER", "body": "(I deleted my `issue-1779` project using the UI at https://console.cloud.google.com/run?project=datasette-222320)", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214414013", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214414013, "node_id": "IC_kwDOBm6k_c5IYny9", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:52:14Z", "updated_at": "2022-08-14T16:52:14Z", "author_association": "OWNER", "body": "Just tried this instead, and it still worked and deployed OK:\r\n\r\n datasette publish cloudrun fixtures.db --memory 16Gi --cpu 4 --service issue-1779\r\n\r\n@fgregg I'm not able to replicate your deployment failure I'm afraid.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214413750", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214413750, "node_id": "IC_kwDOBm6k_c5IYnu2", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:50:08Z", "updated_at": "2022-08-14T16:50:08Z", "author_association": "OWNER", "body": "Just spotted this in the failing Actions workflow:\r\n\r\n gcloud config set run/region us-central1\r\n\r\nI tried that locally too but the deploy still succeeds.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214413534", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214413534, "node_id": "IC_kwDOBm6k_c5IYnre", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:48:28Z", "updated_at": "2022-08-14T16:48:28Z", "author_association": "OWNER", "body": "`datasette publish cloudrun fixtures.db --memory 8Gi --cpu 2 --service issue-1779` still works.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214413419", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214413419, "node_id": "IC_kwDOBm6k_c5IYnpr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:47:27Z", "updated_at": "2022-08-14T16:47:27Z", "author_association": "OWNER", "body": "Maybe I need to upgrade:\r\n```\r\n% gcloud --version\r\nGoogle Cloud SDK 378.0.0\r\nalpha 2022.03.18\r\nbq 2.0.74\r\ncore 2022.03.18\r\ngsutil 5.8\r\nUpdates are available for some Google Cloud CLI components. To install them,\r\nplease run:\r\n $ gcloud components update\r\n```\r\n```\r\n% gcloud components update\r\nBeginning update. This process may take several minutes.\r\n\r\n\r\nYour current Google Cloud CLI version is: 378.0.0\r\nYou will be upgraded to version: 397.0.0\r\n\r\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n\u2502 These components will be updated. \u2502\r\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\r\n\u2502 Name \u2502 Version \u2502 Size \u2502\r\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\r\n\u2502 BigQuery Command Line Tool \u2502 2.0.75 \u2502 1.6 MiB \u2502\r\n\u2502 BigQuery Command Line Tool (Platform Specific) \u2502 2.0.75 \u2502 < 1 MiB \u2502\r\n\u2502 Cloud Storage Command Line Tool \u2502 5.11 \u2502 15.5 MiB \u2502\r\n\u2502 Cloud Storage Command Line Tool (Platform Specific) \u2502 5.11 \u2502 < 1 MiB \u2502\r\n\u2502 Google Cloud CLI Core Libraries \u2502 2022.08.05 \u2502 24.3 MiB \u2502\r\n\u2502 Google Cloud CLI Core Libraries (Platform Specific) \u2502 2022.08.05 \u2502 < 1 MiB \u2502\r\n\u2502 anthoscli \u2502 0.2.28 \u2502 48.0 MiB \u2502\r\n\u2502 gcloud Alpha Commands \u2502 2022.08.05 \u2502 < 1 MiB \u2502\r\n\u2502 gcloud cli dependencies \u2502 2022.07.29 \u2502 11.2 MiB \u2502\r\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\r\n\r\nA lot has changed since your last upgrade. For the latest full release notes,\r\nplease visit:\r\n https://cloud.google.com/sdk/release_notes\r\n```\r\n```\r\n% gcloud --version \r\nGoogle Cloud SDK 397.0.0\r\nalpha 2022.08.05\r\nbq 2.0.75\r\ncore 2022.08.05\r\ngsutil 5.11\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214413161", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214413161, "node_id": "IC_kwDOBm6k_c5IYnlp", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:45:36Z", "updated_at": "2022-08-14T16:45:36Z", "author_association": "OWNER", "body": "Tried duplicating this error locally but the following command succeeded when I expected it to fail:\r\n\r\n datasette publish cloudrun fixtures.db --memory 8Gi --cpu 2 --service issue-1779", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214412382", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214412382, "node_id": "IC_kwDOBm6k_c5IYnZe", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:40:02Z", "updated_at": "2022-08-14T16:40:02Z", "author_association": "OWNER", "body": "Here's the relevant part of the `datasette publish` command from that failed Actions workflow:\r\n```\r\n datasette publish cloudrun f7.db nlrb.db opdr.db old_nlrb.db voluntary_recognitions.db work_stoppages.db lm20.db chips.db \\\r\n --memory 8Gi \\\r\n --cpu 2\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214412135", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214412135, "node_id": "IC_kwDOBm6k_c5IYnVn", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:38:08Z", "updated_at": "2022-08-14T16:38:08Z", "author_association": "OWNER", "body": "Actually I disagree that Datasette isn't setup to make use of container scaling: part of the idea behind the [Baked Data](https://simonwillison.net/2021/Jul/28/baked-data/) pattern is that you can scale to handle effectively unlimited traffic by running multiple copies of your application, each with their own duplicate copy of the database.\r\n\r\nSo I'm going to default maxScale to 10 and still let people customize it.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1214411951", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1214411951, "node_id": "IC_kwDOBm6k_c5IYnSv", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T16:36:55Z", "updated_at": "2022-08-14T16:36:55Z", "author_association": "OWNER", "body": "I'm going to default maxscale to 2 but provide an extra command line option for `datasette publish cloudrun` which lets people set it to something higher if they want to.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1779#issuecomment-1210675046", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1779", "id": 1210675046, "node_id": "IC_kwDOBm6k_c5IKW9m", "user": {"value": 536941, "label": "fgregg"}, "created_at": "2022-08-10T13:28:37Z", "updated_at": "2022-08-10T13:28:37Z", "author_association": "CONTRIBUTOR", "body": "maybe a simpler solution is to set the maxscale to like 2? since datasette is not set up to make use of container scaling anyway?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1334628400, "label": "google cloudrun updated their limits on maxscale based on memory and cpu count"}, "performed_via_github_app": null}