This topic describes common issues and provides solutions.
General questions about SOFAStack
Can SOFAStack be deployed on virtual machines or physical servers?
Yes. SOFAStack supports deployment on physical servers and virtual machines (VMs).
Does SOFAStack only support Alibaba Cloud Container Service for Kubernetes (ACK)?
SOFA supports deployment across multicloud and heterogeneous environments, including platforms such as Huawei Cloud and open source OpenStack.
Can SOFAStack be integrated with existing systems?
Yes. SOFAStack provides open, standard APIs that you can use to integrate with your existing systems.
FAQ for application deployments
Deployment is stuck and the pod has no events
Use the solutions in this section only if your issue is an Exact Match for the problem description. Otherwise, check the pod events to find the cause of the error.
Problem description:
The deployment is stuck. The pod status does not update, and the event list is empty, as shown in the following figure.
Click Cluster Management > Cluster Details.
On the Cluster Details page, click Workloads > Pods.
View the pod YAML file. You will find that all conditions in the
statussection are set to true, as shown in the following figure.After about 10 minutes, the deployment fails. The pod status remains gray, as shown in the following figure.
Solution:
Method 1: Delete the pod
If you delete the pod, it cannot be upgraded in place. The new pod will have a different name and IP address.
Find the stuck pod.
Click Cluster Management > Cluster Details.
On the Cluster Details page, click Workloads > Pods.
Switch the namespace to find the stuck pod.
Delete the pod. A new pod is created automatically.
Go to the Deployment page, click Retry, and monitor the pod status.
Method 2: Add a label to the pod
Use this method if the deployment only updates the image and you want to keep the same pod name and IP address.
Find the stuck pod.
Click Cluster Management > Cluster Details.
On the Cluster Details page, click Workloads > Pods.
Switch the namespace to find the stuck pod.
Click View/Edit, manually add the label
cafe.sofastack.io/upgrading: 'true'to the pod, and then click Submit.After you submit the change, an "Update successful" message appears.
After the update is complete, return to the Deployment page, click Retry, and monitor the pod status.