Skip to main content
Solved

Issues when Install IFS Cloud environment


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • 2 replies

There are some pending states containers when I installed a IFS Cloud environment from begining in a new server. All the processes have finished but can not access it successfully for the above reason I think. If there is someone know how to solve these problem, please help me.

Containers detail please refer to the attachment. 

Best answer by Ben Monroe

Hi hfpio,

  • ifsapp-reporting

The "describe" indicates:

0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.

Can you please share the output for "kubectl describe node"?

  • ifsapp-odata:

The output has...
  Status:       Failed
  Reason:       Evicted
  Message:      Pod ephemeral local storage usage exceeds the total limit of containers 1G. 
  ...
  Reason: ContainerStatusUnknown
  Message: The container could not be located when the pod was terminated.

Please check the logs (for each container):

kubectl logs <ifsapp-odata> -c ifsapp-odata -n <namespace>
kubectl logs <ifsapp-odata> -c linkerd-proxy -n <namespace>

You can also try deleting the pod. It will be re-created.

kubectl delete pod <ifsapp-odata> -n <namespace>
  • ifs-db-init:

This is one-time task. Completed is what you want to see.

Best regards, Ben

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+14
  • Superhero (Employee)
  • 159 replies
  • May 25, 2023

Hi hfpiao,

 

A pending state means that Kubernetes is unable to schedule a pod for execution due to insufficient resources (CPU and memory). Please perform a “describe” on those pods and check the listed events in the output. Further, please “describe” the node to check the CPU and memory pressure.

Commands:

  kubectl describe pod <pod name> -n <ifs namespace>
  kubectl describe node

Best regards, Ben


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • May 25, 2023

Hi Ben

Thank you very much.

According to what you said, the CPU has been increased, and most of it can run, but there are still some parts that are not in execution status, and there is no relevant information about the Event.

Please refer to the attachment.

 

 


Forum|alt.badge.img+14
  • Superhero (Employee)
  • 159 replies
  • Answer
  • May 25, 2023

Hi hfpio,

  • ifsapp-reporting

The "describe" indicates:

0/1 nodes are available: 1 Insufficient cpu. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod.

Can you please share the output for "kubectl describe node"?

  • ifsapp-odata:

The output has...
  Status:       Failed
  Reason:       Evicted
  Message:      Pod ephemeral local storage usage exceeds the total limit of containers 1G. 
  ...
  Reason: ContainerStatusUnknown
  Message: The container could not be located when the pod was terminated.

Please check the logs (for each container):

kubectl logs <ifsapp-odata> -c ifsapp-odata -n <namespace>
kubectl logs <ifsapp-odata> -c linkerd-proxy -n <namespace>

You can also try deleting the pod. It will be re-created.

kubectl delete pod <ifsapp-odata> -n <namespace>
  • ifs-db-init:

This is one-time task. Completed is what you want to see.

Best regards, Ben


Forum|alt.badge.img+1
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • May 25, 2023

Hi Ben

Thank you. solved.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings