Charts: incubator/zookeeper: do not use gcr.io/google-samples images

Created on 30 Mar 2018  路  12Comments  路  Source: helm/charts

incubator/zookeeper sample is using gcr.io/google_samples/k8szk:v2 image:

https://github.com/kubernetes/charts/blob/a7e0c197407204843f5a2fd098fbab88009926c1/incubator/zookeeper/templates/statefulset.yaml#L39

Please do not use this image.

Images in gcr.io/google-samples are:

  • meant to be used only in GKE tutorials and samples
  • not patched/rebuilt actively with security fixes etc
  • not actively maintained in general
  • should not be used for production purposes
  • there no guarantees whether they simply won't be deleted tomorrow.

Please refrain from using gcr.io/google-samples images in production.

lifecyclstale

Most helpful comment

Thanks @MartinX3 ,

we use another workaround, but better use the official zookeeper images

helm chart values-zk-fix.yaml

zookeeper:
  command:
    - /bin/bash
    - -xec
    - zkGenConfig.sh && sed -i 's/autopurge.purgeInteval/autopurge.purgeInterval/' /usr/etc/zookeeper/zoo.cfg && exec zkServer.sh start-foreground

All 12 comments

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

This issue is being automatically closed due to inactivity.

/remove-lifecycle stale

incubator zookeeper is still using the sample image

Is there any update on this? We were deploying Kafka and found the zookeeper (a dependency) was using this image. Would like to know if there is a plan to fix this issue?

FWIW we found a bug in the image:

-    echo "autopurge.purgeInteval=$ZK_PURGE_INTERVAL" >> $ZK_CONFIG_FILE
+    echo "autopurge.purgeInterval=$ZK_PURGE_INTERVAL" >> $ZK_CONFIG_FILE

(We reverse engineered the image for our own internal use).

@abraithwaite We also ran into the bug of zkGenConfig.sh in sample image.
Are you able to provide us the Dockerfile or reference so we can build a new image?

Thanks @MartinX3 ,

we use another workaround, but better use the official zookeeper images

helm chart values-zk-fix.yaml

zookeeper:
  command:
    - /bin/bash
    - -xec
    - zkGenConfig.sh && sed -i 's/autopurge.purgeInteval/autopurge.purgeInterval/' /usr/etc/zookeeper/zoo.cfg && exec zkServer.sh start-foreground

I tried using the official image but the GCR one was so much easier to use.

Clever fix with the start command though! Would have made our lives easier than re-hosting it. :-P

FWIW we found a bug in the image:

-    echo "autopurge.purgeInteval=$ZK_PURGE_INTERVAL" >> $ZK_CONFIG_FILE
+    echo "autopurge.purgeInterval=$ZK_PURGE_INTERVAL" >> $ZK_CONFIG_FILE

(We reverse engineered the image for our own internal use).

Thanks锛孲earched for a long time.

Was this page helpful?
0 / 5 - 0 ratings