2015-12-31 21:07:02 +08:00
|
|
|
---
|
2015-12-31 23:05:25 +08:00
|
|
|
local_release_dir: /tmp
|
2015-12-31 21:07:02 +08:00
|
|
|
|
2016-11-18 20:29:03 +08:00
|
|
|
# if this is set to true will only download files once. Doesn't work
|
2017-01-05 18:35:16 +08:00
|
|
|
# on Container Linux by CoreOS unless the download_localhost is true and localhost
|
2017-02-08 18:25:11 +08:00
|
|
|
# is running another OS type. Default compress level is 1 (fastest).
|
2016-05-18 12:30:01 +08:00
|
|
|
download_run_once: False
|
2017-02-08 18:25:11 +08:00
|
|
|
download_compress: 1
|
2016-11-18 20:29:03 +08:00
|
|
|
|
|
|
|
# if this is set to true, uses the localhost for download_run_once mode
|
|
|
|
# (requires docker and sudo to access docker). You may want this option for
|
2017-01-05 18:35:16 +08:00
|
|
|
# local caching of docker images or for Container Linux by CoreOS cluster nodes.
|
2016-11-18 20:29:03 +08:00
|
|
|
# Otherwise, uses the first node in the kube-master group to store images
|
|
|
|
# in the download_run_once mode.
|
|
|
|
download_localhost: False
|
2016-05-18 12:30:01 +08:00
|
|
|
|
2016-12-19 22:50:04 +08:00
|
|
|
# Always pull images if set to True. Otherwise check by the repo's tag/digest.
|
|
|
|
download_always_pull: False
|
|
|
|
|
2016-01-19 22:23:19 +08:00
|
|
|
# Versions
|
2017-08-21 15:53:49 +08:00
|
|
|
kube_version: v1.7.3
|
2017-08-18 22:12:33 +08:00
|
|
|
etcd_version: v3.2.4
|
2017-08-24 17:09:52 +08:00
|
|
|
# TODO(mattymo): Move calico versions to roles/network_plugins/calico/defaults
|
2016-07-04 23:16:18 +08:00
|
|
|
# after migration to container download
|
2017-08-07 23:33:37 +08:00
|
|
|
calico_version: "v2.4.1"
|
|
|
|
calico_ctl_version: "v1.4.0"
|
|
|
|
calico_cni_version: "v1.10.0"
|
|
|
|
calico_policy_version: "v0.7.0"
|
2017-07-27 00:09:34 +08:00
|
|
|
weave_version: 2.0.1
|
2017-07-29 15:54:31 +08:00
|
|
|
flannel_version: v0.8.0
|
2016-10-15 05:46:44 +08:00
|
|
|
pod_infra_version: 3.0
|
2015-12-31 23:05:25 +08:00
|
|
|
|
2016-01-19 22:23:19 +08:00
|
|
|
# Download URL's
|
2016-04-19 23:25:19 +08:00
|
|
|
etcd_download_url: "https://storage.googleapis.com/kargo/{{etcd_version}}_etcd"
|
2015-12-31 23:05:25 +08:00
|
|
|
|
2016-01-19 22:23:19 +08:00
|
|
|
# Checksums
|
2016-08-30 01:09:08 +08:00
|
|
|
etcd_checksum: "385afd518f93e3005510b7aaa04d38ee4a39f06f5152cd33bb86d4f0c94c7485"
|
2016-01-19 22:23:19 +08:00
|
|
|
|
2016-09-14 20:30:57 +08:00
|
|
|
# Containers
|
|
|
|
# Possible values: host, docker
|
|
|
|
etcd_deployment_type: "docker"
|
|
|
|
etcd_image_repo: "quay.io/coreos/etcd"
|
|
|
|
etcd_image_tag: "{{ etcd_version }}"
|
|
|
|
flannel_image_repo: "quay.io/coreos/flannel"
|
|
|
|
flannel_image_tag: "{{ flannel_version }}"
|
2017-08-07 23:33:37 +08:00
|
|
|
calicoctl_image_repo: "quay.io/calico/ctl"
|
|
|
|
calicoctl_image_tag: "{{ calico_ctl_version }}"
|
|
|
|
calico_node_image_repo: "quay.io/calico/node"
|
2016-09-14 20:30:57 +08:00
|
|
|
calico_node_image_tag: "{{ calico_version }}"
|
2017-08-07 23:33:37 +08:00
|
|
|
calico_cni_image_repo: "quay.io/calico/cni"
|
2016-11-03 23:57:11 +08:00
|
|
|
calico_cni_image_tag: "{{ calico_cni_version }}"
|
2017-08-07 23:33:37 +08:00
|
|
|
calico_policy_image_repo: "quay.io/calico/kube-policy-controller"
|
2017-02-10 23:06:31 +08:00
|
|
|
calico_policy_image_tag: "{{ calico_policy_version }}"
|
2017-04-12 09:52:04 +08:00
|
|
|
calico_rr_image_repo: "quay.io/calico/routereflector"
|
|
|
|
calico_rr_image_tag: "v0.3.0"
|
2016-09-14 20:30:57 +08:00
|
|
|
hyperkube_image_repo: "quay.io/coreos/hyperkube"
|
|
|
|
hyperkube_image_tag: "{{ kube_version }}_coreos.0"
|
2016-10-15 05:46:44 +08:00
|
|
|
pod_infra_image_repo: "gcr.io/google_containers/pause-amd64"
|
|
|
|
pod_infra_image_tag: "{{ pod_infra_version }}"
|
2017-04-21 19:00:00 +08:00
|
|
|
netcheck_version: "v1.0"
|
2017-01-19 18:56:14 +08:00
|
|
|
netcheck_agent_img_repo: "quay.io/l23network/k8s-netchecker-agent"
|
2017-04-21 19:00:00 +08:00
|
|
|
netcheck_agent_tag: "{{ netcheck_version }}"
|
2017-01-19 18:56:14 +08:00
|
|
|
netcheck_server_img_repo: "quay.io/l23network/k8s-netchecker-server"
|
2017-04-21 19:00:00 +08:00
|
|
|
netcheck_server_tag: "{{ netcheck_version }}"
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_kube_image_repo: "weaveworks/weave-kube"
|
|
|
|
weave_kube_image_tag: "{{ weave_version }}"
|
|
|
|
weave_npc_image_repo: "weaveworks/weave-npc"
|
|
|
|
weave_npc_image_tag: "{{ weave_version }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
|
2016-11-21 18:20:44 +08:00
|
|
|
nginx_image_repo: nginx
|
|
|
|
nginx_image_tag: 1.11.4-alpine
|
|
|
|
dnsmasq_version: 2.72
|
|
|
|
dnsmasq_image_repo: "andyshinn/dnsmasq"
|
|
|
|
dnsmasq_image_tag: "{{ dnsmasq_version }}"
|
2017-06-16 08:37:55 +08:00
|
|
|
kubedns_version: 1.14.2
|
|
|
|
kubedns_image_repo: "gcr.io/google_containers/k8s-dns-kube-dns-amd64"
|
2016-11-21 18:20:44 +08:00
|
|
|
kubedns_image_tag: "{{ kubedns_version }}"
|
2017-06-16 08:37:55 +08:00
|
|
|
dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64"
|
|
|
|
dnsmasq_nanny_image_tag: "{{ kubedns_version }}"
|
|
|
|
dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-amd64"
|
|
|
|
dnsmasq_sidecar_image_tag: "{{ kubedns_version }}"
|
|
|
|
kubednsautoscaler_version: 1.1.1
|
|
|
|
kubednsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-amd64"
|
|
|
|
kubednsautoscaler_image_tag: "{{ kubednsautoscaler_version }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
test_image_repo: busybox
|
|
|
|
test_image_tag: latest
|
2017-01-27 07:33:01 +08:00
|
|
|
elasticsearch_version: "v2.4.1"
|
|
|
|
elasticsearch_image_repo: "gcr.io/google_containers/elasticsearch"
|
|
|
|
elasticsearch_image_tag: "{{ elasticsearch_version }}"
|
|
|
|
fluentd_version: "1.22"
|
|
|
|
fluentd_image_repo: "gcr.io/google_containers/fluentd-elasticsearch"
|
|
|
|
fluentd_image_tag: "{{ fluentd_version }}"
|
|
|
|
kibana_version: "v4.6.1"
|
|
|
|
kibana_image_repo: "gcr.io/google_containers/kibana"
|
|
|
|
kibana_image_tag: "{{ kibana_version }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
|
2017-03-17 19:56:25 +08:00
|
|
|
helm_version: "v2.2.2"
|
|
|
|
helm_image_repo: "lachlanevenson/k8s-helm"
|
|
|
|
helm_image_tag: "{{ helm_version }}"
|
|
|
|
tiller_version: "{{ helm_version }}"
|
|
|
|
tiller_image_repo: "gcr.io/kubernetes-helm/tiller"
|
|
|
|
tiller_image_tag: "{{ tiller_version }}"
|
|
|
|
|
2015-12-31 23:05:25 +08:00
|
|
|
downloads:
|
2016-09-30 23:23:47 +08:00
|
|
|
netcheck_server:
|
|
|
|
container: true
|
|
|
|
repo: "{{ netcheck_server_img_repo }}"
|
2017-04-21 19:00:00 +08:00
|
|
|
tag: "{{ netcheck_server_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
enabled: "{{ deploy_netchecker|bool }}"
|
|
|
|
netcheck_agent:
|
|
|
|
container: true
|
|
|
|
repo: "{{ netcheck_agent_img_repo }}"
|
2017-04-21 19:00:00 +08:00
|
|
|
tag: "{{ netcheck_agent_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
enabled: "{{ deploy_netchecker|bool }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
etcd:
|
2016-03-05 00:39:02 +08:00
|
|
|
version: "{{etcd_version}}"
|
2016-01-19 22:23:19 +08:00
|
|
|
dest: "etcd/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: >-
|
2016-12-21 07:00:46 +08:00
|
|
|
{%- if etcd_deployment_type in [ 'docker', 'rkt' ] -%}{{etcd_digest_checksum|default(None)}}{%- else -%}{{etcd_checksum}}{%- endif -%}
|
2016-03-05 00:39:02 +08:00
|
|
|
source_url: "{{ etcd_download_url }}"
|
2016-01-19 22:23:19 +08:00
|
|
|
url: "{{ etcd_download_url }}"
|
|
|
|
unarchive: true
|
2016-01-22 23:37:07 +08:00
|
|
|
owner: "etcd"
|
|
|
|
mode: "0755"
|
2016-12-21 07:00:46 +08:00
|
|
|
container: "{{ etcd_deployment_type in [ 'docker', 'rkt' ] }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
repo: "{{ etcd_image_repo }}"
|
|
|
|
tag: "{{ etcd_image_tag }}"
|
|
|
|
hyperkube:
|
|
|
|
container: true
|
|
|
|
repo: "{{ hyperkube_image_repo }}"
|
|
|
|
tag: "{{ hyperkube_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ hyperkube_digest_checksum|default(None) }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
flannel:
|
|
|
|
container: true
|
|
|
|
repo: "{{ flannel_image_repo }}"
|
|
|
|
tag: "{{ flannel_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ flannel_digest_checksum|default(None) }}"
|
2016-11-03 23:57:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
calicoctl:
|
|
|
|
container: true
|
|
|
|
repo: "{{ calicoctl_image_repo }}"
|
|
|
|
tag: "{{ calicoctl_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calicoctl_digest_checksum|default(None) }}"
|
2016-11-03 23:57:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
calico_node:
|
|
|
|
container: true
|
|
|
|
repo: "{{ calico_node_image_repo }}"
|
|
|
|
tag: "{{ calico_node_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calico_node_digest_checksum|default(None) }}"
|
2016-11-03 23:57:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
|
|
|
calico_cni:
|
|
|
|
container: true
|
|
|
|
repo: "{{ calico_cni_image_repo }}"
|
|
|
|
tag: "{{ calico_cni_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calico_cni_digest_checksum|default(None) }}"
|
2016-11-10 18:57:06 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
calico_policy:
|
|
|
|
container: true
|
|
|
|
repo: "{{ calico_policy_image_repo }}"
|
|
|
|
tag: "{{ calico_policy_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calico_policy_digest_checksum|default(None) }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'canal' }}"
|
2016-12-09 00:48:54 +08:00
|
|
|
calico_rr:
|
|
|
|
container: true
|
|
|
|
repo: "{{ calico_rr_image_repo }}"
|
|
|
|
tag: "{{ calico_rr_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calico_rr_digest_checksum|default(None) }}"
|
2016-12-18 03:22:39 +08:00
|
|
|
enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr}} and kube_network_plugin == 'calico'"
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_kube:
|
|
|
|
container: true
|
|
|
|
repo: "{{ weave_kube_image_repo }}"
|
|
|
|
tag: "{{ weave_kube_image_tag }}"
|
|
|
|
sha256: "{{ weave_kube_digest_checksum|default(None) }}"
|
|
|
|
enabled: "{{ kube_network_plugin == 'weave' }}"
|
|
|
|
weave_npc:
|
|
|
|
container: true
|
|
|
|
repo: "{{ weave_npc_image_repo }}"
|
|
|
|
tag: "{{ weave_npc_image_tag }}"
|
|
|
|
sha256: "{{ weave_npc_digest_checksum|default(None) }}"
|
|
|
|
enabled: "{{ kube_network_plugin == 'weave' }}"
|
2016-10-15 05:46:44 +08:00
|
|
|
pod_infra:
|
|
|
|
container: true
|
|
|
|
repo: "{{ pod_infra_image_repo }}"
|
|
|
|
tag: "{{ pod_infra_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ pod_infra_digest_checksum|default(None) }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
nginx:
|
|
|
|
container: true
|
|
|
|
repo: "{{ nginx_image_repo }}"
|
|
|
|
tag: "{{ nginx_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ nginx_digest_checksum|default(None) }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
dnsmasq:
|
|
|
|
container: true
|
|
|
|
repo: "{{ dnsmasq_image_repo }}"
|
|
|
|
tag: "{{ dnsmasq_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ dnsmasq_digest_checksum|default(None) }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
kubedns:
|
|
|
|
container: true
|
|
|
|
repo: "{{ kubedns_image_repo }}"
|
|
|
|
tag: "{{ kubedns_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ kubedns_digest_checksum|default(None) }}"
|
2017-06-16 08:37:55 +08:00
|
|
|
dnsmasq_nanny:
|
|
|
|
container: true
|
|
|
|
repo: "{{ dnsmasq_nanny_image_repo }}"
|
|
|
|
tag: "{{ dnsmasq_nanny_image_tag }}"
|
|
|
|
sha256: "{{ dnsmasq_nanny_digest_checksum|default(None) }}"
|
|
|
|
dnsmasq_sidecar:
|
|
|
|
container: true
|
|
|
|
repo: "{{ dnsmasq_sidecar_image_repo }}"
|
|
|
|
tag: "{{ dnsmasq_sidecar_image_tag }}"
|
|
|
|
sha256: "{{ dnsmasq_sidecar_digest_checksum|default(None) }}"
|
|
|
|
kubednsautoscaler:
|
|
|
|
container: true
|
|
|
|
repo: "{{ kubednsautoscaler_image_repo }}"
|
|
|
|
tag: "{{ kubednsautoscaler_image_tag }}"
|
|
|
|
sha256: "{{ kubednsautoscaler_digest_checksum|default(None) }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
testbox:
|
|
|
|
container: true
|
|
|
|
repo: "{{ test_image_repo }}"
|
|
|
|
tag: "{{ test_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ testbox_digest_checksum|default(None) }}"
|
2017-01-27 07:33:01 +08:00
|
|
|
elasticsearch:
|
|
|
|
container: true
|
|
|
|
repo: "{{ elasticsearch_image_repo }}"
|
|
|
|
tag: "{{ elasticsearch_image_tag }}"
|
|
|
|
sha256: "{{ elasticsearch_digest_checksum|default(None) }}"
|
|
|
|
fluentd:
|
|
|
|
container: true
|
|
|
|
repo: "{{ fluentd_image_repo }}"
|
|
|
|
tag: "{{ fluentd_image_tag }}"
|
|
|
|
sha256: "{{ fluentd_digest_checksum|default(None) }}"
|
|
|
|
kibana:
|
|
|
|
container: true
|
|
|
|
repo: "{{ kibana_image_repo }}"
|
|
|
|
tag: "{{ kibana_image_tag }}"
|
|
|
|
sha256: "{{ kibana_digest_checksum|default(None) }}"
|
2017-03-17 19:56:25 +08:00
|
|
|
helm:
|
|
|
|
container: true
|
|
|
|
repo: "{{ helm_image_repo }}"
|
|
|
|
tag: "{{ helm_image_tag }}"
|
|
|
|
sha256: "{{ helm_digest_checksum|default(None) }}"
|
|
|
|
tiller:
|
|
|
|
container: true
|
|
|
|
repo: "{{ tiller_image_repo }}"
|
|
|
|
tag: "{{ tiller_image_tag }}"
|
|
|
|
sha256: "{{ tiller_digest_checksum|default(None) }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
|
|
|
|
download:
|
2016-09-14 20:30:57 +08:00
|
|
|
container: "{{ file.container|default('false') }}"
|
|
|
|
repo: "{{ file.repo|default(None) }}"
|
|
|
|
tag: "{{ file.tag|default(None) }}"
|
2016-05-23 06:25:52 +08:00
|
|
|
enabled: "{{ file.enabled|default('true') }}"
|
|
|
|
dest: "{{ file.dest|default(None) }}"
|
|
|
|
version: "{{ file.version|default(None) }}"
|
|
|
|
sha256: "{{ file.sha256|default(None) }}"
|
|
|
|
source_url: "{{ file.source_url|default(None) }}"
|
|
|
|
url: "{{ file.url|default(None) }}"
|
|
|
|
unarchive: "{{ file.unarchive|default('false') }}"
|
|
|
|
owner: "{{ file.owner|default('kube') }}"
|
|
|
|
mode: "{{ file.mode|default(None) }}"
|