Help Center>
Ubiquitous Cloud Native Service>
FAQs>
Container Clusters>
Why Does proxy-agent Fail to Run?
Updated on 2022-11-07 GMT+08:00
Why Does proxy-agent Fail to Run?
Background
The deployed proxy-agent is not in the Running state.
Procedure
- Log in to the master node of the cluster.
- Check the running status of proxy-agent.kubectl -n kube-system get pod | grep proxy-agent
The following command output shows the pods are in the ImagePullBackOff and Pending states:
proxy-agent-59ddf7597b-rq4j6 0/1 ImagePullBackOff 0 2d16h proxy-agent-59ddf7597b-sjf55 0/1 Pending 0 2d16h
- Query the details about the pods:kubectl describe pod proxy-agent-*** -nkube-system
The following errors may occur:
- The Kubernetes event indicates that the cluster cannot pull the proxy-agent image. In this case, check whether the cluster can access the public network to pull the SWR image.
- The Kubernetes event indicates that the CPU or memory resources of the node are insufficient. In this case, scale up the node.
- The Kubernetes event shows that the scheduling failed. To achieve high availability, proxy-agent is deployed with two pods and they are scheduled to different nodes by default. Ensure that your cluster has at least two nodes with sufficient resources.
- After the preceding problems are resolved, check the running status of proxy-agent again. All pods should now be in the Running state.
Parent topic: Container Clusters
Container Clusters FAQs
- Why Does a Cluster Stay in Waiting or Abnormal State When Connecting to UCS?
- How Do I Restore a Deleted VPC Endpoint for a Cluster Connected Through a Private Network?
- Why Does proxy-agent Fail to Run?
Feedback
Was this page helpful?
Provide feedback
Thank you very much for your feedback. We will continue working to improve the
documentation.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore