Score.dev
Topics: Container Orchestration
Score defines workloads in a platform-neutral format and renders them through platform-specific implementations.
Workload specification tool that generates platform-agnostic deployment manifests. Define a workload once, output to Kubernetes, Docker Compose, Nomad, or custom targets.
How it works
- Score file (
score.yaml): declarative workload spec — container image, ports, environment variables, volumes, dependencies - Score implementation (CLI + provisioners): translates Score files into platform-specific config.
score-composefor Docker Compose,score-k8sfor Kubernetes, etc. - One Score file → multiple output formats. No lock-in.
Key concepts
- Workload: a deployable unit (service, job, cron)
- Resource: external dependency (database, message queue, storage, DNS)
- Provisioner: plugin that resolves resources for a specific platform
Example
apiVersion: score.dev/v1b1
metadata:
name: my-service
containers:
backend:
image: nginx:latest
ports:
web:
port: 80
resources:
db:
type: postgres