godel-scheduler: Quickstart - Basic Pod Scheduling run failed

after execute $ kubectl apply -f manifests/quickstart-feature-examples/basic-pod-scheduling/deployment.yaml, pods is pending but not running.

$ kubectl get pods
NAME                     READY   STATUS    RESTARTS   AGE
basic-858b79df7f-fd9jd   0/1     Pending   0          18m
basic-858b79df7f-msg5n   0/1     Pending   0          18m
basic-858b79df7f-xddfl   0/1     Pending   0          18m

There’s no log output and no pod events.

$ kubectl logs basic-858b79df7f-xddfl nginx
$ kubectl describe pod
Name:             basic-858b79df7f-fd9jd
Namespace:        default
Priority:         0
Service Account:  default
Node:             <none>
Labels:           app=basic
                  pod-template-hash=858b79df7f
Annotations:      godel.bytedance.com/pod-launcher: kubelet
                  godel.bytedance.com/pod-resource-type: guaranteed
Status:           Pending
IP:               
IPs:              <none>
Controlled By:    ReplicaSet/basic-858b79df7f
Containers:
  nginx:
    Image:      nginx
    Port:       <none>
    Host Port:  <none>
    Limits:
      cpu:     1
      memory:  1Mi
    Requests:
      cpu:        1
      memory:     1Mi
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-6hc4b (ro)
Volumes:
  kube-api-access-6hc4b:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:                      <none>


Name:             basic-858b79df7f-msg5n
Namespace:        default
Priority:         0
Service Account:  default
Node:             <none>
Labels:           app=basic
                  pod-template-hash=858b79df7f
Annotations:      godel.bytedance.com/pod-launcher: kubelet
                  godel.bytedance.com/pod-resource-type: guaranteed
Status:           Pending
IP:               
IPs:              <none>
Controlled By:    ReplicaSet/basic-858b79df7f
Containers:
  nginx:
    Image:      nginx
    Port:       <none>
    Host Port:  <none>
    Limits:
      cpu:     1
      memory:  1Mi
    Requests:
      cpu:        1
      memory:     1Mi
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-zmr86 (ro)
Volumes:
  kube-api-access-zmr86:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:                      <none>


Name:             basic-858b79df7f-xddfl
Namespace:        default
Priority:         0
Service Account:  default
Node:             <none>
Labels:           app=basic
                  pod-template-hash=858b79df7f
Annotations:      godel.bytedance.com/pod-launcher: kubelet
                  godel.bytedance.com/pod-resource-type: guaranteed
Status:           Pending
IP:               
IPs:              <none>
Controlled By:    ReplicaSet/basic-858b79df7f
Containers:
  nginx:
    Image:      nginx
    Port:       <none>
    Host Port:  <none>
    Limits:
      cpu:     1
      memory:  1Mi
    Requests:
      cpu:        1
      memory:     1Mi
    Environment:  <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-9njqr (ro)
Volumes:
  kube-api-access-9njqr:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Guaranteed
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:                      <none>

I edit the godel-demo-default.yaml file. Change the image: kindest/node:v1.21.1 to v1.29.2.

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
name: godel-demo-default
nodes:
  - role: control-plane
    image: kindest/node:v1.29.2
  - role: worker
    image: kindest/node:v1.29.2

Environment

$ uname -a
Linux sailg1-PowerEdge-T640 6.5.0-18-generic #18~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb  7 11:40:03 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

kubectl version: 1.29.2 docker version: 26.0.0 kind version: v0.22.0 go version: 1.22.0 kustomize version: v5.3.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

@yuey002 Thanks very much, it works.