Krane
Run the k8s management service
krane (/kreɪn/) is the kubernetes deployment service for Unkey infrastructure.
It manages the lifecycle of deployments in a kubernetes cluster:
Command Syntax
Examples
Run with default configuration
Flags
--http-port
Port for the server to listen on. Default: 8080
- Type: integer
- Default:
8080
- Environment:
UNKEY_HTTP_PORT
--instance-id
Unique identifier for this instance. Auto-generated if not provided.
- Type: string
- Default:
"ins_6EFeEJ"
- Environment:
UNKEY_INSTANCE_ID
--backend
Backend type for the service. Either kubernetes or docker. Default: kubernetes
- Type: string
- Default:
"kubernetes"
- Environment:
UNKEY_KRANE_BACKEND
--docker-socket
Path to the docker socket. Only used if backend is docker. Default: /var/run/docker.sock
- Type: string
- Default:
"/var/run/docker.sock"
- Environment:
UNKEY_DOCKER_SOCKET
--deployment-eviction-ttl
Automatically delete deployments after some time. Use go duration formats such as 2h30m
- Type: duration