This commit is contained in:
Balena CI 2020-06-15 12:18:01 +03:00 committed by VersionBot
parent d0bcaa6fa2
commit 0b9727c9cb
5 changed files with 42 additions and 3 deletions

View File

@ -1,3 +1,37 @@
- commits:
- subject: Add label to expose gpu to container
hash: ae646a07ec6a6c96f7cb91f1d37898a94dbab47a
body: >
In the absence of an upstream implementation of the DeviceRequest API
introduced
as part of Docker API v1.40 we roll our own using a feature label.
As per my comment in the code, we fall back to the default behavior of
docker cli's `--gpu` and request single device with the `gpu` capabilty.
The only implementation at the moment is the NVIDIA driver; here:
https://github.com/balena-os/balena-engine/blob/master/daemon/nvidia_linux.go
Background on the composefile implementation:
https://github.com/compose-spec/compose-spec/issues/74
https://github.com/docker/compose/issues/6691
footer:
Change-type: patch
change-type: patch
Connects-to: 'https://github.com/balena-os/balena-jetson/pull/75'
connects-to: 'https://github.com/balena-os/balena-jetson/pull/75'
Signed-off-by: Robert Günzler <robertg@balena.io>
signed-off-by: Robert Günzler <robertg@balena.io>
author: Robert Günzler
version: 11.7.2
date: 2020-06-11T12:11:35.793Z
- commits: - commits:
- subject: Move database app processing out to its own module - subject: Move database app processing out to its own module
hash: b31d5007fba001fcb71f5103447823f9a27bbfaa hash: b31d5007fba001fcb71f5103447823f9a27bbfaa

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
# v11.7.2
## (2020-06-11)
* Add label to expose gpu to container [Robert Günzler]
# v11.7.1 # v11.7.1
## (2020-06-11) ## (2020-06-11)

View File

@ -1 +1 @@
11.7.1 11.7.2

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "balena-supervisor", "name": "balena-supervisor",
"version": "11.7.1", "version": "11.7.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,7 +1,7 @@
{ {
"name": "balena-supervisor", "name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.", "description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "11.7.1", "version": "11.7.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
"type": "git", "type": "git",