reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
https://www.kubegres.io
Apache License 2.0
1.32k stars 74 forks source link

ImagePullBackOff status issue when trying to install the Kubegres operator #101

Closed Gaurav-Ramakrishna closed 2 years ago

Gaurav-Ramakrishna commented 2 years ago

I'm trying to install the Kubegres operator by executing the kubectl apply -f https://raw.githubusercontent.com/reactive-tech/kubegres/v1.15/kubegres.yaml suggested in the Get Started page.

But when I check the status by executing kubectl get all -n kubegres-system it shows ImagePullBackOff for the pod/kubegres-controller-manager

Any idea why I'm getting the above issue?

alex-arica commented 2 years ago

I tried locally and the command to install the operator worked for me: kubectl apply -f https://raw.githubusercontent.com/reactive-tech/kubegres/v1.15/kubegres.yaml

For kubectl get all -n kubegres-system I get:

NAME                                               READY   STATUS    RESTARTS   AGE
pod/kubegres-controller-manager-755b4c48f6-n5hfn   2/2     Running   0          4m26s

NAME                                                  TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)    AGE
service/kubegres-controller-manager-metrics-service   ClusterIP   10.96.68.84   <none>        8443/TCP   4m26s

NAME                                          READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/kubegres-controller-manager   1/1     1            1           4m26s

NAME                                                     DESIRED   CURRENT   READY   AGE
replicaset.apps/kubegres-controller-manager-755b4c48f6   1         1         1       4m26s

Could you please try again. It could be an issue with Docker Hub at the time when you tried?

Gaurav-Ramakrishna commented 2 years ago

I found the issue. Had to modify the network security to allow inbound traffic on my cloud cluster instance. Thanks