Hi all,
I have been looking at the docs but unable to find this one. My yaml usually looks like:
taskGroups:
- taskSpec:
runnables:
- container:
imageUri: ... #Docker image Debian/bookworm
entrypoint: /bin/bash
commands:
- ...
environment:
variables:
...
volumes:
- gcs:
remotePath: ...
mountPath: ...
computeResource:
cpuMilli: ...
memoryMib: ...
maxRetryCount: ...
maxRunDuration: "...s"
allocationPolicy:
instances:
- policy:
bootDisk:
sizeGb: ...
machineType: ...
network:
networkInterfaces:
nicType: GVNIC
network-performance-config:
totalEgressBandwidthTier: TIER_1
totalIngressBandwidthTier: TIER_1
totalNetworkPerformanceTier: TIER_1
palcement:
collocation: COLLOCATED
Unfortunately the networkInterface options don’ work:
- description: "Invalid JSON payload received. Unknown name \"nicType\" at 'job.allocation_policy.network.network_interfaces[0]':\
\ Cannot find field."
field: job.allocation_policy.network.network_interfaces[0]
It would be great if someone could help me. I don’t know if I have to also specify the diskimage. Ideally I want a resource that can run my docker but comes pre enabled with Tier_1 bandwidth. It would be great if you could also check the placement policy entry.
Thank you!
@bolianyin @wenyhu