Updated on 2023-11-24 GMT+08:00

EdgeCore Configuration Management

Scenario

IEF allows you to manage EdgeCore configuration parameters, through which you can let EdgeCore work under your very requirements.

Procedure

  1. Run the following command on the edge node to modify the EdgeCore configuration and save the modification:

    vi /opt/IEF/Edge-core/conf/edge.yaml

    The following table describes the parameters that can be configured.

    Table 1 Parameter description

    Component

    Parameter

    Description

    Value

    edge-core

    interface-name

    NIC name

    Default value: eth0

    internal-server

    Listening address of the built-in MQTT broker

    tls://lo:8883,tls://docker0:8883

    image-gc-high-threshold

    Percentage of the disk usage that triggers image garbage collection

    Default value: 80

    image-gc-low-threshold

    Target percentage of the disk usage after releasing resources with image garbage collection

    Default value: 40

    swr-url

    Proxy address for pulling an image

    Default value: ""

  2. After the configuration is modified, restart EdgeCore.

    systemctl restart edgecore