mirror of https://github.com/milvus-io/milvus.git
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 mailerpull/1116/head
parent
a909f95c6c
commit
658f100a10
|
@ -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',
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue