Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Pods stuck on ImagePullBackOff status #329

@kollender

Description

@kollender

After ksync installation, tried to run ksync init and got:

Cluster Config                              ✓
Cluster Connection                          ✓
Cluster Version                             ✓
Cluster Permissions                         ✓

==== Cluster Environment ====
Adding ksync to the cluster                 ✓
Waiting for pods to be healthy              ✘
↳       Timed out waiting for the ksync daemonset to be healthy.

To debug, you can:
- Run 'kubectl --namespace=kube-system --context= get pods -lapp=ksync' to look at what's going on.
- Run 'ksync doctor' to do an in-depth check of your system and the cluster.
FATA[0070]

When I run ksync doctor I get:

Cluster Config                              ✓
Cluster Connection                          ✓
Cluster Version                             ✓
Cluster Permissions                         ✓
Cluster Service                             ✓
Service Health                              ✘
↳       Cluster service is not healthy.

- If you just ran init, wait a little longer and try again.
- Run 'kubectl --namespace=kube-system --context= get pods -lapp=ksync' to look at what's going on.

The output of ksync version:

        Version:    Release
        Go Version: go1.13.4
        Git Commit: a5628b9
        Git Tag:    refs/tags/0.4.1
        Built:      Wed Nov 13 18:42:02 +0000 2019
        OS/Arch:    darwin/amd64
FATA[0005] no healthy nodes found

All of the pods are in the same status (kubectl --namespace=kube-system --context= get pods -lapp=ksync):

NAME          READY   STATUS             RESTARTS   AGE
ksync-7zgft   0/2     ImagePullBackOff   0          24m

The image in the DS is ksync/ksync:git-a5628b9.

The K8s cluster is a GKE cluster, and this is the output of kubectl version:

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-14T04:24:34Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.8-gke.17", GitCommit:"188432a69210ca32cafded81b4dd1c063720cac0", GitTreeState:"clean", BuildDate:"2019-11-13T20:47:11Z", GoVersion:"go1.12.11b4", Compiler:"gc", Platform:"linux/amd64"}

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