You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered an error while following the tutorial template.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.
Full Error
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {
"code": 3,
"message": "template.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.\nConsider running your workload in a region with greater capacity, decreasing your requested cpu-per-instance, or requesting an increase in quota for this region if you are seeing sustained usage near this limit, see https://cloud.google.com/run/quotas. Your project may gain access to further scaling by adding billing information to your account."
},
"authenticationInfo": {
"principalEmail": "service-541173950903@gcp-sa-firebaseapphosting.iam.gserviceaccount.com"
},
"requestMetadata": {
"callerIp": "private",
"callerSuppliedUserAgent": "stubby_client",
"requestAttributes": {
"time": "2024-05-17T12:19:55.166848Z",
"auth": {}
},
"destinationAttributes": {}
},
"serviceName": "run.googleapis.com",
"methodName": "google.cloud.run.v2.Services.CreateService",
"authorizationInfo": [
{
"resource": "projects/541173950903/locations/us-central1/services/nxt",
"permission": "run.services.create",
"granted": true,
"resourceAttributes": {},
"permissionType": "ADMIN_WRITE"
}
],
"resourceName": "projects/541173950903/locations/us-central1/services/nxt",
"request": {
"parent": "projects/541173950903/locations/us-central1",
"@type": "type.googleapis.com/google.cloud.run.v2.CreateServiceRequest",
"service": {
"labels": {
"goog-managed-by": "firebase-app-hosting"
},
"launchStage": "BETA",
"template": {
"revision": "nxt-build-2024-05-17-001",
"scaling": {
"maxInstanceCount": 100
},
"serviceAccount": "firebase-app-hosting-compute@generic-project.iam.gserviceaccount.com",
"executionEnvironment": "EXECUTION_ENVIRONMENT_GEN1",
"maxInstanceRequestConcurrency": 80
},
"traffic": [
{
"type": "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION",
"revision": "nxt-build-2024-05-17-001",
"percent": 100,
"tag": "t-4092871739"
}
],
"scaling": {}
}
},
"resourceLocation": {
"currentLocations": [
"us-central1"
]
}
},
"insertId": "9pqb3kd386s",
"resource": {
"type": "cloud_run_revision",
"labels": {
"configuration_name": "",
"revision_name": "",
"project_id": "generic-project",
"location": "us-central1",
"service_name": "nxt"
}
},
"timestamp": "2024-05-17T12:19:55.048546Z",
"severity": "ERROR",
"logName": "projects/generic-project/logs/cloudaudit.googleapis.com%2Factivity",
"receiveTimestamp": "2024-05-17T12:19:55.853013958Z"
}
The service should be deployed without any errors related to CPU values.
Actual Behavior
The deployment fails with the error: template.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.
The text was updated successfully, but these errors were encountered:
I encountered an error while following the tutorial
template.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.
Full Error
Steps to Reproduce
Expected Behavior
The service should be deployed without any errors related to CPU values.
Actual Behavior
The deployment fails with the error:
template.containers.resources.limits.cpu: Invalid value specified for cpu. For the specified value, maxScale may not exceed 10.
The text was updated successfully, but these errors were encountered: