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.

277 lines
10 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.8.0
  18. kubeadm_version: "{{ kube_version }}"
  19. etcd_version: v3.2.4
  20. # TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
  21. # after migration to container download
  22. calico_version: "v2.5.0"
  23. calico_ctl_version: "v1.5.0"
  24. calico_cni_version: "v1.10.0"
  25. calico_policy_version: "v0.7.0"
  26. weave_version: 2.0.4
  27. flannel_version: "v0.8.0"
  28. flannel_cni_version: "v0.2.0"
  29. pod_infra_version: 3.0
  30. # Download URLs
  31. kubeadm_download_url: "https://storage.googleapis.com/kubernetes-release/release/{{ kubeadm_version }}/bin/linux/amd64/kubeadm"
  32. # Checksums
  33. kubeadm_checksum: "9f4b9cf255d5ef45481d5a1b20bfe84c1d633d67cd50eeaa5c8712fb8fc1bd5b"
  34. # Containers
  35. etcd_image_repo: "quay.io/coreos/etcd"
  36. etcd_image_tag: "{{ etcd_version }}"
  37. flannel_image_repo: "quay.io/coreos/flannel"
  38. flannel_image_tag: "{{ flannel_version }}"
  39. flannel_cni_image_repo: "quay.io/coreos/flannel-cni"
  40. flannel_cni_image_tag: "{{ flannel_cni_version }}"
  41. calicoctl_image_repo: "quay.io/calico/ctl"
  42. calicoctl_image_tag: "{{ calico_ctl_version }}"
  43. calico_node_image_repo: "quay.io/calico/node"
  44. calico_node_image_tag: "{{ calico_version }}"
  45. calico_cni_image_repo: "quay.io/calico/cni"
  46. calico_cni_image_tag: "{{ calico_cni_version }}"
  47. calico_policy_image_repo: "quay.io/calico/kube-policy-controller"
  48. calico_policy_image_tag: "{{ calico_policy_version }}"
  49. calico_rr_image_repo: "quay.io/calico/routereflector"
  50. calico_rr_image_tag: "v0.3.0"
  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. install_socat_image_repo: "xueshanf/install-socat"
  56. install_socat_image_tag: "latest"
  57. netcheck_version: "v1.0"
  58. netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
  59. netcheck_agent_tag: "{{ netcheck_version }}"
  60. netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
  61. netcheck_server_tag: "{{ netcheck_version }}"
  62. weave_kube_image_repo: "weaveworks/weave-kube"
  63. weave_kube_image_tag: "{{ weave_version }}"
  64. weave_npc_image_repo: "weaveworks/weave-npc"
  65. weave_npc_image_tag: "{{ weave_version }}"
  66. nginx_image_repo: nginx
  67. nginx_image_tag: 1.11.4-alpine
  68. dnsmasq_version: 2.78
  69. dnsmasq_image_repo: "andyshinn/dnsmasq"
  70. dnsmasq_image_tag: "{{ dnsmasq_version }}"
  71. kubedns_version: 1.14.5
  72. kubedns_image_repo: "gcr.io/google_containers/k8s-dns-kube-dns-amd64"
  73. kubedns_image_tag: "{{ kubedns_version }}"
  74. dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64"
  75. dnsmasq_nanny_image_tag: "{{ kubedns_version }}"
  76. dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-amd64"
  77. dnsmasq_sidecar_image_tag: "{{ kubedns_version }}"
  78. kubednsautoscaler_version: 1.1.1
  79. kubednsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-amd64"
  80. kubednsautoscaler_image_tag: "{{ kubednsautoscaler_version }}"
  81. test_image_repo: busybox
  82. test_image_tag: latest
  83. elasticsearch_version: "v2.4.1"
  84. elasticsearch_image_repo: "gcr.io/google_containers/elasticsearch"
  85. elasticsearch_image_tag: "{{ elasticsearch_version }}"
  86. fluentd_version: "1.22"
  87. fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch"
  88. fluentd_image_tag: "{{ fluentd_version }}"
  89. kibana_version: "v4.6.1"
  90. kibana_image_repo: "gcr.io/google_containers/kibana"
  91. kibana_image_tag: "{{ kibana_version }}"
  92. helm_version: "v2.2.2"
  93. helm_image_repo: "lachlanevenson/k8s-helm"
  94. helm_image_tag: "{{ helm_version }}"
  95. tiller_version: "{{ helm_version }}"
  96. tiller_image_repo: "gcr.io/kubernetes-helm/tiller"
  97. tiller_image_tag: "{{ tiller_version }}"
  98. downloads:
  99. netcheck_server:
  100. container: true
  101. repo: "{{ netcheck_server_img_repo }}"
  102. tag: "{{ netcheck_server_tag }}"
  103. sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
  104. enabled: "{{ deploy_netchecker|bool }}"
  105. netcheck_agent:
  106. container: true
  107. repo: "{{ netcheck_agent_img_repo }}"
  108. tag: "{{ netcheck_agent_tag }}"
  109. sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
  110. enabled: "{{ deploy_netchecker|bool }}"
  111. etcd:
  112. container: true
  113. repo: "{{ etcd_image_repo }}"
  114. tag: "{{ etcd_image_tag }}"
  115. sha256: "{{ etcd_digest_checksum|default(None) }}"
  116. kubeadm:
  117. version: "{{ kubeadm_version }}"
  118. dest: "kubeadm"
  119. sha256: "{{ kubeadm_checksum }}"
  120. source_url: "{{ kubeadm_download_url }}"
  121. url: "{{ kubeadm_download_url }}"
  122. unarchive: false
  123. owner: "root"
  124. mode: "0755"
  125. hyperkube:
  126. container: true
  127. repo: "{{ hyperkube_image_repo }}"
  128. tag: "{{ hyperkube_image_tag }}"
  129. sha256: "{{ hyperkube_digest_checksum|default(None) }}"
  130. flannel:
  131. container: true
  132. repo: "{{ flannel_image_repo }}"
  133. tag: "{{ flannel_image_tag }}"
  134. sha256: "{{ flannel_digest_checksum|default(None) }}"
  135. enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
  136. flannel_cni:
  137. container: true
  138. repo: "{{ flannel_cni_image_repo }}"
  139. tag: "{{ flannel_cni_image_tag }}"
  140. sha256: "{{ flannel_cni_digest_checksum|default(None) }}"
  141. enabled: "{{ kube_network_plugin == 'flannel' }}"
  142. calicoctl:
  143. container: true
  144. repo: "{{ calicoctl_image_repo }}"
  145. tag: "{{ calicoctl_image_tag }}"
  146. sha256: "{{ calicoctl_digest_checksum|default(None) }}"
  147. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  148. calico_node:
  149. container: true
  150. repo: "{{ calico_node_image_repo }}"
  151. tag: "{{ calico_node_image_tag }}"
  152. sha256: "{{ calico_node_digest_checksum|default(None) }}"
  153. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  154. calico_cni:
  155. container: true
  156. repo: "{{ calico_cni_image_repo }}"
  157. tag: "{{ calico_cni_image_tag }}"
  158. sha256: "{{ calico_cni_digest_checksum|default(None) }}"
  159. enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
  160. calico_policy:
  161. container: true
  162. repo: "{{ calico_policy_image_repo }}"
  163. tag: "{{ calico_policy_image_tag }}"
  164. sha256: "{{ calico_policy_digest_checksum|default(None) }}"
  165. enabled: "{{ kube_network_plugin == 'canal' }}"
  166. calico_rr:
  167. container: true
  168. repo: "{{ calico_rr_image_repo }}"
  169. tag: "{{ calico_rr_image_tag }}"
  170. sha256: "{{ calico_rr_digest_checksum|default(None) }}"
  171. enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
  172. weave_kube:
  173. container: true
  174. repo: "{{ weave_kube_image_repo }}"
  175. tag: "{{ weave_kube_image_tag }}"
  176. sha256: "{{ weave_kube_digest_checksum|default(None) }}"
  177. enabled: "{{ kube_network_plugin == 'weave' }}"
  178. weave_npc:
  179. container: true
  180. repo: "{{ weave_npc_image_repo }}"
  181. tag: "{{ weave_npc_image_tag }}"
  182. sha256: "{{ weave_npc_digest_checksum|default(None) }}"
  183. enabled: "{{ kube_network_plugin == 'weave' }}"
  184. pod_infra:
  185. container: true
  186. repo: "{{ pod_infra_image_repo }}"
  187. tag: "{{ pod_infra_image_tag }}"
  188. sha256: "{{ pod_infra_digest_checksum|default(None) }}"
  189. install_socat:
  190. container: true
  191. repo: "{{ install_socat_image_repo }}"
  192. tag: "{{ install_socat_image_tag }}"
  193. sha256: "{{ install_socat_digest_checksum|default(None) }}"
  194. nginx:
  195. container: true
  196. repo: "{{ nginx_image_repo }}"
  197. tag: "{{ nginx_image_tag }}"
  198. sha256: "{{ nginx_digest_checksum|default(None) }}"
  199. dnsmasq:
  200. container: true
  201. repo: "{{ dnsmasq_image_repo }}"
  202. tag: "{{ dnsmasq_image_tag }}"
  203. sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
  204. kubedns:
  205. container: true
  206. repo: "{{ kubedns_image_repo }}"
  207. tag: "{{ kubedns_image_tag }}"
  208. sha256: "{{ kubedns_digest_checksum|default(None) }}"
  209. dnsmasq_nanny:
  210. container: true
  211. repo: "{{ dnsmasq_nanny_image_repo }}"
  212. tag: "{{ dnsmasq_nanny_image_tag }}"
  213. sha256: "{{ dnsmasq_nanny_digest_checksum|default(None) }}"
  214. dnsmasq_sidecar:
  215. container: true
  216. repo: "{{ dnsmasq_sidecar_image_repo }}"
  217. tag: "{{ dnsmasq_sidecar_image_tag }}"
  218. sha256: "{{ dnsmasq_sidecar_digest_checksum|default(None) }}"
  219. kubednsautoscaler:
  220. container: true
  221. repo: "{{ kubednsautoscaler_image_repo }}"
  222. tag: "{{ kubednsautoscaler_image_tag }}"
  223. sha256: "{{ kubednsautoscaler_digest_checksum|default(None) }}"
  224. testbox:
  225. container: true
  226. repo: "{{ test_image_repo }}"
  227. tag: "{{ test_image_tag }}"
  228. sha256: "{{ testbox_digest_checksum|default(None) }}"
  229. elasticsearch:
  230. container: true
  231. repo: "{{ elasticsearch_image_repo }}"
  232. tag: "{{ elasticsearch_image_tag }}"
  233. sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
  234. fluentd:
  235. container: true
  236. repo: "{{ fluentd_image_repo }}"
  237. tag: "{{ fluentd_image_tag }}"
  238. sha256: "{{ fluentd_digest_checksum|default(None) }}"
  239. kibana:
  240. container: true
  241. repo: "{{ kibana_image_repo }}"
  242. tag: "{{ kibana_image_tag }}"
  243. sha256: "{{ kibana_digest_checksum|default(None) }}"
  244. helm:
  245. container: true
  246. repo: "{{ helm_image_repo }}"
  247. tag: "{{ helm_image_tag }}"
  248. sha256: "{{ helm_digest_checksum|default(None) }}"
  249. tiller:
  250. container: true
  251. repo: "{{ tiller_image_repo }}"
  252. tag: "{{ tiller_image_tag }}"
  253. sha256: "{{ tiller_digest_checksum|default(None) }}"
  254. download:
  255. container: "{{ file.container|default('false') }}"
  256. repo: "{{ file.repo|default(None) }}"
  257. tag: "{{ file.tag|default(None) }}"
  258. enabled: "{{ file.enabled|default('true') }}"
  259. dest: "{{ file.dest|default(None) }}"
  260. version: "{{ file.version|default(None) }}"
  261. sha256: "{{ file.sha256|default(None) }}"
  262. source_url: "{{ file.source_url|default(None) }}"
  263. url: "{{ file.url|default(None) }}"
  264. unarchive: "{{ file.unarchive|default('false') }}"
  265. owner: "{{ file.owner|default('kube') }}"
  266. mode: "{{ file.mode|default(None) }}"