mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
OSDOCS-18044 Day 2 throughput configuration
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
6d2a83d04f
commit
c01e207ca7
@@ -56,6 +56,9 @@ include::modules/machine-feature-aws-dedicated-instances.adoc[leveloffset=+2]
|
||||
// Non-guaranteed Spot Instances and hourly cost limits
|
||||
include::modules/machine-feature-agnostic-nonguaranteed-instances.adoc[leveloffset=+2]
|
||||
|
||||
// Throughput for gp3 drives
|
||||
include::modules/machine-feature-aws-throughput-capi.adoc[leveloffset=+2]
|
||||
|
||||
// Capacity Reservation configuration options
|
||||
include::modules/machine-feature-agnostic-capacity-reservation.adoc[leveloffset=+2]
|
||||
|
||||
|
||||
@@ -37,6 +37,9 @@ include::modules/machineset-imds-options.adoc[leveloffset=+1]
|
||||
//Creating machines that use the Amazon EC2 Instance Metadata Service
|
||||
include::modules/machineset-creating-imds-options.adoc[leveloffset=+2]
|
||||
|
||||
//Modifying gp3 drive throughput
|
||||
include::modules/machine-feature-aws-throughput.adoc[leveloffset=+1]
|
||||
|
||||
//Machine sets that deploy machines as Dedicated Instances
|
||||
include::modules/machineset-dedicated-instances.adoc[leveloffset=+1]
|
||||
|
||||
|
||||
38
modules/machine-feature-aws-throughput-capi.adoc
Normal file
38
modules/machine-feature-aws-throughput-capi.adoc
Normal file
@@ -0,0 +1,38 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * machine_management/cluster_api_machine_management/cluster_api_provider_configurations/cluster-api-config-options-aws.adoc
|
||||
|
||||
:_mod-docs-content-type: PROCEDURE
|
||||
[id="machine-feature-aws-throughput-capi_{context}"]
|
||||
= Configuring storage throughput for gp3 drives
|
||||
|
||||
[role="_abstract"]
|
||||
You can improve performance for high traffic services by increasing the throughput of gp3 storage volumes in an {aws-short} cluster. You can configure the storage throughput for the root volume, non root volumes, or both.
|
||||
|
||||
include::snippets/apply-machine-configuration-method.adoc[tag=method-machine-template]
|
||||
|
||||
.Prerequisites
|
||||
|
||||
* You use gp3 storage volume(s).
|
||||
|
||||
.Procedure
|
||||
|
||||
* On the machine template in which you want to configure throughput, add the `throughput` parameter:
|
||||
+
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: infrastructure.cluster.x-k8s.io/v1beta2
|
||||
kind: AWSMachineTemplate
|
||||
# ...
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
nonRootVolumes:
|
||||
- throughput: <throughput_value>
|
||||
rootVolume:
|
||||
throughput: <throughput_value>
|
||||
# ...
|
||||
----
|
||||
where:
|
||||
|
||||
`<throughput_value>`:: Specifies a value in MiB/s between 125 and 2,000. This value can only be modified on gp3 volumes. The default value is 125. You can set the throughput value for the root volume and non root volumes separately.
|
||||
38
modules/machine-feature-aws-throughput.adoc
Normal file
38
modules/machine-feature-aws-throughput.adoc
Normal file
@@ -0,0 +1,38 @@
|
||||
// Module included in the following assemblies:
|
||||
//
|
||||
// * machine_management/creating_machinesets/creating-machineset-aws.adoc
|
||||
|
||||
:_mod-docs-content-type: PROCEDURE
|
||||
[id="machine-feature-aws-throughput_{context}"]
|
||||
= Configuring storage throughput for gp3 drives
|
||||
|
||||
[role="_abstract"]
|
||||
You can improve performance for high traffic services by increasing the throughput of gp3 storage volumes in an {aws-short} cluster. You can configure the storage throughput in a compute machine set.
|
||||
|
||||
.Prerequisites
|
||||
|
||||
* You use gp3 storage volume(s).
|
||||
|
||||
.Procedure
|
||||
|
||||
* On the machine set that you want to configure throughput, add the `throughputMib` parameter:
|
||||
+
|
||||
[source,yaml]
|
||||
----
|
||||
apiVersion: machine.openshift.io/v1beta1
|
||||
kind: MachineSet
|
||||
# ...
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
providerSpec:
|
||||
value:
|
||||
blockDevices:
|
||||
- ebs:
|
||||
throughputMib: <throughput_value>
|
||||
|
||||
# ...
|
||||
----
|
||||
where:
|
||||
|
||||
`<throughput_value>`:: Specifies a value in MiB/s between 125 and 2,000. This value can only be modified on gp3 volumes. The default value is 125.
|
||||
Reference in New Issue
Block a user