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 af47a2a commit 431c2a1Copy full SHA for 431c2a1
packages/k8s/src/hooks/prepare-job.ts
@@ -164,10 +164,13 @@ 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(
172
+ `There are ${tpuRequestingContainers.length} service container requesting for TPU's.`
173
+ )
174
175
if (tpuRequestingContainers.length > 1) {
176
throw new Error(
0 commit comments