We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f657bf1 commit 85ea0f2Copy full SHA for 85ea0f2
packages/k8s/src/hooks/prepare-job.ts
@@ -164,10 +164,11 @@ export function processServiceContainers(
164
)
165
})
166
167
- const tpuRequestingContainers = services.filter(
+ const tpuRequestingContainers = serviceContainers.filter(
168
service =>
169
service.resources?.limits && service.resources.limits['google.com/tpu']
170
171
+ core.debug(`There are ${tpuRequestingContainers.length} service container requesting for TPU's.`)
172
173
if (tpuRequestingContainers.length > 1) {
174
throw new Error(
0 commit comments