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.

260 lines
9.7 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.4
  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.3"
  22. calico_cni_version: "v1.7.0"
  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. calico_rr_image_repo: "quay.io/calico/routereflector"
  47. calico_rr_image_tag: "v0.3.0"
  48. hyperkube_image_repo: "quay.io/coreos/hyperkube"
  49. hyperkube_image_tag: "{{ kube_version }}_coreos.0"
  50. pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
  51. pod_infra_image_tag: "{{ pod_infra_version }}"
  52. netcheck_version: "v1.0"
  53. netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
  54. netcheck_agent_tag: "{{ netcheck_version }}"
  55. netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
  56. netcheck_server_tag: "{{ netcheck_version }}"
  57. weave_kube_image_repo: "weaveworks/weave-kube"
  58. weave_kube_image_tag: "{{ weave_version }}"
  59. weave_npc_image_repo: "weaveworks/weave-npc"
  60. weave_npc_image_tag: "{{ weave_version }}"
  61. nginx_image_repo: nginx
  62. nginx_image_tag: 1.11.4-alpine
  63. dnsmasq_version: 2.72
  64. dnsmasq_image_repo: "andyshinn/dnsmasq"
  65. dnsmasq_image_tag: "{{ dnsmasq_version }}"
  66. kubedns_version: 1.14.2
  67. kubedns_image_repo: "gcr.io/google_containers/k8s-dns-kube-dns-amd64"
  68. kubedns_image_tag: "{{ kubedns_version }}"
  69. dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64"
  70. dnsmasq_nanny_image_tag: "{{ kubedns_version }}"
  71. dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-amd64"
  72. dnsmasq_sidecar_image_tag: "{{ kubedns_version }}"
  73. kubednsautoscaler_version: 1.1.1
  74. kubednsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-amd64"
  75. kubednsautoscaler_image_tag: "{{ kubednsautoscaler_version }}"
  76. test_image_repo: busybox
  77. test_image_tag: latest
  78. elasticsearch_version: "v2.4.1"
  79. elasticsearch_image_repo: "gcr.io/google_containers/elasticsearch"
  80. elasticsearch_image_tag: "{{ elasticsearch_version }}"
  81. fluentd_version: "1.22"
  82. fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch"
  83. fluentd_image_tag: "{{ fluentd_version }}"
  84. kibana_version: "v4.6.1"
  85. kibana_image_repo: "gcr.io/google_containers/kibana"
  86. kibana_image_tag: "{{ kibana_version }}"
  87. helm_version: "v2.2.2"
  88. helm_image_repo: "lachlanevenson/k8s-helm"
  89. helm_image_tag: "{{ helm_version }}"
  90. tiller_version: "{{ helm_version }}"
  91. tiller_image_repo: "gcr.io/kubernetes-helm/tiller"
  92. tiller_image_tag: "{{ tiller_version }}"
  93. downloads:
  94. netcheck_server:
  95. container: true
  96. repo: "{{ netcheck_server_img_repo }}"
  97. tag: "{{ netcheck_server_tag }}"
  98. sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
  99. enabled: "{{ deploy_netchecker|bool }}"
  100. netcheck_agent:
  101. container: true
  102. repo: "{{ netcheck_agent_img_repo }}"
  103. tag: "{{ netcheck_agent_tag }}"
  104. sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
  105. enabled: "{{ deploy_netchecker|bool }}"
  106. etcd:
  107. version: "{{etcd_version}}"
  108. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  109. sha256: >-
  110. {%- if etcd_deployment_type in [ 'docker', 'rkt' ] -%}{{etcd_digest_checksum|default(None)}}{%- else -%}{{etcd_checksum}}{%- endif -%}
  111. source_url: "{{ etcd_download_url }}"
  112. url: "{{ etcd_download_url }}"
  113. unarchive: true
  114. owner: "etcd"
  115. mode: "0755"
  116. container: "{{ etcd_deployment_type in [ 'docker', 'rkt' ] }}"
  117. repo: "{{ etcd_image_repo }}"
  118. tag: "{{ etcd_image_tag }}"
  119. hyperkube:
  120. container: true
  121. repo: "{{ hyperkube_image_repo }}"
  122. tag: "{{ hyperkube_image_tag }}"
  123. sha256: "{{ hyperkube_digest_checksum|default(None) }}"
  124. flannel:
  125. container: true
  126. repo: "{{ flannel_image_repo }}"
  127. tag: "{{ flannel_image_tag }}"
  128. sha256: "{{ flannel_digest_checksum|default(None) }}"
  129. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  130. calicoctl:
  131. container: true
  132. repo: "{{ calicoctl_image_repo }}"
  133. tag: "{{ calicoctl_image_tag }}"
  134. sha256: "{{ calicoctl_digest_checksum|default(None) }}"
  135. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  136. calico_node:
  137. container: true
  138. repo: "{{ calico_node_image_repo }}"
  139. tag: "{{ calico_node_image_tag }}"
  140. sha256: "{{ calico_node_digest_checksum|default(None) }}"
  141. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  142. calico_cni:
  143. container: true
  144. repo: "{{ calico_cni_image_repo }}"
  145. tag: "{{ calico_cni_image_tag }}"
  146. sha256: "{{ calico_cni_digest_checksum|default(None) }}"
  147. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  148. calico_policy:
  149. container: true
  150. repo: "{{ calico_policy_image_repo }}"
  151. tag: "{{ calico_policy_image_tag }}"
  152. sha256: "{{ calico_policy_digest_checksum|default(None) }}"
  153. enabled: "{{ kube_network_plugin == 'canal' }}"
  154. calico_rr:
  155. container: true
  156. repo: "{{ calico_rr_image_repo }}"
  157. tag: "{{ calico_rr_image_tag }}"
  158. sha256: "{{ calico_rr_digest_checksum|default(None) }}"
  159. enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
  160. weave_kube:
  161. container: true
  162. repo: "{{ weave_kube_image_repo }}"
  163. tag: "{{ weave_kube_image_tag }}"
  164. sha256: "{{ weave_kube_digest_checksum|default(None) }}"
  165. enabled: "{{ kube_network_plugin == 'weave' }}"
  166. weave_npc:
  167. container: true
  168. repo: "{{ weave_npc_image_repo }}"
  169. tag: "{{ weave_npc_image_tag }}"
  170. sha256: "{{ weave_npc_digest_checksum|default(None) }}"
  171. enabled: "{{ kube_network_plugin == 'weave' }}"
  172. pod_infra:
  173. container: true
  174. repo: "{{ pod_infra_image_repo }}"
  175. tag: "{{ pod_infra_image_tag }}"
  176. sha256: "{{ pod_infra_digest_checksum|default(None) }}"
  177. nginx:
  178. container: true
  179. repo: "{{ nginx_image_repo }}"
  180. tag: "{{ nginx_image_tag }}"
  181. sha256: "{{ nginx_digest_checksum|default(None) }}"
  182. dnsmasq:
  183. container: true
  184. repo: "{{ dnsmasq_image_repo }}"
  185. tag: "{{ dnsmasq_image_tag }}"
  186. sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
  187. kubedns:
  188. container: true
  189. repo: "{{ kubedns_image_repo }}"
  190. tag: "{{ kubedns_image_tag }}"
  191. sha256: "{{ kubedns_digest_checksum|default(None) }}"
  192. dnsmasq_nanny:
  193. container: true
  194. repo: "{{ dnsmasq_nanny_image_repo }}"
  195. tag: "{{ dnsmasq_nanny_image_tag }}"
  196. sha256: "{{ dnsmasq_nanny_digest_checksum|default(None) }}"
  197. dnsmasq_sidecar:
  198. container: true
  199. repo: "{{ dnsmasq_sidecar_image_repo }}"
  200. tag: "{{ dnsmasq_sidecar_image_tag }}"
  201. sha256: "{{ dnsmasq_sidecar_digest_checksum|default(None) }}"
  202. kubednsautoscaler:
  203. container: true
  204. repo: "{{ kubednsautoscaler_image_repo }}"
  205. tag: "{{ kubednsautoscaler_image_tag }}"
  206. sha256: "{{ kubednsautoscaler_digest_checksum|default(None) }}"
  207. testbox:
  208. container: true
  209. repo: "{{ test_image_repo }}"
  210. tag: "{{ test_image_tag }}"
  211. sha256: "{{ testbox_digest_checksum|default(None) }}"
  212. elasticsearch:
  213. container: true
  214. repo: "{{ elasticsearch_image_repo }}"
  215. tag: "{{ elasticsearch_image_tag }}"
  216. sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
  217. fluentd:
  218. container: true
  219. repo: "{{ fluentd_image_repo }}"
  220. tag: "{{ fluentd_image_tag }}"
  221. sha256: "{{ fluentd_digest_checksum|default(None) }}"
  222. kibana:
  223. container: true
  224. repo: "{{ kibana_image_repo }}"
  225. tag: "{{ kibana_image_tag }}"
  226. sha256: "{{ kibana_digest_checksum|default(None) }}"
  227. helm:
  228. container: true
  229. repo: "{{ helm_image_repo }}"
  230. tag: "{{ helm_image_tag }}"
  231. sha256: "{{ helm_digest_checksum|default(None) }}"
  232. tiller:
  233. container: true
  234. repo: "{{ tiller_image_repo }}"
  235. tag: "{{ tiller_image_tag }}"
  236. sha256: "{{ tiller_digest_checksum|default(None) }}"
  237. download:
  238. container: "{{ file.container|default('false') }}"
  239. repo: "{{ file.repo|default(None) }}"
  240. tag: "{{ file.tag|default(None) }}"
  241. enabled: "{{ file.enabled|default('true') }}"
  242. dest: "{{ file.dest|default(None) }}"
  243. version: "{{ file.version|default(None) }}"
  244. sha256: "{{ file.sha256|default(None) }}"
  245. source_url: "{{ file.source_url|default(None) }}"
  246. url: "{{ file.url|default(None) }}"
  247. unarchive: "{{ file.unarchive|default('false') }}"
  248. owner: "{{ file.owner|default('kube') }}"
  249. mode: "{{ file.mode|default(None) }}"