How do I modify the resource quotas of an OMS container?

2024-08-16 06:00:53  Updated

Notice:

${container_name} in the following commands specifies the name of the OceanBase Migration Service (OMS) container. Replace it with the actual container name.

Modify the CPU quota

# Dynamically update the number of CPU cores that the OMS container can use to 32.
docker update ${container_name} --cpu-quota 3200000

Modify the memory quota

# Dynamically update the memory that the OMS container can use to 256 GB.
docker update ${container_name} --memory 256G

Specify the CPU cores to be used

# Dynamically update the CPU cores to be used by the OMS container to cores 0 to 31.
docker update ${container_name} --cpuset-cpus=0-31

Contact Us