Skip to content

Latest commit

 

History

History
 
 

router

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

router

router Rust Graph Routing runtime for Apollo Federation

Version: 1.45.1 Type: application AppVersion: v1.45.1

Prerequisites

  • Kubernetes v1.19+

Get Repo Info

helm pull oci:https://ghcr.io/apollographql/helm-charts/router --version 1.45.1

Install Chart

Important: only helm3 is supported

helm upgrade --install [RELEASE_NAME] oci:https://ghcr.io/apollographql/helm-charts/router --version 1.45.1 --values my-values.yaml

See configuration below.

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:

helm show values oci:https://ghcr.io/apollographql/helm-charts/router

Values

Key Type Default Description
affinity object {}
autoscaling.enabled bool false
autoscaling.maxReplicas int 100
autoscaling.minReplicas int 1
autoscaling.targetCPUUtilizationPercentage int 80
containerPorts.health int 8088 For exposing the health check endpoint
containerPorts.http int 4000 If you override the port in router.configuration.server.listen then make sure to match the listen port here
containerPorts.metrics int 9090 For exposing the metrics port when running a serviceMonitor for example
extraContainers list [] An array of extra containers to include in the router pod Example: extraContainers: - name: coprocessor image: acme/coprocessor:1.0 ports: - containerPort: 4001
extraEnvVars list []
extraEnvVarsCM string ""
extraEnvVarsSecret string ""
extraLabels object {} A map of extra labels to apply to the resources created by this chart Example: extraLabels: label_one_name: "label_one_value" label_two_name: "label_two_value"
extraVolumeMounts list []
extraVolumes list []
fullnameOverride string ""
image.pullPolicy string "IfNotPresent"
image.repository string "ghcr.io/apollographql/router"
image.tag string ""
imagePullSecrets list []
ingress.annotations object {}
ingress.className string ""
ingress.enabled bool false
ingress.hosts[0].host string "chart-example.local"
ingress.hosts[0].paths[0].path string "/"
ingress.hosts[0].paths[0].pathType string "ImplementationSpecific"
ingress.tls list []
initContainers list [] An array of init containers to include in the router pod Example: initContainers: - name: init-myservice image: busybox:1.28 command: ["sh"]
lifecycle object {}
managedFederation.apiKey string nil If using managed federation, the graph API key to identify router to Studio
managedFederation.existingSecret string nil If using managed federation, use existing Secret which stores the graph API key instead of creating a new one. If set along managedFederation.apiKey, a secret with the graph API key will be created using this parameter as name
managedFederation.graphRef string "" If using managed federation, the variant of which graph to use
nameOverride string ""
nodeSelector object {}
podAnnotations object {}
podDisruptionBudget object {} Sets the pod disruption budget for Deployment pods
podSecurityContext object {}
priorityClassName string "" Set to existing PriorityClass name to control pod preemption by the scheduler
probes.liveness object {"initialDelaySeconds":0} Configure liveness probe
probes.readiness object {"initialDelaySeconds":0} Configure readiness probe
replicaCount int 1
resources object {}
router object {"args":["--hot-reload"],"configuration":{"health_check":{"listen":"0.0.0.0:8088"},"supergraph":{"listen":"0.0.0.0:4000"}}} See https://www.apollographql.com/docs/router/configuration/overview/#yaml-config-file for yaml structure
securityContext object {}
service.annotations object {}
service.port int 80
service.type string "ClusterIP"
serviceAccount.annotations object {}
serviceAccount.create bool true
serviceAccount.name string ""
serviceMonitor.enabled bool false
serviceentry.enabled bool false
supergraphFile string nil
terminationGracePeriodSeconds int 30 Sets the termination grace period for Deployment pods
tolerations list []
topologySpreadConstraints list [] Sets the topology spread constraints for Deployment pods
virtualservice.enabled bool false

Autogenerated from chart metadata using helm-docs v1.11.3