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

pod has unbound immediate PersistentVolumeClaims #25

Open
kamal2222ahmed opened this issue May 25, 2019 · 0 comments
Open

pod has unbound immediate PersistentVolumeClaims #25

kamal2222ahmed opened this issue May 25, 2019 · 0 comments

Comments

@kamal2222ahmed
Copy link

kubectl describe pod drupal-649465dd9f-s9cqd
Name:               drupal-649465dd9f-s9cqd
Namespace:          default
Priority:           0
PriorityClassName:  <none>
Node:               <none>
Labels:             app=drupal
                    pod-template-hash=649465dd9f
                    tier=frontend
Annotations:        <none>
Status:             Pending
IP:
Controlled By:      ReplicaSet/drupal-649465dd9f
Containers:
  drupal:
    Image:        drupal:latest
    Port:         30080/TCP
    Host Port:    0/TCP
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-l2m8k (ro)
      /var/www/html/modules from drupal (rw)
      /var/www/html/profiles from drupal (rw)
      /var/www/html/themes from drupal (rw)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  drupal:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  drupal-claim
    ReadOnly:   false
  default-token-l2m8k:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-l2m8k
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason            Age                    From               Message
  ----     ------            ----                   ----               -------
  Warning  FailedScheduling  3m28s (x362 over 23m)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 2 times)

When following instructions to install Drupal:

kubectl create -f kubernetes/local-volumes.yaml
kubectl create -f kubernetes/postgres.yaml
kubectl create -f kubernetes/drupal.yaml

I only changed the size of the Volume to 2Gi instead of 10Gi

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

1 participant