os-config.yml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. bootstrap:
  2. udev:
  3. image: rancher/os-udev:v0.4.0-dev
  4. command: []
  5. dns: []
  6. dns_search: []
  7. env_file: []
  8. environment: []
  9. labels:
  10. io.rancher.os.detach: false
  11. io.rancher.os.scope: system
  12. links: []
  13. log_driver: json-file
  14. net: host
  15. uts: host
  16. privileged: true
  17. volumes:
  18. - /dev:/host/dev
  19. - /lib/modules:/lib/modules
  20. - /lib/firmware:/lib/firmware
  21. autoformat:
  22. autoformat:
  23. image: rancher/os-autoformat:v0.4.0-dev
  24. command: []
  25. dns: []
  26. dns_search: []
  27. env_file: []
  28. environment: []
  29. labels:
  30. io.rancher.os.detach: false
  31. io.rancher.os.scope: system
  32. links: []
  33. log_driver: json-file
  34. net: none
  35. privileged: true
  36. volumes: []
  37. udev:
  38. image: rancher/os-udev:v0.4.0-dev
  39. command: []
  40. dns: []
  41. dns_search: []
  42. env_file: []
  43. environment: []
  44. labels:
  45. io.rancher.os.detach: false
  46. io.rancher.os.scope: system
  47. links:
  48. - autoformat
  49. log_driver: json-file
  50. net: host
  51. uts: host
  52. privileged: true
  53. volumes:
  54. - /dev:/host/dev
  55. - /lib/modules:/lib/modules
  56. - /lib/firmware:/lib/firmware
  57. bootstrap_docker:
  58. args: [docker, -d, -s, overlay, -b, none, --restart=false, -g, /var/lib/system-docker,
  59. -G, root, -H, 'unix:///var/run/system-docker.sock']
  60. cloud_init:
  61. datasources:
  62. - configdrive:/media/config-2
  63. services_include:
  64. ubuntu-console: false
  65. network:
  66. dns:
  67. nameservers: [8.8.8.8, 8.8.4.4]
  68. interfaces:
  69. eth*:
  70. dhcp: true
  71. lo:
  72. address: 127.0.0.1/8
  73. repositories:
  74. core:
  75. url: https://raw.githubusercontent.com/rancherio/os-services/v0.4.0
  76. state:
  77. fstype: auto
  78. dev: LABEL=RANCHER_STATE
  79. system_containers:
  80. acpid:
  81. image: rancher/os-acpid:v0.4.0-dev
  82. command: []
  83. dns: []
  84. dns_search: []
  85. env_file: []
  86. environment: []
  87. labels:
  88. io.rancher.os.scope: system
  89. links: []
  90. net: host
  91. uts: host
  92. privileged: true
  93. volumes_from:
  94. - command-volumes
  95. - system-volumes
  96. all-volumes:
  97. image: rancher/os-state:v0.4.0-dev
  98. command: []
  99. dns: []
  100. dns_search: []
  101. env_file: []
  102. environment: []
  103. labels:
  104. io.rancher.os.createonly: true
  105. io.rancher.os.scope: system
  106. links: []
  107. log_driver: json-file
  108. net: none
  109. privileged: true
  110. read_only: true
  111. volumes_from:
  112. - docker-volumes
  113. - command-volumes
  114. - user-volumes
  115. - system-volumes
  116. cloud-init:
  117. image: rancher/os-cloudinit:v0.4.0-dev
  118. command: []
  119. dns: []
  120. dns_search: []
  121. env_file: []
  122. environment: []
  123. labels:
  124. io.rancher.os.detach: false
  125. io.rancher.os.reloadconfig: true
  126. io.rancher.os.scope: system
  127. links:
  128. - preload-user-images
  129. - cloud-init-pre
  130. - network
  131. net: host
  132. uts: host
  133. privileged: true
  134. volumes_from:
  135. - command-volumes
  136. - system-volumes
  137. cloud-init-pre:
  138. image: rancher/os-cloudinit:v0.4.0-dev
  139. command: []
  140. dns: []
  141. dns_search: []
  142. env_file: []
  143. environment:
  144. - CLOUD_INIT_NETWORK=false
  145. labels:
  146. io.rancher.os.detach: false
  147. io.rancher.os.reloadconfig: true
  148. io.rancher.os.scope: system
  149. links:
  150. - preload-system-images
  151. net: host
  152. uts: host
  153. privileged: true
  154. volumes_from:
  155. - command-volumes
  156. - system-volumes
  157. command-volumes:
  158. image: rancher/os-state:v0.4.0-dev
  159. command: []
  160. dns: []
  161. dns_search: []
  162. env_file: []
  163. environment: []
  164. labels:
  165. io.rancher.os.createonly: true
  166. io.rancher.os.scope: system
  167. links: []
  168. log_driver: json-file
  169. net: none
  170. privileged: true
  171. read_only: true
  172. volumes:
  173. - /init:/sbin/halt:ro
  174. - /init:/sbin/poweroff:ro
  175. - /init:/sbin/reboot:ro
  176. - /init:/sbin/shutdown:ro
  177. - /init:/sbin/netconf:ro
  178. - /init:/usr/bin/cloud-init:ro
  179. - /init:/usr/bin/rancherctl:ro
  180. - /init:/usr/bin/ros:ro
  181. - /init:/usr/bin/respawn:ro
  182. - /init:/usr/bin/system-docker:ro
  183. - /init:/usr/sbin/wait-for-docker:ro
  184. - /lib/modules:/lib/modules
  185. - /usr/bin/docker:/usr/bin/docker:ro
  186. console:
  187. image: rancher/os-console:v0.4.0-dev
  188. command: []
  189. dns: []
  190. dns_search: []
  191. env_file: []
  192. environment: []
  193. labels:
  194. io.rancher.os.remove: true
  195. io.rancher.os.scope: system
  196. links:
  197. - cloud-init
  198. net: host
  199. uts: host
  200. pid: host
  201. ipc: host
  202. privileged: true
  203. restart: always
  204. volumes_from:
  205. - all-volumes
  206. docker:
  207. image: rancher/os-docker:v0.4.0-dev
  208. command: []
  209. dns: []
  210. dns_search: []
  211. env_file: []
  212. environment: []
  213. labels:
  214. io.rancher.os.scope: system
  215. links:
  216. - network
  217. net: host
  218. uts: host
  219. pid: host
  220. ipc: host
  221. privileged: true
  222. restart: always
  223. volumes_from:
  224. - all-volumes
  225. docker-volumes:
  226. image: rancher/os-state:v0.4.0-dev
  227. command: []
  228. dns: []
  229. dns_search: []
  230. env_file: []
  231. environment: []
  232. labels:
  233. io.rancher.os.createonly: true
  234. io.rancher.os.scope: system
  235. links: []
  236. log_driver: json-file
  237. net: none
  238. privileged: true
  239. read_only: true
  240. volumes:
  241. - /var/lib/rancher/conf:/var/lib/rancher/conf
  242. - /var/lib/docker:/var/lib/docker
  243. - /var/lib/system-docker:/var/lib/system-docker
  244. dockerwait:
  245. image: rancher/os-dockerwait:v0.4.0-dev
  246. command: []
  247. dns: []
  248. dns_search: []
  249. env_file: []
  250. environment: []
  251. labels:
  252. io.rancher.os.detach: false
  253. io.rancher.os.scope: system
  254. links:
  255. - docker
  256. net: host
  257. uts: host
  258. volumes_from:
  259. - all-volumes
  260. network:
  261. image: rancher/os-network:v0.4.0-dev
  262. command: []
  263. dns: []
  264. dns_search: []
  265. env_file: []
  266. environment: []
  267. labels:
  268. io.rancher.os.detach: false
  269. io.rancher.os.scope: system
  270. links:
  271. - cloud-init-pre
  272. net: host
  273. uts: host
  274. privileged: true
  275. volumes_from:
  276. - command-volumes
  277. - system-volumes
  278. ntp:
  279. image: rancher/os-ntp:v0.4.0-dev
  280. command: []
  281. dns: []
  282. dns_search: []
  283. env_file: []
  284. environment: []
  285. labels:
  286. io.rancher.os.scope: system
  287. links:
  288. - cloud-init
  289. - network
  290. net: host
  291. uts: host
  292. privileged: true
  293. restart: always
  294. preload-system-images:
  295. image: rancher/os-preload:v0.4.0-dev
  296. command: []
  297. dns: []
  298. dns_search: []
  299. env_file: []
  300. environment: []
  301. labels:
  302. io.rancher.os.detach: false
  303. io.rancher.os.scope: system
  304. links: []
  305. privileged: true
  306. volumes:
  307. - /var/run/system-docker.sock:/var/run/docker.sock
  308. - /var/lib/system-docker/preload:/mnt/preload
  309. volumes_from:
  310. - command-volumes
  311. - system-volumes
  312. preload-user-images:
  313. image: rancher/os-preload:v0.4.0-dev
  314. command: []
  315. dns: []
  316. dns_search: []
  317. env_file: []
  318. environment: []
  319. labels:
  320. io.rancher.os.detach: false
  321. io.rancher.os.scope: system
  322. links:
  323. - dockerwait
  324. privileged: true
  325. volumes:
  326. - /var/run/docker.sock:/var/run/docker.sock
  327. - /var/lib/docker/preload:/mnt/preload
  328. volumes_from:
  329. - command-volumes
  330. - system-volumes
  331. syslog:
  332. image: rancher/os-syslog:v0.4.0-dev
  333. command: []
  334. dns: []
  335. dns_search: []
  336. env_file: []
  337. environment: []
  338. labels:
  339. io.rancher.os.scope: system
  340. links: []
  341. log_driver: json-file
  342. net: host
  343. uts: host
  344. privileged: true
  345. restart: always
  346. volumes_from:
  347. - system-volumes
  348. system-volumes:
  349. image: rancher/os-state:v0.4.0-dev
  350. command: []
  351. dns: []
  352. dns_search: []
  353. env_file: []
  354. environment: []
  355. labels:
  356. io.rancher.os.createonly: true
  357. io.rancher.os.scope: system
  358. links: []
  359. log_driver: json-file
  360. net: none
  361. privileged: true
  362. read_only: true
  363. volumes:
  364. - /dev:/host/dev
  365. - /os-config.yml:/os-config.yml
  366. - /var/lib/rancher:/var/lib/rancher
  367. - /var/lib/rancher/conf:/var/lib/rancher/conf
  368. - /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt.rancher
  369. - /lib/modules:/lib/modules
  370. - /lib/firmware:/lib/firmware
  371. - /var/run:/var/run
  372. - /var/log:/var/log
  373. udev:
  374. image: rancher/os-udev:v0.4.0-dev
  375. command: []
  376. dns: []
  377. dns_search: []
  378. env_file: []
  379. environment:
  380. - DAEMON=true
  381. labels:
  382. io.rancher.os.detach: true
  383. io.rancher.os.scope: system
  384. links: []
  385. net: host
  386. uts: host
  387. privileged: true
  388. restart: always
  389. volumes_from:
  390. - system-volumes
  391. user-volumes:
  392. image: rancher/os-state:v0.4.0-dev
  393. command: []
  394. dns: []
  395. dns_search: []
  396. env_file: []
  397. environment: []
  398. labels:
  399. io.rancher.os.createonly: true
  400. io.rancher.os.scope: system
  401. links: []
  402. log_driver: json-file
  403. net: none
  404. privileged: true
  405. read_only: true
  406. volumes:
  407. - /home:/home
  408. - /opt:/opt
  409. system_docker:
  410. args: [docker, -d, --log-driver, syslog, -s, overlay, -b, docker-sys, --fixed-cidr,
  411. 172.18.42.1/16, --restart=false, -g, /var/lib/system-docker, -G, root,
  412. -H, 'unix:///var/run/system-docker.sock', --userland-proxy=false]
  413. upgrade:
  414. url: https://releases.rancher.com/os/versions.yml
  415. image: rancher/os
  416. user_docker:
  417. tls_args: [--tlsverify, --tlscacert=ca.pem, --tlscert=server-cert.pem, --tlskey=server-key.pem,
  418. '-H=0.0.0.0:2376']
  419. args: [docker, -d, -s, overlay, -G, docker, -H, 'unix:///var/run/docker.sock', --userland-proxy=false]