Last updated
Was this helpful?
Last updated
Was this helpful?
To deploy Jibril as a DaemonSet on Kubernetes clusters, use the script. This script automatically creates a Deployment file with the necessary ConfigMap, DaemonSet, and related resources.
Make sure to use --dry-run
so it does not apply the deployment automatically.
Currently almost all development-like Kubernetes distributions (Minikube, Microk8s, ...) are supported, as long as compute nodes are virtual-machines or real hosts.
Container based compute nodes distributions, like , will make resource consumption bigger and is unsupported for now).
Basic deployment with defaults
Deploy to a custom namespace
Add node toleration
Set custom memory limits
Target specific nodes with a node selector
Deploy on GPU nodes with higher CPU limits
Configure multiple tolerations
Use a custom Jibril configuration file
Preview configuration without applying
Save configuration to a custom file
Clean up existing deployment
Complete production deployment example
Jibril requires privileged access to run eBPF programs.
The script mounts necessary paths from the host:
/sys/fs/bpf
/sys/kernel/debug
/sys
/proc
/var/log/jibril
Log files are stored in /var/log/jibril
on the host.
Configuration is supplied via a ConfigMap.
Deploy Jibril in your Kubernetes cluster.
--namespace=NAME
Kubernetes namespace Default: security
--image=IMAGE
Jibril container image Default: garnetlabs/jibril:v1.4
--log-level=LEVEL
Log level (quiet, fatal, error, warn, info, debug) Default: info
--config=FILE
Path to custom Jibril config.yaml file Defaullt: built-in
--memory-request=SIZE
Memory request Default: 256Mi
--memory-limit=SIZE
Memory limit Default: 512Mi
--cpu-request=AMOUNT
CPU request Default: 100m
--cpu-limit=AMOUNT
CPU limit Default: 500m
--node-selector=EXPR
Node selector expression (e.g. 'role=security')
--toleration=KEY:VAL:EFFECT
Add toleration (can be used multiple times)
--output=FILE
Output YAML to file Default: jibril-k8s.yaml
--dry-run
Print configuration without applying
--cleanup
Remove existing Jibril resources from the cluster
--help
Show help