I’m looking to support a multi-device type fleet, with a variety of raspberry pi and jetson nano devices.
I wanted to use container requirements to specify that:
jetson nanos should get container-t210
jetson xaviers should get container-t186
and everything else should get container-base
Using Optional containers, I was able to do the first two, but it seems like I need a “NOT” operator to specify the 3rd, base case? Is it possible to do this?
I’d want to specify something like:
version: '2'
services:
container-nano:
build: ./t210
labels:
io.balena.features.requires.hw.device-type: 'jetson-nano'
io.balena.features.optional: '1'
container-xavier:
build: ./t186
labels:
io.balena.features.requires.hw.device-type: 'jetson-xavier-nx'
io.balena.features.optional: '1'
container-base:
build: ./base
labels:
io.balena.features.requires.hw.device-type: !='jetson.*'
io.balena.features.optional: '1'