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.

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