Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: order-service stuck in CrashLoopBackOff state #101

Open
engrashid opened this issue Jan 26, 2024 · 4 comments
Open

BUG: order-service stuck in CrashLoopBackOff state #101

engrashid opened this issue Jan 26, 2024 · 4 comments

Comments

@engrashid
Copy link

Describe the bug
order-service deployment fails in aks cluster
To Reproduce
Steps to reproduce the behavior:
kubectl get pods -n pets | grep order-service

Expected behavior
order-service-78d6dc9fbb-7kvnz 0/1 CrashLoopBackOff 17 (4m13s ago) 43m

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macos
  • Browser: chrome
  • Version 120.0.6099.234
Screenshot 2024-01-26 at 1 00 35 AM Screenshot 2024-01-26 at 1 01 31 AM
@chzbrgr71
Copy link
Collaborator

How did you deploy the application? Did you use the aks-store-all-in-one.yaml or were you following one of the AKS Docs?

@engrashid
Copy link
Author

I used
kubectl apply -f https://raw.githubusercontent.com/Azure-Samples/aks-store-demo/main/aks-store-all-in-one.yaml
It was from AKS Docs .

@pauldotyu
Copy link
Contributor

Thanks for reporting the issue @engrashid. I've seen this error occur when the order-service's startupProbe fails (for whatever reason). However, it should resolve itself after the scheduler kills and restarts the pod. Does your order-service eventually come up? If not, you can try running the following command to restart:

kubectl rollout restart deploy order-service

Also, if you run the following command, you might be able to see some additional detail that could help troubleshoot.

kubectl events | grep order-service

@pauldotyu
Copy link
Contributor

@engrashid do you still need assistance here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants