ImagePullBackOff 问题 bitnami rabbitmq-exporter,k8s

ImagePullBackOff 问题 bitnami rabbitmq-exporter,k8s

我们面临一个问题,无法从 Dockrhub 下载 bitnami/rabbitmq-exporter。

kubectl get statefulset rabbitmq -o yaml

 name: rabbitmq
        - name: RABBIT_URL
          value: http://localhost:15672
        - name: RABBIT_USER
          value: user
        - name: PUBLISH_PORT
          value: "9419"
        - name: RABBIT_CAPABILITIES
          value: bert,no_sort
        image: docker.io/bitnami/rabbitmq-exporter:0.29.0-debian-9-r104
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 6
          httpGet:
            path: /metrics
            port: metrics


 name: RABBITMQ_ERL_COOKIE
          valueFrom:
            secretKeyRef:
              key: rabbitmq-erlang-cookie
              name: rabbitmq
        - name: RABBITMQ_PASSWORD
          valueFrom:
            secretKeyRef:
              key: rabbitmq-password
              name: rabbitmq
        image: docker.io/bitnami/rabbitmq:3.8.2-debian-9-r0
        imagePullPolicy: IfNotPresent
        livenessProbe:
          exec:
           
but we have issue with the RabbitMQ matrics.

# kubectl get pods --selector app=rabbitmq

NAME         READY   STATUS             RESTARTS   AGE
rabbitmq-0   1/2     ImagePullBackOff   0          5d15h
                                                                                                                                                                                                                                                                                                     
pod status 

rabbitmq-0                                             1/2     ImagePullBackOff             0                 5d15h
redis-master-0                                         2/2     Running                      0                 5d15h
It's not available in Docker Hub.

docker pull bitnami/rabbitmq-exporter:0.29.0-debian-9-r104

守护进程的错误响应:bitnami/rabbitmq-exporter 的拉取访问被拒绝,存储库不存在或可能需要“docker login”:被拒绝:请求的资源访问被拒绝

因此,我们无法下载 bitnami/rabbitmq-exporter 特定版本,因为它在 docker Hub 中不可用。

有人能提供建议来解决这个问题吗?非常感谢您的帮助。

相关内容