You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This removes the wait block for raid resync for two reasons:
1) raid0 does not have redundancy and therefore no initial resync[1]
2) with raid10 the resync time for 4x 1.9TB disks takes from tens of minutes
to multiple hours, depending on sysctl params `dev.raid.speed_limit_min` and
`dev.raid.speed_limit_max` and the speed of the disks. Initial resync for
raid10 is not strictly needed[1]
Filesystem creation: by default `mkfs.xfs` attempts to TRIM the drive. This is
also something that can take tens of minutes or hours, depening on the size of
drives. TRIM can be skipped, as instances are delivered with disks fully
trimmed[2].
[1] https://raid.wiki.kernel.org/index.php/Initial_Array_Creation
[2] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html#InstanceStoreTrimSupport
Copy file name to clipboardexpand all lines: doc/usage/al2.md
+6
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,12 @@ A RAID-0 array is setup that includes all ephemeral NVMe instance storage disks.
172
172
173
173
Another way of utilizing the ephemeral disks is to format and mount the individual disks. Mounting individual disks allows the [local-static-provisioner](https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner) DaemonSet to create Persistent Volume Claims that pods can utilize.
174
174
175
+
### Experimental: RAID-10 Kubelet and Containerd (raid10)
176
+
177
+
Similar to RAID-0 array, it is possible to utilize RAID-10 array for instance types with four or more ephemeral NVMe instance storage disks. RAID-10 tolerates failure of maximum of 2 disks. However, individual ephemeral disks can not be replaced, so the purpose of redundancy is to make graceful decommisioning of a node possible.
178
+
179
+
RAID-10 can be enabled by passing `--local-disks raid10` flag to the bootstrap script.
Copy file name to clipboardexpand all lines: templates/al2/runtime/bootstrap.sh
+1-1
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ function print_help {
32
32
echo"--enable-local-outpost Enable support for worker nodes to communicate with the local control plane when running on a disconnected Outpost. (true or false)"
33
33
echo"--ip-family Specify ip family of the cluster"
34
34
echo"--kubelet-extra-args Extra arguments to add to the kubelet. Useful for adding labels or taints."
35
-
echo"--local-disks Setup instance storage NVMe disks in raid0 or mount the individual disks for use by pods [mount | raid0]"
35
+
echo"--local-disks Setup instance storage NVMe disks in raid0 or mount the individual disks for use by pods <mount | raid0 | raid10>"
36
36
echo"--mount-bpf-fs Mount a bpffs at /sys/fs/bpf (default: true)"
37
37
echo"--pause-container-account The AWS account (number) to pull the pause container from"
38
38
echo"--pause-container-version The tag of the pause container"
0 commit comments