Apollo Docs


Every one of these values applies regardless of which mode you run.

ValueRequiredDefaultApplies toPurpose
namespaceYes—Official chart, raw manifest / customYour router's namespace. Rendered into every collector that accepts it, including clusterResources.namespaces as a single-element list. Never rely on the kubectl context's default namespace; it isn't used.
modeYes—Official chart, raw manifest / customSelects how collection runs: local runs on your own machine using your own kubectl credentials and job runs in-cluster as a Kubernetes Job using a ServiceAccount the chart creates.
selectorRaw-manifest tier onlyThe official chart's app.kubernetes.io/name=router labelRaw manifests / customPod label selector, for example, app=my-router. Also what the metrics collector resolves its target from. For more information, go to Collecting Metrics.
configMapNameRaw-manifest tier onlyLabel-based targeting, no name neededRaw manifests / customName of the ConfigMap holding your router's rendered config
metricsPortNo9090Official chart, raw manifest / customPort your router's metrics endpoint is reachable on, if not 9090. For more information, go to Collecting Metrics.
logs.maxAgeNoUnset—no age capOfficial chart, raw manifest / customMaps to the logs collector's limits.maxAge. How far back to reach, for example, 2h
logs.maxLinesNo10000 (troubleshoot.sh default)Official chart, raw manifest / customMaps to limits.maxLines. Lines kept, newest per container

Go to Local Mode / Job Mode to determine what each mode needs beyond this shared set.