Hi All, While deploying Pinot <0.9.3 in> on-prem T...
# troubleshooting
d
Hi All, While deploying Pinot 0.9.3 in on-prem Tanzu K8 cluster I’m running into an issue where helm unable to pull zookeeper image from docker.io registry due to rate limiting limitation on docker.io. Normal Pulling 19s (x3 over 63s) kubelet Pulling image "zookeeper:3.5.5" Warning Failed 17s (x3 over 61s) kubelet Failed to pull image "zookeeper:3.5.5": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/zookeeper:3.5.5": failed to copy: httpReaderSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/zookeeper/manifests/sha256:b7a76ec06f68fd9c801b72dfd283701bc7d8a8b0609277a0d570e8e6768e4ad9: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit Warning Failed 17s (x3 over 61s) kubelet Error: ErrImagePull Normal BackOff 3s (x3 over 60s) kubelet Back-off pulling image "zookeeper:3.5.5" Warning Failed 3s (x3 over 60s) kubelet Error: ImagePullBackOff To get around it I put zookeeper image into our internal image registry but not sure how to modify the helm chart to point it there. Can you assist in getting this resolved?
d
You need to overwrite the
image
property in the values file:
Copy code
image:
  repository: <http://your.registry.com/apachepinot/pinot|your.registry.com/apachepinot/pinot>
  tag: 0.10.0
and run helm like
Copy code
helm upgrade
      --install pinot-test pinot/pinot
      --timeout 5m --wait --atomic
      --values values.yaml
      --values values-${DEPLOY_ENVIRONMENT}.yaml
👏 1
d
Copy code
--set zookeeper.image.registry=<your-registry> \
--set zookeeper.image.repository=<your-repository>
to be specific about zookeeper. The dependend chart has the following default values:
Copy code
## Bitnami Zookeeper image version
## ref: <https://hub.docker.com/r/bitnami/zookeeper/tags/>
##
image:
  registry: <http://docker.io|docker.io>
  repository: bitnami/zookeeper
  tag: 3.7.0-debian-10-r56
@User ^^
d
With these changes do I need to put all images used in pinot install in my registry or just zookeeper?
d
If you are facing the rate limiting issue on pinot, I would too
d
@User Thanks for your help. Do you have a spec of all the images I would need to host in my local registry to get Pinot installed? For example, I added bitnami/zookeeper image to the registry. Helm finds it but fails to run it: bash: line 15: /entrypoint.sh: No such file or directory Docker image is bitnami/zookeeper:3.7.0-debian-10-r56 Is this correct image? In docker file I see ENTRYPOINT [ "/opt/bitnami/scripts/zookeeper/entrypoint.sh" ] CMD [ "/opt/bitnami/scripts/zookeeper/run.sh" ]