Add GPU sharing solution on native Kubernetes (#1102)

* run hadolint with reviewdog

* add LINCENSE in Dockerfile

* run hadolint with reviewdog

* Reporter of reviewdog command is "github-pr-check"

* format Dockerfile

* ignore DL3007 in hadolint

* clean up old docker images

* Add GPU sharing solution on native Kubernetes

* nightly test mailer
pull/1116/head
quicksilver 2020-01-19 18:03:45 +08:00 committed by Jin Hai
parent a909f95c6c
commit 658f100a10
3 changed files with 6 additions and 4 deletions

View File

@ -190,10 +190,10 @@ pipeline {
}
}
post {
always {
unsuccessful {
script {
boolean isNightlyTest = isTimeTriggeredBuild()
if (!currentBuild.resultIsBetterOrEqualTo('SUCCESS') && isNightlyTest) {
if (isNightlyTest) {
// Send an email only if the build status has changed from green/unstable to red
emailext subject: '$DEFAULT_SUBJECT',
body: '$DEFAULT_CONTENT',

View File

@ -26,7 +26,8 @@ spec:
limits:
memory: "12Gi"
cpu: "6.0"
nvidia.com/gpu: 1
# nvidia.com/gpu: 1
aliyun.com/gpu-mem: 2 # GiB
requests:
memory: "8Gi"
cpu: "4.0"

View File

@ -25,7 +25,8 @@ spec:
limits:
memory: "12Gi"
cpu: "6.0"
nvidia.com/gpu: 1
# nvidia.com/gpu: 1
aliyun.com/gpu-mem: 2 # GiB
requests:
memory: "8Gi"
cpu: "4.0"