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.

237 lines
8.8 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.5.3
  18. etcd_version: v3.0.6
  19. #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  20. # after migration to container download
  21. calico_version: "v1.0.2"
  22. calico_cni_version: "v1.5.6"
  23. calico_policy_version: "v0.5.2"
  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. downloads:
  87. netcheck_server:
  88. container: true
  89. repo: "{{ netcheck_server_img_repo }}"
  90. tag: "{{ netcheck_tag }}"
  91. sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
  92. enabled: "{{ deploy_netchecker|bool }}"
  93. netcheck_agent:
  94. container: true
  95. repo: "{{ netcheck_agent_img_repo }}"
  96. tag: "{{ netcheck_tag }}"
  97. sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
  98. enabled: "{{ deploy_netchecker|bool }}"
  99. etcd:
  100. version: "{{etcd_version}}"
  101. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  102. sha256: >-
  103. {%- if etcd_deployment_type in [ 'docker', 'rkt' ] -%}{{etcd_digest_checksum|default(None)}}{%- else -%}{{etcd_checksum}}{%- endif -%}
  104. source_url: "{{ etcd_download_url }}"
  105. url: "{{ etcd_download_url }}"
  106. unarchive: true
  107. owner: "etcd"
  108. mode: "0755"
  109. container: "{{ etcd_deployment_type in [ 'docker', 'rkt' ] }}"
  110. repo: "{{ etcd_image_repo }}"
  111. tag: "{{ etcd_image_tag }}"
  112. hyperkube:
  113. container: true
  114. repo: "{{ hyperkube_image_repo }}"
  115. tag: "{{ hyperkube_image_tag }}"
  116. sha256: "{{ hyperkube_digest_checksum|default(None) }}"
  117. flannel:
  118. container: true
  119. repo: "{{ flannel_image_repo }}"
  120. tag: "{{ flannel_image_tag }}"
  121. sha256: "{{ flannel_digest_checksum|default(None) }}"
  122. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  123. calicoctl:
  124. container: true
  125. repo: "{{ calicoctl_image_repo }}"
  126. tag: "{{ calicoctl_image_tag }}"
  127. sha256: "{{ calicoctl_digest_checksum|default(None) }}"
  128. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  129. calico_node:
  130. container: true
  131. repo: "{{ calico_node_image_repo }}"
  132. tag: "{{ calico_node_image_tag }}"
  133. sha256: "{{ calico_node_digest_checksum|default(None) }}"
  134. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  135. calico_cni:
  136. container: true
  137. repo: "{{ calico_cni_image_repo }}"
  138. tag: "{{ calico_cni_image_tag }}"
  139. sha256: "{{ calico_cni_digest_checksum|default(None) }}"
  140. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  141. calico_policy:
  142. container: true
  143. repo: "{{ calico_policy_image_repo }}"
  144. tag: "{{ calico_policy_image_tag }}"
  145. sha256: "{{ calico_policy_digest_checksum|default(None) }}"
  146. enabled: "{{ kube_network_plugin == 'canal' }}"
  147. calico_rr:
  148. container: true
  149. repo: "{{ calico_rr_image_repo }}"
  150. tag: "{{ calico_rr_image_tag }}"
  151. sha256: "{{ calico_rr_digest_checksum|default(None) }}"
  152. enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
  153. weave_kube:
  154. container: true
  155. repo: "{{ weave_kube_image_repo }}"
  156. tag: "{{ weave_kube_image_tag }}"
  157. sha256: "{{ weave_kube_digest_checksum|default(None) }}"
  158. enabled: "{{ kube_network_plugin == 'weave' }}"
  159. weave_npc:
  160. container: true
  161. repo: "{{ weave_npc_image_repo }}"
  162. tag: "{{ weave_npc_image_tag }}"
  163. sha256: "{{ weave_npc_digest_checksum|default(None) }}"
  164. enabled: "{{ kube_network_plugin == 'weave' }}"
  165. pod_infra:
  166. container: true
  167. repo: "{{ pod_infra_image_repo }}"
  168. tag: "{{ pod_infra_image_tag }}"
  169. sha256: "{{ pod_infra_digest_checksum|default(None) }}"
  170. nginx:
  171. container: true
  172. repo: "{{ nginx_image_repo }}"
  173. tag: "{{ nginx_image_tag }}"
  174. sha256: "{{ nginx_digest_checksum|default(None) }}"
  175. dnsmasq:
  176. container: true
  177. repo: "{{ dnsmasq_image_repo }}"
  178. tag: "{{ dnsmasq_image_tag }}"
  179. sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
  180. kubednsmasq:
  181. container: true
  182. repo: "{{ kubednsmasq_image_repo }}"
  183. tag: "{{ kubednsmasq_image_tag }}"
  184. sha256: "{{ kubednsmasq_digest_checksum|default(None) }}"
  185. kubedns:
  186. container: true
  187. repo: "{{ kubedns_image_repo }}"
  188. tag: "{{ kubedns_image_tag }}"
  189. sha256: "{{ kubedns_digest_checksum|default(None) }}"
  190. testbox:
  191. container: true
  192. repo: "{{ test_image_repo }}"
  193. tag: "{{ test_image_tag }}"
  194. sha256: "{{ testbox_digest_checksum|default(None) }}"
  195. exechealthz:
  196. container: true
  197. repo: "{{ exechealthz_image_repo }}"
  198. tag: "{{ exechealthz_image_tag }}"
  199. sha256: "{{ exechealthz_digest_checksum|default(None) }}"
  200. elasticsearch:
  201. container: true
  202. repo: "{{ elasticsearch_image_repo }}"
  203. tag: "{{ elasticsearch_image_tag }}"
  204. sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
  205. fluentd:
  206. container: true
  207. repo: "{{ fluentd_image_repo }}"
  208. tag: "{{ fluentd_image_tag }}"
  209. sha256: "{{ fluentd_digest_checksum|default(None) }}"
  210. kibana:
  211. container: true
  212. repo: "{{ kibana_image_repo }}"
  213. tag: "{{ kibana_image_tag }}"
  214. sha256: "{{ kibana_digest_checksum|default(None) }}"
  215. download:
  216. container: "{{ file.container|default('false') }}"
  217. repo: "{{ file.repo|default(None) }}"
  218. tag: "{{ file.tag|default(None) }}"
  219. enabled: "{{ file.enabled|default('true') }}"
  220. dest: "{{ file.dest|default(None) }}"
  221. version: "{{ file.version|default(None) }}"
  222. sha256: "{{ file.sha256|default(None) }}"
  223. source_url: "{{ file.source_url|default(None) }}"
  224. url: "{{ file.url|default(None) }}"
  225. unarchive: "{{ file.unarchive|default('false') }}"
  226. owner: "{{ file.owner|default('kube') }}"
  227. mode: "{{ file.mode|default(None) }}"