Install on Kubernetes
The skep-collector Helm chart runs the Skep distribution (skep-otelcol)
in your cluster. Use it as a gateway (a Deployment and Service that your
services send to) or as an agent (a DaemonSet, one collector per node). The
install guide in the app prints the exact commands for the options you
pick. This page explains them.
Before you start
Section titled “Before you start”- A Kubernetes cluster and
kubectlaccess to create a namespace, a Secret and the chart’s resources. Agents also need a ClusterRole, which the chart creates. - Helm 3 with OCI registry support.
- A collector key (
skc_...). The install flow creates one. See What you need first. - The cluster can reach Skep over HTTPS.
Open the install guide
Section titled “Open the install guide”- In Skep, open Collectors, then Add collector. On a new organization, Home shows the same choices.
- Choose Need to deploy your first collector?
- Set Platform to Kubernetes (Helm).
- Pick where it runs (Gateway (recommended) or Agent on every node), where telemetry goes, a fleet name, and whether to turn on tail sampling (gateways only).
- Select Create collector key. The key is filled into the commands.
Install the chart
Section titled “Install the chart”The guide prints these steps with your values. Here they are for a gateway
that sends to Honeycomb and tail samples, in the production environment.
-
Create the namespace.
Terminal window kubectl create namespace skep -
Store the keys in a Secret. The collector reads its keys from it, so they never appear in the chart values or the release history. Skip this step if another Skep tier in the cluster already created it.
Terminal window kubectl -n skep create secret generic skep-otelcol \--from-literal=SKEP_API_KEY=skc_... \--from-literal=HONEYCOMB_API_KEY=... -
Install the chart.
Terminal window helm upgrade --install skep-otelcol-gateway oci://ghcr.io/skephq/charts/skep-collector --version 0.1.0 \--namespace skep \--set mode=gateway \--set image.repository=ghcr.io/skephq/skep-otelcol \--set image.tag=0.1.0 \--set skep.endpoint=https://app.skep.observer \--set skep.environment=production \--set skep.collectorName=production-gateway \--set skep.tier=gateway \--set backend.type=honeycomb \--set sampling=tail_samplingIt installs a Deployment, a Service and a PodDisruptionBudget, running as non-root with a read-only root filesystem and a 512 Mi memory limit.
-
Check that it started. Look for
skepcontrol: registered with control planein the log.Terminal window kubectl -n skep rollout status deployment/skep-otelcol-gatewaykubectl -n skep logs -l app.kubernetes.io/instance=skep-otelcol-gateway --tail 20 -
Send it telemetry. Point your OpenTelemetry SDKs, or an agent tier, at the Service:
Terminal window OTEL_EXPORTER_OTLP_ENDPOINT=http://skep-otelcol-gateway.skep.svc.cluster.local:4318
The guide also offers two files:
skep-otelcol-gateway-values.yaml: the same values as a file, for GitOps tools such as Argo CD or Flux, orhelm upgrade --install -f.skep-otelcol.yaml: the collector configuration the chart renders for these values, for review. The chart already contains it.
Without Helm in your deployment pipeline, run helm template with the same
flags and apply the output with kubectl.
Agents on every node
Section titled “Agents on every node”With Agent on every node, the release is skep-otelcol-edge, a
DaemonSet with RBAC to read pod, namespace, node and replica set metadata
for k8s_attributes. It mounts the node’s root filesystem read-only at
/hostfs for host metrics. Check it with
kubectl -n skep rollout status daemonset/skep-otelcol-edge.
Each node’s collector listens on the node’s IP (host ports 4317 and 4318). In your workloads, set the SDK endpoint from the downward API:
env: - name: HOST_IP valueFrom: fieldRef: fieldPath: status.hostIP - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://$(HOST_IP):4318To send agents to a gateway tier instead of a backend, pick A gateway
under where telemetry goes. Agents in the same cluster default to
skep-otelcol-gateway.skep.svc.cluster.local:4317, and they mark what they
already counted so the gateway does not count it twice.
To collect the node’s system logs (syslog, messages, auth), turn on Host
system logs (systemLogs=true). The collector runs as UID 65532. If the
log files are readable by root or the adm group only, add the group to
podSecurityContext.supplementalGroups.
Chart values
Section titled “Chart values”Everything has a working default except skep.endpoint. The guide sets the
values your options need.
| Value | Default | What it does |
|---|---|---|
mode |
gateway |
gateway (Deployment and Service) or agent (DaemonSet). |
image.repository, image.tag, image.digest |
ghcr.io/skephq/skep-otelcol, the chart’s app version |
The image. A sha256: digest pins it and wins over the tag. |
skep.endpoint |
none (required) | Skep’s URL as the collector reaches it. |
skep.environment |
production |
The environment the collector reports to. |
skep.fleet |
empty | The fleet the collectors join. Skep creates it on first registration. |
skep.tier |
edge for agents, gateway for gateways |
The fleet tier. |
skep.collectorName |
the fleet, else <environment>-<mode> |
Display name. Agents append the node name; gateways with more than one replica append the pod. |
skep.existingSecret |
skep-otelcol |
The Secret with SKEP_API_KEY and, for Honeycomb, HONEYCOMB_API_KEY. |
backend.type |
none |
none (Skep observes, telemetry is dropped), honeycomb, otlp (set backend.otlpEndpoint to an OTLP/HTTP URL) or gateway (agents only; set backend.gatewayEndpoint to host:port). |
sampling |
none |
tail_sampling (gateways only). Pins the gateway to one replica. |
systemLogs |
false |
Agents: also tail the node’s system logs. |
opamp.enabled |
false |
Run under the OpAMP supervisor so Skep pushes the fleet’s deployed revisions. Needs skep.fleet. |
config |
{} |
Your own settings, merged over the generated configuration by the collector (maps merge, lists replace). Not used with opamp.enabled. |
resources, goMemLimit |
512 Mi limit, 400MiB |
Sized like the generated configurations. Raise both together. |
autoscaling.enabled |
false |
Gateways: a HorizontalPodAutoscaler. Ignored with tail sampling. |
podDisruptionBudget.enabled |
true |
Gateways: maxUnavailable: 1. |
hostPorts |
true |
Agents listen on the node’s IP. |
state.volume |
an emptyDir of 1 Gi |
The state directory (/var/lib/skep-otelcol): the instance ID, the last snapshot and the persistent exporter queue. An emptyDir survives container restarts, not rescheduling. |
The chart does not template the collector configuration. It embeds the
configurations Skep’s install guide renders, one per shape (mode, backend,
tail sampling, system logs), and sets your values in the pod environment.
To change a setting the guide does not offer, use config. For example,
the Honeycomb EU endpoint:
config: exporters: otlp_grpc/honeycomb: endpoint: api.eu1.honeycomb.io:443secret.create can create the Secret from values, but it is off by
default because it puts keys in your values and release history. Prefer
skep.existingSecret.
Let Skep manage the configuration
Section titled “Let Skep manage the configuration”Turn on Managed by Skep (OpAMP) in the guide to run the collector under
the OpAMP supervisor. Skep then pushes the fleet’s deployed revisions and
each collector reports what it runs. An admin creates the fleet in the
guide first (Create fleet), so revision 1 is ready when collectors
connect. The chart then sets opamp.enabled=true and an opamp.endpoint
of wss://app.skep.observer/v1/opamp. See
Collectors and fleets.
Check that it worked
Section titled “Check that it worked”- The guide’s last step, Wait for it to register, checks every 3 seconds. It shows the collector’s name, its status and its observer positions when it registers. Agents register one collector per node, with names that start with the name the guide shows.
- Collectors lists it as online. Services appear in Data within about a minute.
Troubleshooting
Section titled “Troubleshooting”helmfails withskep.endpoint is required. Set--set skep.endpoint=https://app.skep.observer.- Pods stay in
CreateContainerConfigError. The Secret is missing or in another namespace. Createskep-otelcolin the release’s namespace. - The log says
skepcontrol: control plane not reachable; collector keeps exporting. The collector cannot register. The error after it says why: a 401 means the key is wrong or revoked (create a new collector key and update the Secret), a network error means the pod cannot reach Skep (check egress and proxies). Your telemetry still flows to your backend meanwhile. - A collector shows as disconnected or stale. Skep has not heard from it for more than 10 minutes. Check the pod and its network path to Skep.
- A collector’s snapshot shows as stale. It is reporting, but has not picked up the latest policy snapshot yet.
helmfails withtail sampling needs every span of a trace in one collector. Tail sampling works only in gateway mode. Agents never tail sample.- Workloads cannot reach an agent. Check that
hostPortsis on and that the workload setsOTEL_EXPORTER_OTLP_ENDPOINTfromstatus.hostIP.
Verify the release signatures
Section titled “Verify the release signatures”The image and the chart are signed with cosign (keyless) by the release workflow. To check them before you install:
id='^https://github.com/skephq/skep/.github/workflows/release-collector.yml@refs/tags/collector/v'iss=https://token.actions.githubusercontent.comcosign verify --certificate-identity-regexp "$id" --certificate-oidc-issuer "$iss" ghcr.io/skephq/skep-otelcol:0.1.0cosign verify --certificate-identity-regexp "$id" --certificate-oidc-issuer "$iss" ghcr.io/skephq/charts/skep-collector:0.1.0The image also carries SBOM and provenance attestations:
docker buildx imagetools inspect ghcr.io/skephq/skep-otelcol:0.1.0 --format '{{json .SBOM}}'