cca / cca_invenio

CCA's InvenioRDM repository
0 stars 0 forks source link

deployment #24

Open phette23 opened 7 months ago

phette23 commented 7 months ago

Update 2024-10-04: Mark is working on deployment and leaning towards not using helm. Below are my notes on getting the Invenio helm chart to work.


See helm-invenio but helm repo add doesn't work yet. We'll write our own values.yml file. Deployments will be like cat values.yaml | envsubst | helm install --namespace $NS invenio /path/to/helm-invenio/charts/invenio -f - and we populate the env with our secrets.

Local issues with minikube:

General outline:

phette23 commented 7 months ago

I'm unable to get the helm chart running locally on minikube. The base almalinux image from CERN is available for arm64 and amd64 architectures docker manifest inspect --verbose registry.cern.ch/inveniosoftware/almalinux:latest. Minikube runs as aarch64 minikube ssh 'uname -m' but for some reason even the arm64 image does not run:

¿ minikube ssh
docker@minikube:~$ docker pull registry.cern.ch/inveniosoftware/almalinux:latest
docker@minikube:~$ docker inspect registry.cern.ch/inveniosoftware/almalinux:latest | grep Architecture
        "Architecture": "arm64",
docker@minikube:~$ docker run -it registry.cern.ch/inveniosoftware/almalinux:latest sh
exec /usr/bin/sh: exec format error

I've tried using a qemu driver for minikube instead but the problem persists.