Skip to content

zoo pod stuck in Pending #241

@alexfrieden

Description

@alexfrieden

Hi folks,
I followed the instructions for standing up the k8s cluster with running things in the following order:

kubectl -n kafka apply -f configure/aws-storageclass-zookeeper-gp2.yml
kubectl -n kafka apply -f configure/aws-storageclass-broker-gp2.yml
kubectl -n kafka apply -f 00-namespace.yml
kubectl -n kafka apply -f rbac-namespace-default/
kubectl -n kafka apply -f zookeeper/
kubectl -n kafka apply -f kafka/

The logs seem fine but when I go to see the pods I get pod/zoo-0 and zoo-1 stuck in Pending

kubectl -n kafka get all
NAME          READY   STATUS    RESTARTS   AGE
pod/kafka-0   1/1     Running   0          4m
pod/kafka-1   1/1     Running   0          4m
pod/kafka-2   1/1     Running   0          4m
pod/pzoo-0    1/1     Running   0          6m
pod/pzoo-1    1/1     Running   0          6m
pod/pzoo-2    1/1     Running   0          6m
pod/zoo-0     0/1     Pending   0          6m
pod/zoo-1     0/1     Pending   0          6m

NAME                TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
service/bootstrap   ClusterIP   100.68.139.100   <none>        9092/TCP            4m
service/broker      ClusterIP   None             <none>        9092/TCP            4m
service/pzoo        ClusterIP   None             <none>        2888/TCP,3888/TCP   6m
service/zoo         ClusterIP   None             <none>        2888/TCP,3888/TCP   6m
service/zookeeper   ClusterIP   100.67.78.247    <none>        2181/TCP            6m

NAME                     DESIRED   CURRENT   AGE
statefulset.apps/kafka   3         3         4m
statefulset.apps/pzoo    3         3         6m
statefulset.apps/zoo     2         2         6m

Any thoughts on what is going on here? Any help is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions