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

Tutorial for deploying parca isn't working - Parca agent keeps crashing #4603

Closed
Adib234 opened this issue May 10, 2024 · 4 comments
Closed

Comments

@Adib234
Copy link

Adib234 commented May 10, 2024

Hello, I'm following this tutorial https://www.parca.dev/docs/kubernetes/ and everytime I try to provision the Parca agent as a DaemonSet, the agent always has a status of CrashLoopBackOff after verifying it with kubectl get pods -n parca

adibakm@adib9 ~> kubectl get pods -n parca
NAME                    READY   STATUS             RESTARTS      AGE
parca-agent-ntnxq       0/1     CrashLoopBackOff   6 (43s ago)   6m24s
parca-fbb56f99f-lw4tr   1/1     Running            0             14m
@brancz
Copy link
Member

brancz commented May 11, 2024

How did you create this Kubernetes cluster? Which kernel version is this on?

@Adib234
Copy link
Author

Adib234 commented May 11, 2024

I used the tool kind https://kind.sigs.k8s.io/ to create the cluster. How would I identify the kernel version?

@brancz
Copy link
Member

brancz commented May 12, 2024

IMG_0920

As the guide says, can you try again with a real VM, like with minikube? The problem is that kind uses user-namespaces, which prevent the agent from correctly observing and working with the Kernel.

@Adib234
Copy link
Author

Adib234 commented May 17, 2024

I tried this with a real VM and it works now, thank you!

@Adib234 Adib234 closed this as completed May 17, 2024
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

2 participants