bazel-remote

by slamdev

Helm chartv0.0.6App v2.4.1

Helm chart to deploy [bazel-remote](https://github.com/buchgr/bazel-remote).

About this chart

bazel-remote

Helm chart to deploy bazel-remote.

Homepage: https://github.com/slamdev/helm-charts/tree/master/charts/bazel-remote

Maintainers

NameEmailUrl
slamdev[email protected]

Values

KeyTypeDefaultDescription
affinityobject{}affinity for scheduler pod assignment
confstring"# https://github.com/buchgr/bazel-remote#example-configuration-file\ndir: /data\nmax_size: 50\nexperimental_remote_asset_api: true\naccess_log_level: none\nport: 8080\ngrpc_port: 9092"bazel-remote config to provision inside of the container
containerPortslist[{"containerPort":8080,"name":"http"},{"containerPort":9092,"name":"grpc"}]ports exposed by container
deploymentAnnotationsobject{}annotations to add to the deployment
envlist[]additional environment variables for the deployment
fullnameOverridestring""full name of the chart.
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"buchgr/bazel-remote-cache"image repository
image.tagstring""image tag (chart's appVersion value will be used if not set)
imagePullSecretslist[]image pull secret for private images
kindstring"Deployment"resource type to operate bazel-remote, can be StatefulSet, Deployment or DaemonSet
livenessProbe.httpGet.pathstring"/status"path for liveness probe
livenessProbe.httpGet.portstring"http"port for liveness probe
nameOverridestring""override name of the chart
nodeSelectorobject{}node for scheduler pod assignment
podAnnotationsobject{}annotations to add to the pod
podSecurityContextobject{}specifies security settings for a pod
priorityClassNamestring""set priority class for a pod
readinessProbe.httpGet.pathstring"/status"path for readiness probe
readinessProbe.httpGet.portstring"http"port for readiness probe
replicaCountint1number of replicas for bazel-remote deployment.
resourcesobject{}custom resource configuration
securityContextobject{}specifies security settings for a container
service.portslist[{"name":"http","port":80,"targetPort":"http"},{"name":"grpc","port":9092,"targetPort":"grpc"}]service ports
service.typestring"ClusterIP"service type
serviceAccount.annotationsobject{}annotations to add to the service account
serviceAccount.createboolfalsespecifies whether a service account should be created
serviceAccount.namestringnilthe name of the service account to use; if not set and create is true, a name is generated using the fullname template
serviceMonitor.additionalLabelsobject{}additional labels for service monitor
serviceMonitor.enabledboolfalseServiceMonitor CRD is created for a prometheus operator
startupProbe.httpGet.pathstring"/status"
startupProbe.httpGet.portstring"http"
tolerationslist[]tolerations for scheduler pod assignment
updateStrategyobject{}configure automated rolling updates for pods
volumeClaimTemplateslist[]volume claim templates; used only when 'kind: StatefulSet'
volumeMountslist[]additional volume mounts
volumeslist[]additional volumes

Deploy bazel-remote with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has bazel-remote 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartbazel-remote is pinned at v0.0.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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