krci-cache
by sergk
A Helm chart for KubeRocketCI Cache, an HTTP cache for Tekton pipeline artifacts
About this chart
krci-cache
A Helm chart for KubeRocketCI Cache, an HTTP cache for Tekton pipeline artifacts
Additional Information
The krci-cache Helm chart deploys an HTTP cache for Tekton pipeline artifacts.
Pipeline tasks upload dependencies and build outputs to the cache and restore them in later runs, which reduces build times.
The KubeRocketCI edp-tekton chart installs it as the krci-cache subchart.
Homepage: https://docs.kuberocketci.io
Maintainers
| Name | Url | |
|---|---|---|
| epmd-edp | [email protected] | https://solutionshub.epam.com/solution/kuberocketci |
| sergk | https://github.com/SergK |
Source Code
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Pod affinity. |
| cacheSize | string | "5Gi" | Defines size of the Persistent Volume that is used for cache. |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | Defines the policy with which pod will request its image. |
| image.repository | string | "epamedp/krci-cache" | krci-cache container image. Add a registry prefix to use a mirror or a private registry. |
| image.tag | string | "" | Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | Specifies secrets for pulling Docker images. |
| initContainers.repository | string | "busybox" | Defines the repository. |
| initContainers.tag | string | "1.36.1" | InitContainer image. |
| nameOverride | string | "" | |
| nodeSelector | object | {} | Node labels for krci-cache pod assignment. |
| podAnnotations | object | {} | Annotations to be added to krci-cache pods. |
| podSecurityContext | object | {} | Specifies privilege and access control configurations for krci-cache pods. |
| resources | object | {} | krci-cache pod resource requests and limits. |
| securityContext | object | {} | Security context to be added to krci-cache pods. |
| service | object | {"name":"krci-cache","port":8080,"type":"ClusterIP"} | krci-cache service configurations. |
| tolerations | list | [] | Node tolerations for pod scheduling to nodes with taints. |
Deploy krci-cache with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has krci-cache on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkrci-cache is pinned at v0.5.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply