Skip to content

Commit 30e4fb0

Browse files
committed
OSDOCS-12780: Update incorrect GPU values in CAS example spec
1 parent 7b7f5e4 commit 30e4fb0

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

modules/cluster-autoscaler-cr.adoc

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,9 @@ spec:
2626
min: 4 # <5>
2727
max: 256 # <6>
2828
gpus:
29-
- type: nvidia.com/gpu # <7>
30-
min: 0 # <8>
31-
max: 16 # <9>
32-
- type: amd.com/gpu
33-
min: 0
34-
max: 4
29+
- type: <gpu_type> # <7>
30+
min: 0 # <8>
31+
max: 16 # <9>
3532
logVerbosity: 4 # <10>
3633
scaleDown: # <11>
3734
enabled: true # <12>
@@ -48,9 +45,19 @@ spec:
4845
<4> Specify the maximum number of cores to deploy in the cluster.
4946
<5> Specify the minimum amount of memory, in GiB, in the cluster.
5047
<6> Specify the maximum amount of memory, in GiB, in the cluster.
51-
<7> Optional: Specify the type of GPU node to deploy. Only `nvidia.com/gpu` and `amd.com/gpu` are valid types.
52-
<8> Specify the minimum number of GPUs to deploy in the cluster.
53-
<9> Specify the maximum number of GPUs to deploy in the cluster.
48+
<7> Optional: To configure the cluster autoscaler to deploy GPU-enabled nodes, specify a `type` value that represents the GPU type to use.
49+
For example, you might use `nvidia-t4` to represent Nvidia T4 GPUs, or `nvidia-a10g` for A10G GPUs.
50+
+
51+
--
52+
[NOTE]
53+
====
54+
The `type` value must match the value of the `spec.template.spec.metadata.labels[cluster-api/accelerator]` label in the machine set that manages the GPU-enabled nodes of that type.
55+
Because you use this value as a label on the machine set, it must consist of alphanumeric characters, `-`, `_`, or `.` and must start and end with an alphanumeric character.
56+
====
57+
--
58+
+
59+
<8> Specify the minimum number of GPUs of the specified type to deploy in the cluster.
60+
<9> Specify the maximum number of GPUs of the specified type to deploy in the cluster.
5461
<10> Specify the logging verbosity level between `0` and `10`. The following log level thresholds are provided for guidance:
5562
+
5663
--

0 commit comments

Comments
 (0)