Advertisement
drpanwe

/etc/sysconfig/kubic-init

Jan 18th, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. # configuration file in /etc/sysconfig/kubic-init
  2.  
  3. # debug level (from 0 to ...)
  4. KUBIC_INIT_DEBUGLEVEL = 3
  5.  
  6. # TODO: replace for an official image
  7. # FIXME: localhost needs changing if the container runtime is docker
  8. KUBIC_INIT_IMAGE = "localhost/kubic-project/kubic-init:latest"
  9.  
  10. # The runner for containers
  11. KUBIC_INIT_RUNNER = /usr/bin/podman
  12.  
  13. # Arguments for the runner
  14. KUBIC_INIT_RUNNER_ARGS = "--privileged=true \
  15. --net=host \
  16. --security-opt seccomp:unconfined \
  17. --cap-add=SYS_ADMIN \
  18. --name=kubic-init"
  19.  
  20. # Volumes to mount in the runner
  21. KUBIC_INIT_RUNNER_VOLS = "-v /etc/kubic:/etc/kubic \
  22. -v /etc/kubernetes:/etc/kubernetes \
  23. -v /usr/bin/kubelet:/usr/bin/kubelet:ro \
  24. -v /var/lib/kubelet:/var/lib/kubelet \
  25. -v /etc/cni/net.d:/etc/cni/net.d \
  26. -v /var/lib/etcd:/var/lib/etcd \
  27. -v /var/run/dbus:/var/run/dbus \
  28. -v /usr/lib/systemd:/usr/lib/systemd:ro \
  29. -v /run/systemd:/run/systemd:ro \
  30. -v /var/run/crio:/var/run/crio \
  31. -v /sys/fs/cgroup:/sys/fs/cgroup \
  32. -v /lib/modules:/lib/modules:ro"
  33.  
  34. # Extra args for the `kubic-init bootstrap` command
  35. KUBIC_INIT_EXTRA_ARGS =
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement