Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add config for warden-cpi

  • Loading branch information...
commit 9712451911c7a0fad149f83895169a4062c47fc3 1 parent be58d88
David Sabeti and Pieter Noordhuis authored
Showing with 57 additions and 0 deletions.
  1. +57 −0 warden/config/warden-cpi-linux.yml
View
57 warden/config/warden-cpi-linux.yml
@@ -0,0 +1,57 @@
+---
+server:
+ container_klass: Warden::Container::Linux
+
+ # Wait this long before destroying a container, after the last client
+ # referencing it disconnected. The timer is cancelled when during this
+ # period, another client references the container.
+ #
+ # Clients can be forced to specify this setting by setting the
+ # server-wide variable to an invalid value:
+ # container_grace_time: invalid
+ #
+ # The grace time can be disabled by setting it to nil:
+ # container_grace_time: ~
+ #
+ container_grace_time: 300
+
+ unix_domain_permissions: 0777
+
+ # Specifies the path to the base chroot used as the read-only root
+ # filesystem
+ container_rootfs_path: /tmp/warden/rootfs
+
+ # Specifies the path to the parent directory under which all containers
+ # will live.
+ container_depot_path: /tmp/warden/containers
+
+ # See getrlimit(2) for details. Integer values are passed verbatim.
+ container_rlimits:
+ as: 4294967296
+ nofile: 8192
+ nproc: 512
+
+ # Specifies the output limit of a job (stdout/stderr combined).
+ job_output_limit: 10485760
+
+ quota:
+ disk_quota_enabled: false
+
+ allow_nested_warden: true
+
+health_check_server:
+ port: 2345
+
+logging:
+ level: debug2
+
+network:
+ # Use this /30 network as offset for the network pool.
+ pool_start_address: 10.244.0.0
+
+ # Pool this many /30 networks.
+ pool_size: 256
+
+user:
+ pool_start_uid: 20000
+ pool_size: 256
Please sign in to comment.
Something went wrong with that request. Please try again.