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.

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