Apache Jena Fuseki docker image and helm chart for deployment to the Kubernetis cluster.
Prerequisites:
Steps:
- Add a repository
helm repo add jena-fuseki-repo https://glaciation-heu.github.io/jena-fuseki/helm-charts/
helm repo update
helm search repo jena-fuseki
- Install a Deployment
helm install jena-fuseki jena-fuseki-repo/jena-fuseki
You can add extra attributes. For example:
helm install jena-fuseki jena-fuseki-repo/jena-fuseki --set deployment.replicaCount=3
You can install it as a DaemonSet
helm install jena-fuseki jena-fuseki-repo/jena-fuseki --set deployment.enabled=false --set daemonset.enabled=true
- Delete a Deployment/DaemonSet
helm delete jena-fuseki
Prerequisites:
Steps:
- Start Minikube:
minikube start
- Build a docker image
cd docker
docker build -t my-jena-fuseki:latest .
- Run the docker image
docker run -p 3030:3030 my-jena-fuseki:latest
The Apache Jena Fuseki should then be available at http://localhost:3030/. Login and password for web interface will be in logs. More information here.
- Upload the docker image to minikube:
minikube image load my-jena-fuseki:latest
- Install Helm Chart from source files
cd .. # Go to the project root
helm upgrade --install my-jena-fuseki ./charts/jena-fuseki --set image.repository=my-jena-fuseki --set image.tag=latest
- Delete a Deployment/DaemonSet
helm delete my-jena-fuseki
To create a release, add a tag in GIT with the format a.a.a, where 'a' is an integer.
git tag 0.1.0
git push origin 0.1.0
The release version for branches, pull requests, and other tags will be generated based on the last tag of the form a.a.a.
The Helm chart version changed automatically when a new release is created. The version of the Helm chart is equal to the version of the release.
GitHub Actions triggers testing and builds for each release.
Initial setup
Create the branch gh-pages and use it as a GitHub page.
After execution
- The index.yaml file containing the list of Helm Charts will be available at
https://glaciation-heu.github.io/jena-fuseki/helm-charts/index.yaml
. - The Docker image will be available at
https://github.com/glaciation-heu/jena-fuseki/pkgs/container/jena-fuseki
.
HIRO uses and requires from its partners GitFlow with Forks
Different licenses apply to files added by different directories:
- /docker: Apache License 2.0
- Other directories: MIT