apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
301 stars 231 forks source link

The image "wurstmeister/kafka:2.12-2.3.1" does not exist on DockerHub. #777

Closed liuzhaoze closed 3 months ago

liuzhaoze commented 4 months ago

When I deploy OpenWhisk from Git:

helm install owdev ./helm/openwhisk -n openwhisk --create-namespace -f mycluster.yaml

And check the status of the pod:

kubectl get pods -n openwhisk --watch

There is an error when pulling image in pod owdev-kafka-0:

owdev-kafka-0                          0/1     ErrImagePull       0          81s
owdev-kafka-0                          0/1     ImagePullBackOff   0          93s

I run kubectl describe pod owdev-kafka-0 -n openwhisk and it show that

Events:
  Type     Reason     Age                   From               Message
  ----     ------     ----                  ----               -------
  Normal   Scheduled  4m17s                 default-scheduler  Successfully assigned openwhisk/owdev-kafka-0 to master
  Normal   Pulled     4m16s                 kubelet            Container image "busybox:latest" already present on machine
  Normal   Created    4m16s                 kubelet            Created container wait-for-zookeeper
  Normal   Started    4m16s                 kubelet            Started container wait-for-zookeeper
  Normal   Pulling    2m39s (x4 over 4m6s)  kubelet            Pulling image "wurstmeister/kafka:2.12-2.3.1"
  Warning  Failed     2m36s (x4 over 4m4s)  kubelet            Failed to pull image "wurstmeister/kafka:2.12-2.3.1": failed to pull and unpack image "docker.io/wurstmeister/kafka:2.12-2.3.1": failed to resolve reference "docker.io/wurstmeister/kafka:2.12-2.3.1": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
  Warning  Failed     2m36s (x4 over 4m4s)  kubelet            Error: ErrImagePull
  Normal   BackOff    2m6s (x5 over 3m35s)  kubelet            Back-off pulling image "wurstmeister/kafka:2.12-2.3.1"
  Warning  Failed     2m6s (x5 over 3m35s)  kubelet            Error: ImagePullBackOff

I find the image "wurstmeister/kafka:2.12-2.3.1" does not exist on DockerHub.

liuzhaoze commented 4 months ago

I find the discussion here.

liuzhaoze commented 4 months ago

I add following lines to mycluster.yaml to use image fatal69100/kafka:2.8.1, and it works.

kafka:
  imageName: "fatal69100/kafka"
  imageTag: "2.8.1"
liuzhaoze commented 3 months ago

Now the image is back: https://github.com/wurstmeister/kafka-docker/issues/744#issuecomment-2115104889