Skip to content

Artifacts

Artifacts service

The Artifacts service is an NGINX-based proxy that serves Lightrun artifacts. It functions as an internal artifact repository for the backend server and supports both HTTP and HTTPS protocols, depending on the internal TLS configuration.

Configuration is defined under deployments.artifacts in the values.yaml

Configuration Options

Logging Configuration

artifacts:
  loglevel: notice          # NGINX log level (emerg, alert, crit, error, warn, notice, info, debug)
  useJsonLogFormat: false   # Enables structured JSON logging

Replicas

  replicas: 1              # Number of replicas to run

Deployment Strategy

  rollout_strategy: "RollingUpdate"  # Defines the rollout strategy

Image Configuration

  image:
    repository: lightruncom/artifacts  # Docker image repository
    tag: ""
    pullPolicy: IfNotPresent          # Image pull policy

Resource Allocation

  resources:
    cpu: 500m      # CPU limit and request
    memory: 128Mi  # Memory limit and request

Pod Labels & Annotations

  podLabels: {}
  podAnnotations: {}
  annotations: {}  # Deployment annotations

Extra Environment Variables

  extraEnvs: []

Security Contexts

  podSecurityContext: {}
  containerSecurityContext: {}

Service Annotations & Labels

  service:
    annotations: {}
    labels: {}

Volumes

  extraVolumes: []
  extraVolumeMounts: []

Pod Disruption Budget & Scheduling

  podDisruptionBudget: {}  # [minAvailable|maxUnavailable] either integer or percentage
  topologySpreadConstraints: []
  affinity: {}

Health Probes

  livenessProbe: 
    initialDelaySeconds: 10
    periodSeconds: 20
    timeoutSeconds: 10
    successThreshold: 1
    failureThreshold: 3
    path: /health

  readinessProbe:
    initialDelaySeconds: 10
    periodSeconds: 10
    timeoutSeconds: 5
    successThreshold: 1
    failureThreshold: 3
    path: /health

Last update: June 17, 2025