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

Followed the instructions but the pod is stuck at the Pending state #164

Closed
gasci opened this issue Dec 16, 2024 · 9 comments
Closed

Followed the instructions but the pod is stuck at the Pending state #164

gasci opened this issue Dec 16, 2024 · 9 comments
Assignees
Labels
invalid This doesn't seem right wontfix This will not be worked on

Comments

@gasci
Copy link

gasci commented Dec 16, 2024

Hi, thank you for maintaining this helm chart.

  1. I created a PostgreSQL database and generated a DATABASE_URL
  2. I followed the instructions and created a secret in the cluster with the required ENV variables
  3. I disabled the ingress to test the chart locally
helm upgrade --install --values helm/calcom/values.yaml calcom calcom/calcom --create-namespace -n calcom

# this goes forever
NAME                      READY   STATUS    RESTARTS   AGE
calcom-554f7bf8db-nvjh9   0/1     Pending   0          93s

# this returns nothing
kubectl logs -n calcom calcom-554f7bf8db-rvkbb
@Pyrrha Pyrrha self-assigned this Dec 17, 2024
@Pyrrha
Copy link
Owner

Pyrrha commented Dec 17, 2024

Hello @gasci,

Thanks for using this project.

Can you provide a kubectl describe pod calcom-xxx?

@gasci
Copy link
Author

gasci commented Dec 17, 2024

Here is the error that I am receiving:

Conditions:
  Type           Status
  PodScheduled   False 
Volumes:
  kube-api-access-lnxc5:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  92s   default-scheduler  0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.

@gasci
Copy link
Author

gasci commented Dec 17, 2024

Screenshot 2024-12-17 at 23 52 08

Screenshot 2024-12-17 at 23 53 16

Screenshot 2024-12-17 at 23 53 41

Screenshot 2024-12-17 at 23 54 10

@Pyrrha
Copy link
Owner

Pyrrha commented Dec 18, 2024

From your logs:

Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  92s   default-scheduler  0/1 nodes are available: 1 node(s) had untolerated taint {node.kubernetes.io/disk-pressure: }. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.

It looks like you’ve a single node in your cluster, which has a problem with the disk used. This issue isn’t chart-related, but is directly linked with your infrastructure.

I suggest you to begin with kubectl describe node and iterate from there. This article can help you understand the issue and how to address it.

@Pyrrha Pyrrha added invalid This doesn't seem right wontfix This will not be worked on labels Dec 18, 2024
@gasci
Copy link
Author

gasci commented Dec 18, 2024 via email

@gasci
Copy link
Author

gasci commented Dec 18, 2024 via email

@Pyrrha
Copy link
Owner

Pyrrha commented Dec 18, 2024

For the calcom chart you’re using, you dont need persistence. For now this feature doesn’t come with the chart.

You may run this chart on your cluster, however your node is currently unhealthy. You can begin your investigation by looking for the why, by describing your node status using kubectl describe node as said previously, and inspect the status of your node.

@gasci
Copy link
Author

gasci commented Dec 18, 2024 via email

@Pyrrha
Copy link
Owner

Pyrrha commented Dec 19, 2024

As far as I know, the docker image provided by cal.com (used by this chart) only supports amd64 architecture. You can see it on their official Docker Hub tags page.

There’s currently an issue open for that on their repository: calcom/docker#358

Closing the issue for now, as the problems are not related to this project.

@Pyrrha Pyrrha closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants