helm repo add dcache https://gitlab.desy.de/api/v4/projects/7648/packages/helm/test
helm repo update
helm install my-release dcache/dcachehelm install --set image.tag=10.0.3 my-release dcache/dcacheStart pools d and f
helm install --set image.tag=10.0.3 \
--set dcache.door.enabled=false \
--set "dcache.pools={d,f}" my-release dcache/dcacheThe configuration properties dcache.configExtraPre, dcache.configExtra, dcache.layoutExtraPre
and dcache.layoutExtra allow adding an extra configurations at the begging and at the end of the
generated dcache.conf and layout.conf files.
dcache:
configExtra: |
custom.property = value
layoutExtra: |
[customDomain]
[customDomain/cell]helm install --values custom-config.yaml my-release dcache/dcachedCache requires a Zookeeper instance to operate. You can either use an external Zookeeper or deploy an embedded Zookeeper instance together with dCache.
By default, the chart is configured to use an external Zookeeper instance running at cells-zookeeper:2181. To deploy an embedded Zookeeper instance, set the following value:
zookeeper:
embedded: trueor use the command line:
helm install --set zookeeper.embedded=true my-release dcache/dcacheThe list of Zookeeper servers can be configured via the zookeeper.servers value.
zookeeper:
servers: zookeeper1:2181,zookeeper2:2181,zookeeper3:2181or via command line:
helm install --set zookeeper.servers="zookeeper1:2181,zookeeper2:2181,zookeeper3:2181" my-release dcache/dcachehelm install --set dcache.plugins.cta.enabled=true my-release dcache/dcachekubectl run --rm -ti admin-ssh --image kroniak/ssh-client -- ssh -p 22224 -l admin <my-release>-door-svckubectl port-forward svc/<my-release>-door-svc 3880:3880The S3 doors require dCache 12.1 or newer and are disabled by default.
services.s3 runs a plain HTTP door on port 9000, services.s3s an HTTPS
door on port 9001. Buckets are directories under /data/s3.
helm install --set services.s3.enabled=true --set services.s3s.enabled=true my-release dcache/dcacheThe chart configures fixed test credentials (access key / secret):
s3main / let-me-in-s3main (mapped to desyuser), s3alt /
let-me-in-s3alt and s3tenant / let-me-in-s3tenant. They are stored in
plain text in the ConfigMap: use them for testing only.
This project is based on work done by Michael Schuh, DESY-IT