This topic describes how to specify the network mode of the ack-onepilot component for Application Real-Time Monitoring Service (ARMS) in the Container Service for Kubernetes (ACK) console.
Prerequisite
The ack-onepilot component is V4.1.2 or later.
Procedure
Log on to the ACK console. In the left-side navigation pane, click Clusters.
On the Clusters page, find the cluster you want to manage and click its name. In the left-side pane, choose .
On the Deployments page, click the ack-onepilot component. Generally, it is named ack-onepilot-ack-onepilot in the ack-onepilot namespace.
In the upper-right corner of the page that appears, click Edit.
Scroll down until you see the Environments section. Click Add, add the environment variable ALIYUN_NETWORK, and set the value to one of the following:
public: The ack-onepilot component only runs on the public network.
internal: It only runs on the internal network.
auto: It typically runs on the internal network. If the internal network is disconnected, it switches to the public network for access requests and agent package pulling.
Restart the ack-onepilot component. Then, confirm that its pods are running.
