github.com/Racer159/jackal@v0.32.7-0.20240401174413-0bd2339e4f2e/examples/kiwix/jackal.yaml (about) 1 kind: JackalPackageConfig 2 metadata: 3 name: kiwix 4 description: Demo Jackal data injection with Kiwix (https://www.kiwix.org/en/) 5 # (optional) Some large datasets may already be compressed making Jackal compression less efficient 6 uncompressed: true 7 version: 3.5.0 8 9 components: 10 - name: kiwix-serve 11 required: true 12 manifests: 13 - name: kiwix-serve 14 namespace: kiwix 15 files: 16 - manifests/persistence.yaml 17 - manifests/deployment.yaml 18 - manifests/service.yaml 19 images: 20 - ghcr.io/kiwix/kiwix-serve:3.5.0-2 21 - alpine:3.18 22 # Add new data into the cluster, these will keep trying up until their timeout 23 dataInjections: 24 # Injection in the data directory using the data-loader init container 25 - source: zim-data 26 target: 27 namespace: kiwix 28 selector: app=kiwix-serve 29 container: data-loader 30 path: /data 31 compress: true 32 actions: 33 onCreate: 34 before: 35 # Download a .zim file of a DevOps Stack Exchange snapshot into the data directory for use with Kiwix 36 - cmd: curl https://jackal-examples.s3.amazonaws.com/devops.stackexchange.com_en_all_2023-05.zim -o zim-data/devops.stackexchange.com_en_all_2023-05.zim 37 # Below are some more examples of *.zim files of available content: 38 # https://library.kiwix.org/?lang=eng 39 # NOTE: If `jackal package create`ing regularly you should mirror content to a web host you control to be a friendly neighbor