Network mode for the ack-onepilot component
This topic explains how to specify the network mode for the ack-onepilot component.
Prerequisites
The ack-onepilot component must be version 4.1.2 or later.
Procedure
Log on to the ACK console. In the left navigation pane, click Clusters.
On the Clusters page, click the name of your cluster. In the left navigation pane, click .
-
On the Stateless page, click the ack-onepilot component. It is typically named
ack-onepilot-ack-onepilotand is in theack-onepilotnamespace. -
On the ack-onepilot component details page, click Edit in the upper-right corner. Then, add the ALIYUN_NETWORK environment variable and set it to one of the following values:
-
public: Forces the component to use the public network. -
internal: Forces the component to use the internal network. -
auto: (Default) The component prioritizes the internal network. If the internal network is unavailable, it falls back to the public network for network requests and to pull the agent package.
-
-
Restart the ack-onepilot component. Then, verify that its container status is
Running.