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.

236 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. etcd_version: v3.0.6
  18. #TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  19. # after migration to container download
  20. calico_version: "v1.0.2"
  21. calico_cni_version: "v1.5.6"
  22. calico_policy_version: "v0.5.2"
  23. weave_version: 1.8.2
  24. flannel_version: v0.6.2
  25. pod_infra_version: 3.0
  26. # Download URL's
  27. etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
  28. # Checksums
  29. etcd_checksum: "385afd518f93e3005510b7aaa04d38ee4a39f06f5152cd33bb86d4f0c94c7485"
  30. # Containers
  31. # Possible values: host, docker
  32. etcd_deployment_type: "docker"
  33. etcd_image_repo: "quay.io/coreos/etcd"
  34. etcd_image_tag: "{{ etcd_version }}"
  35. flannel_image_repo: "quay.io/coreos/flannel"
  36. flannel_image_tag: "{{ flannel_version }}"
  37. calicoctl_image_repo: "calico/ctl"
  38. calicoctl_image_tag: "{{ calico_version }}"
  39. calico_node_image_repo: "calico/node"
  40. calico_node_image_tag: "{{ calico_version }}"
  41. calico_cni_image_repo: "calico/cni"
  42. calico_cni_image_tag: "{{ calico_cni_version }}"
  43. calico_policy_image_repo: "calico/kube-policy-controller"
  44. calico_policy_image_tag: "{{ calico_policy_version }}"
  45. # TODO(adidenko): switch to "calico/routereflector" when
  46. # https://github.com/projectcalico/calico-bird/pull/27 is merged
  47. calico_rr_image_repo: "quay.io/l23network/routereflector"
  48. calico_rr_image_tag: "v0.1"
  49. exechealthz_version: 1.1
  50. exechealthz_image_repo: "gcr.io/google_containers/exechealthz-amd64"
  51. exechealthz_image_tag: "{{ exechealthz_version }}"
  52. hyperkube_image_repo: "quay.io/coreos/hyperkube"
  53. hyperkube_image_tag: "{{ kube_version }}_coreos.0"
  54. pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
  55. pod_infra_image_tag: "{{ pod_infra_version }}"
  56. netcheck_tag: "v1.0"
  57. netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
  58. netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
  59. weave_kube_image_repo: "weaveworks/weave-kube"
  60. weave_kube_image_tag: "{{ weave_version }}"
  61. weave_npc_image_repo: "weaveworks/weave-npc"
  62. weave_npc_image_tag: "{{ weave_version }}"
  63. nginx_image_repo: nginx
  64. nginx_image_tag: 1.11.4-alpine
  65. dnsmasq_version: 2.72
  66. dnsmasq_image_repo: "andyshinn/dnsmasq"
  67. dnsmasq_image_tag: "{{ dnsmasq_version }}"
  68. kubednsmasq_version: 1.3
  69. kubednsmasq_image_repo: "gcr.io/google_containers/kube-dnsmasq-amd64"
  70. kubednsmasq_image_tag: "{{ kubednsmasq_version }}"
  71. kubedns_version: 1.7
  72. kubedns_image_repo: "gcr.io/google_containers/kubedns-amd64"
  73. kubedns_image_tag: "{{ kubedns_version }}"
  74. test_image_repo: busybox
  75. test_image_tag: latest
  76. elasticsearch_version: "v2.4.1"
  77. elasticsearch_image_repo: "gcr.io/google_containers/elasticsearch"
  78. elasticsearch_image_tag: "{{ elasticsearch_version }}"
  79. fluentd_version: "1.22"
  80. fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch"
  81. fluentd_image_tag: "{{ fluentd_version }}"
  82. kibana_version: "v4.6.1"
  83. kibana_image_repo: "gcr.io/google_containers/kibana"
  84. kibana_image_tag: "{{ kibana_version }}"
  85. downloads:
  86. netcheck_server:
  87. container: true
  88. repo: "{{ netcheck_server_img_repo }}"
  89. tag: "{{ netcheck_tag }}"
  90. sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
  91. enabled: "{{ deploy_netchecker|bool }}"
  92. netcheck_agent:
  93. container: true
  94. repo: "{{ netcheck_agent_img_repo }}"
  95. tag: "{{ netcheck_tag }}"
  96. sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
  97. enabled: "{{ deploy_netchecker|bool }}"
  98. etcd:
  99. version: "{{etcd_version}}"
  100. dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
  101. sha256: >-
  102. {%- if etcd_deployment_type in [ 'docker', 'rkt' ] -%}{{etcd_digest_checksum|default(None)}}{%- else -%}{{etcd_checksum}}{%- endif -%}
  103. source_url: "{{ etcd_download_url }}"
  104. url: "{{ etcd_download_url }}"
  105. unarchive: true
  106. owner: "etcd"
  107. mode: "0755"
  108. container: "{{ etcd_deployment_type in [ 'docker', 'rkt' ] }}"
  109. repo: "{{ etcd_image_repo }}"
  110. tag: "{{ etcd_image_tag }}"
  111. hyperkube:
  112. container: true
  113. repo: "{{ hyperkube_image_repo }}"
  114. tag: "{{ hyperkube_image_tag }}"
  115. sha256: "{{ hyperkube_digest_checksum|default(None) }}"
  116. flannel:
  117. container: true
  118. repo: "{{ flannel_image_repo }}"
  119. tag: "{{ flannel_image_tag }}"
  120. sha256: "{{ flannel_digest_checksum|default(None) }}"
  121. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  122. calicoctl:
  123. container: true
  124. repo: "{{ calicoctl_image_repo }}"
  125. tag: "{{ calicoctl_image_tag }}"
  126. sha256: "{{ calicoctl_digest_checksum|default(None) }}"
  127. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  128. calico_node:
  129. container: true
  130. repo: "{{ calico_node_image_repo }}"
  131. tag: "{{ calico_node_image_tag }}"
  132. sha256: "{{ calico_node_digest_checksum|default(None) }}"
  133. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  134. calico_cni:
  135. container: true
  136. repo: "{{ calico_cni_image_repo }}"
  137. tag: "{{ calico_cni_image_tag }}"
  138. sha256: "{{ calico_cni_digest_checksum|default(None) }}"
  139. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  140. calico_policy:
  141. container: true
  142. repo: "{{ calico_policy_image_repo }}"
  143. tag: "{{ calico_policy_image_tag }}"
  144. sha256: "{{ calico_policy_digest_checksum|default(None) }}"
  145. enabled: "{{ kube_network_plugin == 'canal' }}"
  146. calico_rr:
  147. container: true
  148. repo: "{{ calico_rr_image_repo }}"
  149. tag: "{{ calico_rr_image_tag }}"
  150. sha256: "{{ calico_rr_digest_checksum|default(None) }}"
  151. enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
  152. weave_kube:
  153. container: true
  154. repo: "{{ weave_kube_image_repo }}"
  155. tag: "{{ weave_kube_image_tag }}"
  156. sha256: "{{ weave_kube_digest_checksum|default(None) }}"
  157. enabled: "{{ kube_network_plugin == 'weave' }}"
  158. weave_npc:
  159. container: true
  160. repo: "{{ weave_npc_image_repo }}"
  161. tag: "{{ weave_npc_image_tag }}"
  162. sha256: "{{ weave_npc_digest_checksum|default(None) }}"
  163. enabled: "{{ kube_network_plugin == 'weave' }}"
  164. pod_infra:
  165. container: true
  166. repo: "{{ pod_infra_image_repo }}"
  167. tag: "{{ pod_infra_image_tag }}"
  168. sha256: "{{ pod_infra_digest_checksum|default(None) }}"
  169. nginx:
  170. container: true
  171. repo: "{{ nginx_image_repo }}"
  172. tag: "{{ nginx_image_tag }}"
  173. sha256: "{{ nginx_digest_checksum|default(None) }}"
  174. dnsmasq:
  175. container: true
  176. repo: "{{ dnsmasq_image_repo }}"
  177. tag: "{{ dnsmasq_image_tag }}"
  178. sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
  179. kubednsmasq:
  180. container: true
  181. repo: "{{ kubednsmasq_image_repo }}"
  182. tag: "{{ kubednsmasq_image_tag }}"
  183. sha256: "{{ kubednsmasq_digest_checksum|default(None) }}"
  184. kubedns:
  185. container: true
  186. repo: "{{ kubedns_image_repo }}"
  187. tag: "{{ kubedns_image_tag }}"
  188. sha256: "{{ kubedns_digest_checksum|default(None) }}"
  189. testbox:
  190. container: true
  191. repo: "{{ test_image_repo }}"
  192. tag: "{{ test_image_tag }}"
  193. sha256: "{{ testbox_digest_checksum|default(None) }}"
  194. exechealthz:
  195. container: true
  196. repo: "{{ exechealthz_image_repo }}"
  197. tag: "{{ exechealthz_image_tag }}"
  198. sha256: "{{ exechealthz_digest_checksum|default(None) }}"
  199. elasticsearch:
  200. container: true
  201. repo: "{{ elasticsearch_image_repo }}"
  202. tag: "{{ elasticsearch_image_tag }}"
  203. sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
  204. fluentd:
  205. container: true
  206. repo: "{{ fluentd_image_repo }}"
  207. tag: "{{ fluentd_image_tag }}"
  208. sha256: "{{ fluentd_digest_checksum|default(None) }}"
  209. kibana:
  210. container: true
  211. repo: "{{ kibana_image_repo }}"
  212. tag: "{{ kibana_image_tag }}"
  213. sha256: "{{ kibana_digest_checksum|default(None) }}"
  214. download:
  215. container: "{{ file.container|default('false') }}"
  216. repo: "{{ file.repo|default(None) }}"
  217. tag: "{{ file.tag|default(None) }}"
  218. enabled: "{{ file.enabled|default('true') }}"
  219. dest: "{{ file.dest|default(None) }}"
  220. version: "{{ file.version|default(None) }}"
  221. sha256: "{{ file.sha256|default(None) }}"
  222. source_url: "{{ file.source_url|default(None) }}"
  223. url: "{{ file.url|default(None) }}"
  224. unarchive: "{{ file.unarchive|default('false') }}"
  225. owner: "{{ file.owner|default('kube') }}"
  226. mode: "{{ file.mode|default(None) }}"