最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

node.js - Error: 13 INTERNAL: Internal error encountered when updating Cloud Run service with GPU - Stack Overflow

programmeradmin0浏览0评论

I'm trying to update a cloud run service using the NodeJs client library (@google-cloud/run).

For a service without GPU the request succeeds, but when I attach a GPU (using pulumi/terraform) I'm no longer able to update the service.

Code to reproduce:

const client = new ServicesClient({
    projectId,
})

const request: protos.google.cloud.run.v2.IUpdateServiceRequest = {
// name format: projects/<projectNumber>/locations/<location>/services/<serviceId>
    service: { name }, 
    updateMask: { paths: [] },
}

const [operation] = await client.updateService(request)
const [response] = await operation.promise()

console.log(response)

Error:

Error: 13 INTERNAL: Internal error encountered.
    at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/src/call.ts:82:17)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/src/client.ts:360:55)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:458:34)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48) 
发布评论

评论列表(0)

  1. 暂无评论