xatu-cbt-api
by ethPandaOps
Helm chartv0.0.13Verified publisher
API server for Xatu CBT
About this chart
xatu-cbt-api
API server for Xatu CBT
Homepage: https://github.com/ethpandaops/xatu-cbt-api
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity configuration for pods |
| annotations | object | {} | Annotations for the Deployment |
| args | list | [] | Command arguments |
| autoscaling.enabled | bool | false | Autoscaling configuration |
| autoscaling.maxReplicas | int | 3 | Maximum number of replicas |
| autoscaling.minReplicas | int | 2 | Minimum number of replicas |
| autoscaling.targetCPUUtilizationPercentage | int | 85 | Target CPU utilization percentage |
| config.clickhouse.conn_max_lifetime | string | "60s" | |
| config.clickhouse.database | string | "mainnet" | |
| config.clickhouse.dial_timeout | string | "10s" | |
| config.clickhouse.dsn | string | "https://user:pass@host" | |
| config.clickhouse.insecure_skip_verify | bool | false | |
| config.clickhouse.max_execution_time | int | 60 | |
| config.clickhouse.max_idle_conns | int | 5 | |
| config.clickhouse.max_open_conns | int | 10 | |
| config.clickhouse.read_timeout | string | "30s" | |
| config.clickhouse.use_final | bool | true | |
| config.clickhouse.write_timeout | string | "30s" | |
| config.server.host | string | "0.0.0.0" | |
| config.server.idle_timeout | string | "120s" | |
| config.server.port | int | 8080 | |
| config.server.read_header_timeout | string | "10s" | |
| config.server.read_timeout | string | "30s" | |
| config.server.write_timeout | string | "30s" | |
| config.telemetry.always_sample_errors | bool | true | |
| config.telemetry.enabled | bool | false | |
| config.telemetry.endpoint | string | "tempo.example.com:443" | |
| config.telemetry.environment | string | "mainnet" | |
| config.telemetry.export_batch_size | int | 512 | |
| config.telemetry.export_timeout | string | "10s" | |
| config.telemetry.insecure | bool | false | |
| config.telemetry.sample_rate | float | 0.1 | |
| config.telemetry.service_name | string | "xatu-cbt-api" | |
| config.telemetry.service_version | string | "1.0.0" | |
| containerSecurityContext | object | See values.yaml | The security context for containers |
| customArgs | list | [] | Custom args for the xatu-cbt-api container |
| customCommand | list | [] | Command replacement for the xatu-cbt-api container |
| extraContainers | list | [] | Additional containers |
| extraEnv | list | [] | Additional env variables |
| extraPodPorts | list | [] | Extra Pod ports |
| extraPorts | list | [] | Additional ports. Useful when using extraContainers |
| extraVolumeMounts | list | [] | Additional volume mounts |
| extraVolumes | list | [] | Additional volumes |
| fullnameOverride | string | "" | Overrides the chart's computed fullname |
| image.pullPolicy | string | "IfNotPresent" | xatu-cbt-api container pull policy |
| image.repository | string | "ethpandaops/xatu-cbt-api" | xatu-cbt-api container image repository |
| image.tag | string | "latest" | xatu-cbt-api container image tag |
| imagePullSecrets | list | [] | Image pull secrets for Docker images |
| ingress.annotations | object | {} | Annotations for Ingress |
| ingress.enabled | bool | false | Ingress resource for the HTTP API |
| ingress.hosts[0].host | string | "chart-example.local" | |
| ingress.hosts[0].paths | list | [] | |
| ingress.tls | list | [] | Ingress TLS |
| initContainers | list | [] | Additional init containers |
| lifecycle | object | See values.yaml | Lifecycle hooks |
| livenessProbe | object | See values.yaml | Liveness probe |
| nameOverride | string | "" | Overrides the chart's name |
| nodeSelector | object | {} | Node selector for pods |
| podAnnotations | object | {} | Pod annotations |
| podDisruptionBudget | object | {} | Define the PodDisruptionBudget spec If not set then a PodDisruptionBudget will not be created |
| podLabels | object | {} | Pod labels |
| priorityClassName | string | nil | Pod priority class |
| readinessProbe | object | See values.yaml | Readiness probe |
| replicas | int | 1 | Number of replicas |
| resources | object | {} | Resource requests and limits |
| secretEnv | object | {} | Secret env variables injected via a created secret |
| securityContext | object | See values.yaml | The security context for pods |
| service.type | string | "ClusterIP" | Service type |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.create | bool | false | Specifies whether a service account should be created |
| serviceAccount.name | string | "" | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| serviceMonitor.annotations | object | {} | Additional ServiceMonitor annotations |
| serviceMonitor.enabled | bool | false | If true, a ServiceMonitor CRD is created for a prometheus operator https://github.com/coreos/prometheus-operator |
| serviceMonitor.interval | string | "15s" | ServiceMonitor scrape interval |
| serviceMonitor.labels | object | {} | Additional ServiceMonitor labels |
| serviceMonitor.namespace | string | nil | Alternative namespace for ServiceMonitor |
| serviceMonitor.path | string | "/metrics" | Path to scrape |
| serviceMonitor.relabelings | list | [] | ServiceMonitor relabelings |
| serviceMonitor.scheme | string | "http" | ServiceMonitor scheme |
| serviceMonitor.scrapeTimeout | string | "30s" | ServiceMonitor scrape timeout |
| serviceMonitor.tlsConfig | object | {} | ServiceMonitor TLS configuration |
| strategy | object | {"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"} | Deployment rollout strategy |
| terminationGracePeriodSeconds | int | 90 | How long to wait until the pod is forcefully terminated |
| tolerations | list | [] | Tolerations for pods |
| topologySpreadConstraints | list | [] | Topology Spread Constraints for pods |
Deploy xatu-cbt-api with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has xatu-cbt-api 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 chartxatu-cbt-api is pinned at v0.0.13 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