You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
9.3 KiB

8 years ago
  1. ---
  2. local_release_dir: /tmp
  3. # if this is set to true will only download files once. Doesn't work
  4. # on Container Linux by CoreOS unless the download_localhost is true and localhost
  5. # is running another OS type. Default compress level is 1 (fastest).
  6. download_run_once: False
  7. download_compress: 1
  8. # if this is set to true, uses the localhost for download_run_once mode
  9. # (requires docker and sudo to access docker). You may want this option for
  10. # local caching of docker images or for Container Linux by CoreOS cluster nodes.
  11. # Otherwise, uses the first node in the kube-master group to store images
  12. # in the download_run_once mode.
  13. download_localhost: False
  14. # Always pull images if set to True. Otherwise check by the repo's tag/digest.
  15. download_always_pull: False
  16. # Versions
  17. kube_version: v1.6.1
  18. etcd_version: v3.0.17
  19. #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  20. # after migration to container download
  21. calico_version: "v1.1.0-rc8"
  22. calico_cni_version: "v1.5.6"
  23. calico_policy_version: "v0.5.4"
  24. weave_version: 1.8.2
  25. flannel_version: v0.6.2
  26. pod_infra_version: 3.0
  27. # Download URL's
  28. etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
  29. # Checksums
  30. etcd_checksum: "385afd518f93e3005510b7aaa04d38ee4a39f06f5152cd33bb86d4f0c94c7485"
  31. # Containers
  32. # Possible values: host, docker
  33. etcd_deployment_type: "docker"
  34. etcd_image_repo: "quay.io/coreos/etcd"
  35. etcd_image_tag: "{{ etcd_version }}"
  36. flannel_image_repo: "quay.io/coreos/flannel"
  37. flannel_image_tag: "{{ flannel_version }}"
  38. calicoctl_image_repo: "calico/ctl"
  39. calicoctl_image_tag: "{{ calico_version }}"
  40. calico_node_image_repo: "calico/node"
  41. calico_node_image_tag: "{{ calico_version }}"
  42. calico_cni_image_repo: "calico/cni"
  43. calico_cni_image_tag: "{{ calico_cni_version }}"
  44. calico_policy_image_repo: "calico/kube-policy-controller"
  45. calico_policy_image_tag: "{{ calico_policy_version }}"
  46. # TODO(adidenko): switch to "calico/routereflector" when
  47. # https://github.com/projectcalico/calico-bird/pull/27 is merged
  48. calico_rr_image_repo: "quay.io/l23network/routereflector"
  49. calico_rr_image_tag: "v0.1"
  50. exechealthz_version: 1.1
  51. exechealthz_image_repo: "gcr.io/google_containers/exechealthz-amd64"
  52. exechealthz_image_tag: "{{ exechealthz_version }}"
  53. hyperkube_image_repo: "quay.io/coreos/hyperkube"
  54. hyperkube_image_tag: "{{ kube_version }}_coreos.0"
  55. pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
  56. pod_infra_image_tag: "{{ pod_infra_version }}"
  57. netcheck_tag: "v1.0"
  58. netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
  59. netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
  60. weave_kube_image_repo: "weaveworks/weave-kube"
  61. weave_kube_image_tag: "{{ weave_version }}"
  62. weave_npc_image_repo: "weaveworks/weave-npc"
  63. weave_npc_image_tag: "{{ weave_version }}"
  64. nginx_image_repo: nginx
  65. nginx_image_tag: 1.11.4-alpine
  66. dnsmasq_version: 2.72
  67. dnsmasq_image_repo: "andyshinn/dnsmasq"
  68. dnsmasq_image_tag: "{{ dnsmasq_version }}"
  69. kubednsmasq_version: 1.3
  70. kubednsmasq_image_repo: "gcr.io/google_containers/kube-dnsmasq-amd64"
  71. kubednsmasq_image_tag: "{{ kubednsmasq_version }}"
  72. kubedns_version: 1.7
  73. kubedns_image_repo: "gcr.io/google_containers/kubedns-amd64"
  74. kubedns_image_tag: "{{ kubedns_version }}"
  75. test_image_repo: busybox
  76. test_image_tag: latest
  77. elasticsearch_version: "v2.4.1"
  78. elasticsearch_image_repo: "gcr.io/google_containers/elasticsearch"
  79. elasticsearch_image_tag: "{{ elasticsearch_version }}"
  80. fluentd_version: "1.22"
  81. fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch"
  82. fluentd_image_tag: "{{ fluentd_version }}"
  83. kibana_version: "v4.6.1"
  84. kibana_image_repo: "gcr.io/google_containers/kibana"
  85. kibana_image_tag: "{{ kibana_version }}"
  86. helm_version: "v2.2.2"
  87. helm_image_repo: "lachlanevenson/k8s-helm"
  88. helm_image_tag: "{{ helm_version }}"
  89. tiller_version: "{{ helm_version }}"
  90. tiller_image_repo: "gcr.io/kubernetes-helm/tiller"
  91. tiller_image_tag: "{{ tiller_version }}"
  92. downloads:
  93. netcheck_server:
  94. container: true
  95. repo: "{{ netcheck_server_img_repo }}"
  96. tag: "{{ netcheck_tag }}"
  97. sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
  98. enabled: "{{ deploy_netchecker|bool }}"
  99. netcheck_agent:
  100. container: true
  101. repo: "{{ netcheck_agent_img_repo }}"
  102. tag: "{{ netcheck_tag }}"
  103. sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
  104. enabled: "{{ deploy_netchecker|bool }}"
  105. etcd:
  106. version: "{{etcd_version}}"
  107. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  108. sha256: >-
  109. {%- if etcd_deployment_type in [ 'docker', 'rkt' ] -%}{{etcd_digest_checksum|default(None)}}{%- else -%}{{etcd_checksum}}{%- endif -%}
  110. source_url: "{{ etcd_download_url }}"
  111. url: "{{ etcd_download_url }}"
  112. unarchive: true
  113. owner: "etcd"
  114. mode: "0755"
  115. container: "{{ etcd_deployment_type in [ 'docker', 'rkt' ] }}"
  116. repo: "{{ etcd_image_repo }}"
  117. tag: "{{ etcd_image_tag }}"
  118. hyperkube:
  119. container: true
  120. repo: "{{ hyperkube_image_repo }}"
  121. tag: "{{ hyperkube_image_tag }}"
  122. sha256: "{{ hyperkube_digest_checksum|default(None) }}"
  123. flannel:
  124. container: true
  125. repo: "{{ flannel_image_repo }}"
  126. tag: "{{ flannel_image_tag }}"
  127. sha256: "{{ flannel_digest_checksum|default(None) }}"
  128. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  129. calicoctl:
  130. container: true
  131. repo: "{{ calicoctl_image_repo }}"
  132. tag: "{{ calicoctl_image_tag }}"
  133. sha256: "{{ calicoctl_digest_checksum|default(None) }}"
  134. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  135. calico_node:
  136. container: true
  137. repo: "{{ calico_node_image_repo }}"
  138. tag: "{{ calico_node_image_tag }}"
  139. sha256: "{{ calico_node_digest_checksum|default(None) }}"
  140. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  141. calico_cni:
  142. container: true
  143. repo: "{{ calico_cni_image_repo }}"
  144. tag: "{{ calico_cni_image_tag }}"
  145. sha256: "{{ calico_cni_digest_checksum|default(None) }}"
  146. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  147. calico_policy:
  148. container: true
  149. repo: "{{ calico_policy_image_repo }}"
  150. tag: "{{ calico_policy_image_tag }}"
  151. sha256: "{{ calico_policy_digest_checksum|default(None) }}"
  152. enabled: "{{ kube_network_plugin == 'canal' }}"
  153. calico_rr:
  154. container: true
  155. repo: "{{ calico_rr_image_repo }}"
  156. tag: "{{ calico_rr_image_tag }}"
  157. sha256: "{{ calico_rr_digest_checksum|default(None) }}"
  158. enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
  159. weave_kube:
  160. container: true
  161. repo: "{{ weave_kube_image_repo }}"
  162. tag: "{{ weave_kube_image_tag }}"
  163. sha256: "{{ weave_kube_digest_checksum|default(None) }}"
  164. enabled: "{{ kube_network_plugin == 'weave' }}"
  165. weave_npc:
  166. container: true
  167. repo: "{{ weave_npc_image_repo }}"
  168. tag: "{{ weave_npc_image_tag }}"
  169. sha256: "{{ weave_npc_digest_checksum|default(None) }}"
  170. enabled: "{{ kube_network_plugin == 'weave' }}"
  171. pod_infra:
  172. container: true
  173. repo: "{{ pod_infra_image_repo }}"
  174. tag: "{{ pod_infra_image_tag }}"
  175. sha256: "{{ pod_infra_digest_checksum|default(None) }}"
  176. nginx:
  177. container: true
  178. repo: "{{ nginx_image_repo }}"
  179. tag: "{{ nginx_image_tag }}"
  180. sha256: "{{ nginx_digest_checksum|default(None) }}"
  181. dnsmasq:
  182. container: true
  183. repo: "{{ dnsmasq_image_repo }}"
  184. tag: "{{ dnsmasq_image_tag }}"
  185. sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
  186. kubednsmasq:
  187. container: true
  188. repo: "{{ kubednsmasq_image_repo }}"
  189. tag: "{{ kubednsmasq_image_tag }}"
  190. sha256: "{{ kubednsmasq_digest_checksum|default(None) }}"
  191. kubedns:
  192. container: true
  193. repo: "{{ kubedns_image_repo }}"
  194. tag: "{{ kubedns_image_tag }}"
  195. sha256: "{{ kubedns_digest_checksum|default(None) }}"
  196. testbox:
  197. container: true
  198. repo: "{{ test_image_repo }}"
  199. tag: "{{ test_image_tag }}"
  200. sha256: "{{ testbox_digest_checksum|default(None) }}"
  201. exechealthz:
  202. container: true
  203. repo: "{{ exechealthz_image_repo }}"
  204. tag: "{{ exechealthz_image_tag }}"
  205. sha256: "{{ exechealthz_digest_checksum|default(None) }}"
  206. elasticsearch:
  207. container: true
  208. repo: "{{ elasticsearch_image_repo }}"
  209. tag: "{{ elasticsearch_image_tag }}"
  210. sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
  211. fluentd:
  212. container: true
  213. repo: "{{ fluentd_image_repo }}"
  214. tag: "{{ fluentd_image_tag }}"
  215. sha256: "{{ fluentd_digest_checksum|default(None) }}"
  216. kibana:
  217. container: true
  218. repo: "{{ kibana_image_repo }}"
  219. tag: "{{ kibana_image_tag }}"
  220. sha256: "{{ kibana_digest_checksum|default(None) }}"
  221. helm:
  222. container: true
  223. repo: "{{ helm_image_repo }}"
  224. tag: "{{ helm_image_tag }}"
  225. sha256: "{{ helm_digest_checksum|default(None) }}"
  226. tiller:
  227. container: true
  228. repo: "{{ tiller_image_repo }}"
  229. tag: "{{ tiller_image_tag }}"
  230. sha256: "{{ tiller_digest_checksum|default(None) }}"
  231. download:
  232. container: "{{ file.container|default('false') }}"
  233. repo: "{{ file.repo|default(None) }}"
  234. tag: "{{ file.tag|default(None) }}"
  235. enabled: "{{ file.enabled|default('true') }}"
  236. dest: "{{ file.dest|default(None) }}"
  237. version: "{{ file.version|default(None) }}"
  238. sha256: "{{ file.sha256|default(None) }}"
  239. source_url: "{{ file.source_url|default(None) }}"
  240. url: "{{ file.url|default(None) }}"
  241. unarchive: "{{ file.unarchive|default('false') }}"
  242. owner: "{{ file.owner|default('kube') }}"
  243. mode: "{{ file.mode|default(None) }}"