Changes for move to Netlify (#4464)
* disable jekyll-redirect-from gem * add _redirects file * disable 404 redirect script * add 301 redirect to test * retain _redirects file * Convert redirect_from's to _redirect file. (#4409) * Remove redirect_from's. (#4424) * Add 301's to _redirects. (#4427) * add whitespace before 301 * move redirects in /js/redirects/js to _redirects * add disabled option for cn redirect * convert include to array in _config.yml * enable redirects.js script for legacy support
This commit is contained in:
@@ -2,9 +2,6 @@
|
||||
assignees:
|
||||
- vishh
|
||||
title: Schedule GPUs
|
||||
redirect_from:
|
||||
- "/docs/user-guide/gpus/"
|
||||
- "/docs/user-guide/gpus.html"
|
||||
---
|
||||
|
||||
{% capture overview %}
|
||||
@@ -33,17 +30,17 @@ Nvidia GPUs can be consumed via container level resource requirements using the
|
||||
```yaml
|
||||
apiVersion: v1
|
||||
kind: pod
|
||||
spec:
|
||||
containers:
|
||||
-
|
||||
spec:
|
||||
containers:
|
||||
-
|
||||
name: gpu-container-1
|
||||
resources:
|
||||
limits:
|
||||
resources:
|
||||
limits:
|
||||
alpha.kubernetes.io/nvidia-gpu: 2 # requesting 2 GPUs
|
||||
-
|
||||
-
|
||||
name: gpu-container-2
|
||||
resources:
|
||||
limits:
|
||||
resources:
|
||||
limits:
|
||||
alpha.kubernetes.io/nvidia-gpu: 3 # requesting 3 GPUs
|
||||
```
|
||||
|
||||
@@ -90,12 +87,12 @@ metadata:
|
||||
}
|
||||
}
|
||||
}
|
||||
spec:
|
||||
containers:
|
||||
-
|
||||
spec:
|
||||
containers:
|
||||
-
|
||||
name: gpu-container-1
|
||||
resources:
|
||||
limits:
|
||||
resources:
|
||||
limits:
|
||||
alpha.kubernetes.io/nvidia-gpu: 2
|
||||
```
|
||||
|
||||
@@ -135,7 +132,7 @@ spec:
|
||||
- hostPath:
|
||||
path: /usr/lib/nvidia-375/bin
|
||||
name: bin
|
||||
- hostPath:
|
||||
- hostPath:
|
||||
path: /usr/lib/nvidia-375
|
||||
name: lib
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user