이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 7. Troubleshooting etcd
To troubleshoot etcd and improve performance, configure the memory allowance for the service.
7.1. Configuring the memoryLimitMB value to set parameters for the etcd server 링크 복사링크가 클립보드에 복사되었습니다!
By default, etcd uses as much memory as necessary to handle the system load. On memory-constrained systems, limiting the amount of memory etcd uses might be necessary. Configure the memoryLimitMB parameter to restrict the memory consumption of the etcd server.
Procedure
Edit the
/etc/microshift/config.yamlconfiguration file to set thememoryLimitMBvalue.etcd: memoryLimitMB: 128NoteThe minimum required value for
memoryLimitMBon MicroShift is 128 MB. Values close to the minimum value are more likely to impactetcdperformance. Lower limits increase the time etcd takes to respond to queries. If the limit is too low or etcd usage is high, queries might time out.
Verification
Restart MicroShift to apply the changes by running the following command:
$ sudo systemctl restart microshiftVerify that the new
memoryLimitMBvalue is in use by running the following command:$ systemctl show --property=MemoryHigh microshift-etcd.scope