2015-12-31 21:07:02 +08:00
|
|
|
---
|
2018-02-22 00:35:34 +08:00
|
|
|
local_release_dir: /tmp/releases
|
2015-12-31 21:07:02 +08:00
|
|
|
|
2017-10-19 16:17:11 +08:00
|
|
|
# Used to only evaluate vars from download role
|
|
|
|
skip_downloads: false
|
|
|
|
|
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
|
|
|
|
2018-08-04 18:01:35 +08:00
|
|
|
# if this is set to true will download container
|
|
|
|
download_container: True
|
|
|
|
|
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
|
|
|
|
|
2018-09-21 17:51:17 +08:00
|
|
|
# Some problems may occur when downloading files over https proxy due to ansible bug
|
|
|
|
# https://github.com/ansible/ansible/issues/32750. Set this variable to False to disable
|
|
|
|
# SSL validation of get_url module. Note that kubespray will still be performing checksum validation.
|
|
|
|
download_validate_certs: True
|
|
|
|
|
2017-10-19 16:17:11 +08:00
|
|
|
# Use the first kube-master if download_localhost is not set
|
|
|
|
download_delegate: "{% if download_localhost %}localhost{% else %}{{groups['kube-master'][0]}}{% endif %}"
|
|
|
|
|
2017-12-18 16:12:47 +08:00
|
|
|
# Arch of Docker images and needed packages
|
2018-08-20 22:07:27 +08:00
|
|
|
image_arch: "{{host_architecture | default('amd64')}}"
|
2017-12-18 16:12:47 +08:00
|
|
|
|
2016-01-19 22:23:19 +08:00
|
|
|
# Versions
|
2019-04-12 03:52:43 +08:00
|
|
|
kube_version: v1.13.5
|
2017-10-05 17:51:21 +08:00
|
|
|
kubeadm_version: "{{ kube_version }}"
|
2019-04-08 15:34:25 +08:00
|
|
|
etcd_version: v3.2.26
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-10-16 22:26:04 +08:00
|
|
|
# kubernetes image repo define
|
|
|
|
kube_image_repo: "gcr.io/google-containers"
|
|
|
|
|
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
|
2019-01-29 03:03:49 +08:00
|
|
|
calico_version: "v3.4.0"
|
|
|
|
calico_ctl_version: "v3.4.0"
|
|
|
|
calico_cni_version: "v3.4.0"
|
|
|
|
calico_policy_version: "v3.4.0"
|
2018-08-23 22:17:18 +08:00
|
|
|
calico_rr_version: "v0.6.1"
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2019-02-07 20:33:01 +08:00
|
|
|
flannel_version: "v0.11.0"
|
2017-10-26 17:18:06 +08:00
|
|
|
flannel_cni_version: "v0.3.0"
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-12-03 18:22:17 +08:00
|
|
|
cni_version: "v0.6.0"
|
|
|
|
|
2019-02-26 12:02:00 +08:00
|
|
|
weave_version: 2.5.1
|
2018-09-06 14:15:51 +08:00
|
|
|
pod_infra_version: 3.1
|
2018-09-17 22:45:05 +08:00
|
|
|
contiv_version: 1.2.1
|
2018-10-31 15:42:56 +08:00
|
|
|
cilium_version: "v1.3.0"
|
2019-04-09 18:37:04 +08:00
|
|
|
kube_router_version: "v0.2.5"
|
2018-11-04 17:07:38 +08:00
|
|
|
multus_version: "v3.1.autoconf"
|
2015-12-31 23:05:25 +08:00
|
|
|
|
2017-09-14 02:00:51 +08:00
|
|
|
# Download URLs
|
2017-12-18 16:12:47 +08:00
|
|
|
kubeadm_download_url: "https://storage.googleapis.com/kubernetes-release/release/{{ kubeadm_version }}/bin/linux/{{ image_arch }}/kubeadm"
|
2019-01-04 16:40:19 +08:00
|
|
|
hyperkube_download_url: "https://storage.googleapis.com/kubernetes-release/release/{{ kube_version }}/bin/linux/{{ image_arch }}/hyperkube"
|
|
|
|
etcd_download_url: "https://github.com/coreos/etcd/releases/download/{{ etcd_version }}/etcd-{{ etcd_version }}-linux-{{ image_arch }}.tar.gz"
|
2018-12-03 18:22:17 +08:00
|
|
|
cni_download_url: "https://github.com/containernetworking/plugins/releases/download/{{ cni_version }}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
2015-12-31 23:05:25 +08:00
|
|
|
|
2016-01-19 22:23:19 +08:00
|
|
|
# Checksums
|
2018-09-18 00:02:30 +08:00
|
|
|
hyperkube_checksums:
|
2019-02-09 18:08:57 +08:00
|
|
|
arm64:
|
2019-04-01 22:16:33 +08:00
|
|
|
v1.14.0: 708e00a41f6516d525dee00c91ebe3c3bf2feaf9b7f0af7689487e3e17e356c2
|
2019-03-27 18:16:21 +08:00
|
|
|
v1.13.5: 8ffd84ba0cb6382a0ff96000458db8a83c92cac09458defe8496f0f0e155a6a8
|
2019-03-07 15:16:56 +08:00
|
|
|
v1.13.4: b9e909e388634d103fe5376aafa313bed5e69293383b0c740de4fe8e18d42d12
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.13.3: 588037923b7f4090f5f7a3de23ea49a10345295f0b39bd0c1ebdaa24eaa76731
|
2019-02-28 21:55:19 +08:00
|
|
|
v1.13.2: 7f2c2b0c6dcc81102a89fa41957db214416fc8a0cfae664fc0e150a7d3ad337b
|
|
|
|
v1.13.1: 66205d99ec93090c6d814ab1de7c38cd84257d3dcf3a957618fad5878caea13d
|
|
|
|
v1.13.0: 4391ea0d8d472c1737f1ce945756bf2a11395c708824c780d1a44fbddf031e59
|
|
|
|
v1.12.6: 29036599f173ceeab2c72dff589aa02d5a55b45143c70de7c08cdea75a282bc2
|
|
|
|
v1.12.5: 0b953f2d564d2f9298f3fc3ad6279cf4b18c1c967ebd2d542b79dda54e3aa27a
|
|
|
|
v1.12.4: f66fc2c945c757d6b34cdd654c3d951f74f366026f9af0dd10eb64e482584811
|
|
|
|
v1.12.3: a6142356fdbc8915cb474437355f809d987f6b983e21081dc3e18ea86c76bf85
|
|
|
|
v1.12.2: 81e6fdd4e3ed8687a37d9b1830aa43d508fb7d5061c81cb2576a17077382b614
|
|
|
|
v1.12.1: 6863440b5516c94f48a3a23bf325a007af09f5412f335444e204bc4b09fbad2a
|
|
|
|
v1.12.0: 3eb06e2344ea5e4988fdda168627319e7b10665f7f9fc9d96c477ccb39d0b061
|
2019-02-09 18:08:57 +08:00
|
|
|
amd64:
|
2019-04-01 22:16:33 +08:00
|
|
|
v1.14.0: af8b04504365dbe4ce6a1772f42eb390d4221a21149b522fc8a0c4b1cd3d97aa
|
2019-03-27 18:16:21 +08:00
|
|
|
v1.13.5: 1a8a357ebfeab8ec62d0c6f11b59df1a93d6711c3a16e1501da32b55c144c73a
|
2019-03-07 15:16:56 +08:00
|
|
|
v1.13.4: 6f2d755a350efec8b3b29e0ddf8362f60475cc10d42dea37f8f2159f7776867b
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.13.3: b238c772b5e4b9deed0cdc695fe86324660d037b38c6d6d7eeae7d7a657840c7
|
|
|
|
v1.13.2: f159b587ec80ad03bf3b9bb09de5d64b773d01b0e34f2a4f1c816879c56aae6d
|
|
|
|
v1.13.1: f64c4328d3853f3e5680e7d296b0f3ed25e67ff98321867309edea100ebb4fd7
|
|
|
|
v1.13.0: 754f1baae5dc2ba29afc66e1f5d3b676ee59cd5c40ccce813092408d53bde3d9
|
2019-02-28 21:55:19 +08:00
|
|
|
v1.12.6: eb7bd0c21977bca7071c65fa0ef60d5e09c9e9a16c4fd8435be5bd7f5b0d1221
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.12.5: f8b651816b2caa33e8b25a666e5c370e9786356d59f89579bba772f28370ed00
|
|
|
|
v1.12.4: a4697d8f3791f0408fcdb97b3de187e47d7b39a63332c75f68f95e25f4891cc9
|
|
|
|
v1.12.3: 600aad3f0d016716abd85931239806193ffbe95f2edfdcea11532d518ae5cdb1
|
|
|
|
v1.12.2: 566dfed398c20c9944f8999d6370cb584cb8c228b3c5881137b6b3d9306e4b06
|
|
|
|
v1.12.1: 4aa23cfb2fc2e2e4d0cbe0d83a648c38e4baabd6c66f5cdbbb40cbc7582fdc74
|
|
|
|
v1.12.0: f80336201f3152a5307c01f8a7206847398dde15c69b3d20c76a7d9520b60daf
|
2018-09-18 00:02:30 +08:00
|
|
|
kubeadm_checksums:
|
2019-02-09 18:08:57 +08:00
|
|
|
arm64:
|
2019-04-01 22:16:33 +08:00
|
|
|
v1.14.0: 7ed9d706e50cd6d3fc618a7af3d19b691b8a5343ddedaeccb4ea09af3ecfae2c
|
2019-03-27 18:16:21 +08:00
|
|
|
v1.13.5: 59a1995c171e5c1e74f5d02657eb2c155706f2d159ec1847b64dc866228c40d2
|
2019-03-07 15:16:56 +08:00
|
|
|
v1.13.4: 4de71d4cfa4dc64127148d48f3a1a1fa7ea24cf0c4fa42957459d0e7f9c03799
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.13.3: bef1cbc2d199d32a1a31e70b864dc539b24e3c1cb87b50a1295cf03bec4832b0
|
2019-02-28 21:55:19 +08:00
|
|
|
v1.13.2: 08279a3bfeff8c4f6768d6fd92ceff8276a555f9e81bf9d541112fc8eb29963e
|
|
|
|
v1.13.1: 0f5c2c8a1ffe235785c0a38c9a6530d3d9e67b00e9a07c9d5dca4c36ede2e078
|
|
|
|
v1.13.0: efc2669952b05161e181f0805bb0647308891259528a4868e69f4b1b68c70489
|
|
|
|
v1.12.6: 2552b6b623c0c390d495e1fcfbecbebb2ca8853bce4011ce9b9dc3f1763a9b2b
|
|
|
|
v1.12.5: f8b212c4a63d28e800a312c3785a62650c3c5bb26326e414d59e1a548d68fbae
|
|
|
|
v1.12.4: 929ec24bee4d7645a18b157d6987554a131fde8d1efb704391bdfe81e6dcf1d4
|
|
|
|
v1.12.3: e9e54a553447391de59a21d3da5b58d61d3431877de194434b4ae6544594009e
|
|
|
|
v1.12.2: 2230dfabd76a4d0888facccb3ec3c802b658e835aaa817cbce2310d3f8533fc4
|
|
|
|
v1.12.1: 226b9026ef913e98c2966503fde6973e3e33b5621e9c240667093dcb786bd811
|
|
|
|
v1.12.0: c0d4a75615791e6880d051d6d601eb703e0ac3ec64f94f156b76351368b2eb9c
|
2019-02-09 18:08:57 +08:00
|
|
|
amd64:
|
2019-04-01 22:16:33 +08:00
|
|
|
v1.14.0: 03678f49ee4737f8b8c4f59ace0d140a36ffbc4f6035c59561f59f45b57d0c93
|
2019-03-27 18:16:21 +08:00
|
|
|
v1.13.5: 274bf887039a9993e30f96047a4a474c39e8471c4094acb75aea6beed793f079
|
2019-03-07 15:16:56 +08:00
|
|
|
v1.13.4: c4300d1f3ebccad48c8e267e45a736c7d227b0e45ef36582fa8dcfe2ef7b1b10
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.13.3: ab767ea53e45aceba628977ef6c8c62eace72d6d232efeaf35ac50cbea5f3739
|
|
|
|
v1.13.2: 7cb0ce57c1e6e2d85e05de3780a2f35a191fe93f89cfc5816b424efcf39834b9
|
|
|
|
v1.13.1: 438173bfa0b7014ecae994c5b9e1f27e1328ab971a3fdb06a393a8095a176ba0
|
|
|
|
v1.13.0: f5366206416dc4cfc840a7add2289957b56ccc479cc1b74f7397a4df995d6b06
|
2019-02-28 21:55:19 +08:00
|
|
|
v1.12.6: 9048031930be9cb0506940c04f6ce67408d9caa9384b32d65d7aa5b6f1ad58ec
|
2019-02-09 18:08:57 +08:00
|
|
|
v1.12.5: d61730b3deb4d9825af0cc1e452a4be2292400507128279770c39669f6599af9
|
|
|
|
v1.12.4: 674ad5892ff2403f492c9042c3cea3fa0bfa3acf95bc7d1777c3645f0ddf64d7
|
|
|
|
v1.12.3: c675aa3be82754b3f8dfdde2a1526a72986713312d46d898e65cb564c6aa8ad4
|
|
|
|
v1.12.2: 51bc4bfd1d934a27245111c0ad1f793d5147ed15389415a1509502f23fcfa642
|
|
|
|
v1.12.1: 5d95efd65aad398d85a9802799f36410ae7a95f9cbe73c8b10d2213c10a6d7be
|
|
|
|
v1.12.0: 463fb058b7fa2591fb01f29f2451b054f6cbaa0f8a20394b4a4eb5d68473176f
|
|
|
|
|
|
|
|
etcd_binary_checksums:
|
2019-04-08 15:34:25 +08:00
|
|
|
arm64: c219b254ece7d7e308ae41569fa240dbae2de460bed818ee39b408b73f6360ef
|
|
|
|
amd64: 127d4f2097c09d929beb9d3784590cc11102f4b4d4d4da7ad82d5c9e856afd38
|
2019-02-09 18:08:57 +08:00
|
|
|
cni_binary_checksums:
|
|
|
|
arm64: 016bbc989877e35e3cd49fafe11415fb2717e52c74fde6b1650411154cb91b81
|
|
|
|
amd64: f04339a21b8edf76d415e7f17b620e63b8f37a76b2f706671587ab6464411f2d
|
|
|
|
|
|
|
|
etcd_binary_checksum: "{{ etcd_binary_checksums[image_arch] }}"
|
|
|
|
cni_binary_checksum: "{{ cni_binary_checksums[image_arch] }}"
|
|
|
|
hyperkube_binary_checksum: "{{ hyperkube_checksums[image_arch][kube_version] }}"
|
|
|
|
kubeadm_binary_checksum: "{{ kubeadm_checksums[image_arch][kubeadm_version] }}"
|
2017-10-19 16:17:11 +08:00
|
|
|
|
2016-09-14 20:30:57 +08:00
|
|
|
# Containers
|
2018-09-09 10:51:35 +08:00
|
|
|
# In some cases, we need a way to set --registry-mirror or --insecure-registry for docker,
|
|
|
|
# it helps a lot for local private development or bare metal environment.
|
|
|
|
# So you need define --registry-mirror or --insecure-registry, and modify the following url address.
|
|
|
|
# example:
|
|
|
|
# You need to deploy kubernetes cluster on local private development.
|
|
|
|
# Also provide the address of your own private registry.
|
|
|
|
# And use --insecure-registry options for docker
|
2016-09-14 20:30:57 +08:00
|
|
|
etcd_image_repo: "quay.io/coreos/etcd"
|
2018-08-20 22:07:27 +08:00
|
|
|
etcd_image_tag: "{{ etcd_version }}{%- if image_arch != 'amd64' -%}-{{ image_arch }}{%- endif -%}"
|
2016-09-14 20:30:57 +08:00
|
|
|
flannel_image_repo: "quay.io/coreos/flannel"
|
|
|
|
flannel_image_tag: "{{ flannel_version }}"
|
2017-08-25 15:07:50 +08:00
|
|
|
flannel_cni_image_repo: "quay.io/coreos/flannel-cni"
|
|
|
|
flannel_cni_image_tag: "{{ flannel_cni_version }}"
|
2019-04-04 16:20:49 +08:00
|
|
|
calicoctl_image_repo: "docker.io/calico/ctl"
|
|
|
|
calicoctl_image_tag: "{{ calico_ctl_version }}"
|
|
|
|
calico_node_image_repo: "docker.io/calico/node"
|
|
|
|
calico_node_image_tag: "{{ calico_version }}"
|
|
|
|
calico_cni_image_repo: "docker.io/calico/cni"
|
|
|
|
calico_cni_image_tag: "{{ calico_cni_version }}"
|
|
|
|
calico_policy_image_repo: "docker.io/calico/kube-controllers"
|
|
|
|
calico_policy_image_tag: "{{ calico_policy_version }}"
|
|
|
|
calico_rr_image_repo: "docker.io/calico/routereflector"
|
|
|
|
calico_rr_image_tag: "{{ calico_rr_version }}"
|
2017-12-18 16:12:47 +08:00
|
|
|
pod_infra_image_repo: "gcr.io/google_containers/pause-{{ image_arch }}"
|
2016-10-15 05:46:44 +08:00
|
|
|
pod_infra_image_tag: "{{ pod_infra_version }}"
|
2017-09-04 16:30:18 +08:00
|
|
|
install_socat_image_repo: "xueshanf/install-socat"
|
|
|
|
install_socat_image_tag: "latest"
|
2018-11-15 01:27:45 +08:00
|
|
|
netcheck_version: "v1.0"
|
|
|
|
netcheck_agent_image_repo: "quay.io/l23network/k8s-netchecker-agent"
|
2018-09-30 11:44:01 +08:00
|
|
|
netcheck_agent_image_tag: "{{ netcheck_version }}"
|
2018-11-15 01:27:45 +08:00
|
|
|
netcheck_server_image_repo: "quay.io/l23network/k8s-netchecker-server"
|
2018-09-30 11:44:01 +08:00
|
|
|
netcheck_server_image_tag: "{{ netcheck_version }}"
|
2018-09-17 17:09:19 +08:00
|
|
|
weave_kube_image_repo: "docker.io/weaveworks/weave-kube"
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_kube_image_tag: "{{ weave_version }}"
|
2018-09-17 17:09:19 +08:00
|
|
|
weave_npc_image_repo: "docker.io/weaveworks/weave-npc"
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_npc_image_tag: "{{ weave_version }}"
|
contiv network support (#1914)
* Add Contiv support
Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.
* Update contiv version to 1.1.4
Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.
* Load openvswitch module to workaround on CentOS7.4
* Set contiv cni version to 0.1.0
Correct contiv CNI version to 0.1.0.
* Use kube_apiserver_endpoint for K8S_API_SERVER
Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.
* Make contiv use its own etcd
Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.
* Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.
* Make contiv-etcd able to run on master nodes
* Add rbac_enabled flag for contiv pods
* Add contiv into CNI network plugin lists
* migrate contiv test to tests/files
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
* Add required rules for contiv netplugin
* Better handling json return of fwdMode
* Make contiv etcd port configurable
* Use default var instead of templating
* roles/download/defaults/main.yml: use contiv 1.1.7
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-11-29 22:24:16 +08:00
|
|
|
contiv_image_repo: "contiv/netplugin"
|
|
|
|
contiv_image_tag: "{{ contiv_version }}"
|
2018-09-17 22:45:05 +08:00
|
|
|
contiv_init_image_repo: "contiv/netplugin-init"
|
|
|
|
contiv_init_image_tag: "latest"
|
contiv network support (#1914)
* Add Contiv support
Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.
* Update contiv version to 1.1.4
Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.
* Load openvswitch module to workaround on CentOS7.4
* Set contiv cni version to 0.1.0
Correct contiv CNI version to 0.1.0.
* Use kube_apiserver_endpoint for K8S_API_SERVER
Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.
* Make contiv use its own etcd
Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.
* Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.
* Make contiv-etcd able to run on master nodes
* Add rbac_enabled flag for contiv pods
* Add contiv into CNI network plugin lists
* migrate contiv test to tests/files
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
* Add required rules for contiv netplugin
* Better handling json return of fwdMode
* Make contiv etcd port configurable
* Use default var instead of templating
* roles/download/defaults/main.yml: use contiv 1.1.7
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-11-29 22:24:16 +08:00
|
|
|
contiv_auth_proxy_image_repo: "contiv/auth_proxy"
|
|
|
|
contiv_auth_proxy_image_tag: "{{ contiv_version }}"
|
2018-05-29 23:05:33 +08:00
|
|
|
contiv_etcd_init_image_repo: "ferest/etcd-initer"
|
|
|
|
contiv_etcd_init_image_tag: latest
|
2018-09-17 22:45:05 +08:00
|
|
|
contiv_ovs_image_repo: "contiv/ovs"
|
|
|
|
contiv_ovs_image_tag: "latest"
|
2018-02-17 11:37:47 +08:00
|
|
|
cilium_image_repo: "docker.io/cilium/cilium"
|
|
|
|
cilium_image_tag: "{{ cilium_version }}"
|
2018-12-18 16:34:19 +08:00
|
|
|
cilium_init_image_repo: "docker.io/library/busybox"
|
|
|
|
cilium_init_image_tag: "1.28.4"
|
2019-04-09 18:37:04 +08:00
|
|
|
kube_router_image_repo: "docker.io/cloudnativelabs/kube-router"
|
2018-10-16 22:15:05 +08:00
|
|
|
kube_router_image_tag: "{{ kube_router_version }}"
|
2018-11-04 17:07:38 +08:00
|
|
|
multus_image_repo: "docker.io/nfvpe/multus"
|
|
|
|
multus_image_tag: "{{ multus_version }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
nginx_image_repo: nginx
|
2019-04-08 17:02:29 +08:00
|
|
|
nginx_image_tag: 1.15
|
2018-08-21 23:53:23 +08:00
|
|
|
|
2019-04-10 20:56:18 +08:00
|
|
|
haproxy_image_repo: haproxy
|
|
|
|
haproxy_image_tag: 1.9
|
|
|
|
|
2019-04-11 04:40:08 +08:00
|
|
|
coredns_version: "1.5.0"
|
2018-11-01 21:05:17 +08:00
|
|
|
coredns_image_repo: "coredns/coredns"
|
2018-11-13 16:30:29 +08:00
|
|
|
coredns_image_tag: "{{ coredns_version }}"
|
2018-08-21 23:53:23 +08:00
|
|
|
|
2019-01-28 17:57:40 +08:00
|
|
|
nodelocaldns_version: "1.15.1"
|
2018-12-11 09:28:03 +08:00
|
|
|
nodelocaldns_image_repo: "k8s.gcr.io/k8s-dns-node-cache"
|
|
|
|
nodelocaldns_image_tag: "{{ nodelocaldns_version }}"
|
|
|
|
|
2019-04-04 15:36:51 +08:00
|
|
|
dnsautoscaler_version: 1.4.0
|
|
|
|
dnsautoscaler_image_repo: "k8s.gcr.io/cluster-proportional-autoscaler-{{ image_arch }}"
|
2018-11-15 17:28:03 +08:00
|
|
|
dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
test_image_repo: busybox
|
|
|
|
test_image_tag: latest
|
2018-10-16 22:15:05 +08:00
|
|
|
busybox_image_repo: busybox
|
|
|
|
busybox_image_tag: 1.29.2
|
2019-04-07 22:04:25 +08:00
|
|
|
helm_version: "v2.13.1"
|
2017-03-17 19:56:25 +08:00
|
|
|
helm_image_repo: "lachlanevenson/k8s-helm"
|
|
|
|
helm_image_tag: "{{ helm_version }}"
|
|
|
|
tiller_image_repo: "gcr.io/kubernetes-helm/tiller"
|
2017-11-28 22:52:42 +08:00
|
|
|
tiller_image_tag: "{{ helm_version }}"
|
2018-11-11 00:51:24 +08:00
|
|
|
|
2018-03-31 18:57:00 +08:00
|
|
|
registry_image_repo: "registry"
|
|
|
|
registry_image_tag: "2.6"
|
|
|
|
registry_proxy_image_repo: "gcr.io/google_containers/kube-registry-proxy"
|
|
|
|
registry_proxy_image_tag: "0.4"
|
2018-11-23 16:36:21 +08:00
|
|
|
metrics_server_version: "v0.3.1"
|
|
|
|
metrics_server_image_repo: "k8s.gcr.io/metrics-server-amd64"
|
|
|
|
metrics_server_image_tag: "{{ metrics_server_version }}"
|
2018-03-31 19:25:05 +08:00
|
|
|
local_volume_provisioner_image_repo: "quay.io/external_storage/local-volume-provisioner"
|
2018-08-10 22:14:34 +08:00
|
|
|
local_volume_provisioner_image_tag: "v2.1.0"
|
2018-07-08 00:37:08 +08:00
|
|
|
cephfs_provisioner_image_repo: "quay.io/external_storage/cephfs-provisioner"
|
2018-09-02 11:51:28 +08:00
|
|
|
cephfs_provisioner_image_tag: "v2.1.0-k8s1.11"
|
2019-02-26 14:45:30 +08:00
|
|
|
local_path_provisioner_image_repo: "rancher/local-path-provisioner"
|
|
|
|
local_path_provisioner_image_tag: "v0.0.2"
|
2018-03-31 16:04:24 +08:00
|
|
|
ingress_nginx_controller_image_repo: "quay.io/kubernetes-ingress-controller/nginx-ingress-controller"
|
2018-11-30 18:48:50 +08:00
|
|
|
ingress_nginx_controller_image_tag: "0.21.0"
|
2018-11-20 21:13:01 +08:00
|
|
|
cert_manager_version: "v0.5.2"
|
2018-03-28 22:30:00 +08:00
|
|
|
cert_manager_controller_image_repo: "quay.io/jetstack/cert-manager-controller"
|
|
|
|
cert_manager_controller_image_tag: "{{ cert_manager_version }}"
|
2018-11-23 16:36:21 +08:00
|
|
|
addon_resizer_version: "1.8.3"
|
|
|
|
addon_resizer_image_repo: "k8s.gcr.io/addon-resizer"
|
|
|
|
addon_resizer_image_tag: "{{ addon_resizer_version }}"
|
2017-03-17 19:56:25 +08:00
|
|
|
|
2018-12-04 02:29:42 +08:00
|
|
|
dashboard_image_repo: "gcr.io/google_containers/kubernetes-dashboard-{{ image_arch }}"
|
2019-01-09 01:46:20 +08:00
|
|
|
dashboard_image_tag: "v1.10.1"
|
2018-12-04 02:29:42 +08:00
|
|
|
|
2015-12-31 23:05:25 +08:00
|
|
|
downloads:
|
2016-09-30 23:23:47 +08:00
|
|
|
netcheck_server:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ deploy_netchecker }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
container: true
|
2018-09-30 11:44:01 +08:00
|
|
|
repo: "{{ netcheck_server_image_repo }}"
|
|
|
|
tag: "{{ netcheck_server_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ netcheck_server_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-09-30 23:23:47 +08:00
|
|
|
netcheck_agent:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ deploy_netchecker }}"
|
2016-09-30 23:23:47 +08:00
|
|
|
container: true
|
2018-09-30 11:44:01 +08:00
|
|
|
repo: "{{ netcheck_agent_image_repo }}"
|
|
|
|
tag: "{{ netcheck_agent_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ netcheck_agent_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-05-23 06:25:52 +08:00
|
|
|
etcd:
|
2018-09-13 22:49:23 +08:00
|
|
|
container: "{{ etcd_deployment_type != 'host' }}"
|
|
|
|
file: "{{ etcd_deployment_type == 'host' }}"
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: true
|
2018-07-30 17:55:25 +08:00
|
|
|
version: "{{ etcd_version }}"
|
2018-10-20 19:56:55 +08:00
|
|
|
dest: "{{local_release_dir}}/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
|
2018-09-13 22:49:23 +08:00
|
|
|
repo: "{{ etcd_image_repo }}"
|
|
|
|
tag: "{{ etcd_image_tag }}"
|
|
|
|
sha256: "{{ etcd_binary_checksum if etcd_deployment_type == 'host' else etcd_digest_checksum|d(None) }}"
|
2018-07-30 17:55:25 +08:00
|
|
|
url: "{{ etcd_download_url }}"
|
|
|
|
unarchive: true
|
|
|
|
owner: "root"
|
|
|
|
mode: "0755"
|
|
|
|
groups:
|
|
|
|
- etcd
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-12-03 18:22:17 +08:00
|
|
|
cni:
|
|
|
|
enabled: true
|
|
|
|
file: true
|
|
|
|
version: "{{ cni_version }}"
|
|
|
|
dest: "{{local_release_dir}}/cni-plugins-{{ image_arch }}-{{ cni_version }}.tgz"
|
|
|
|
sha256: "{{ cni_binary_checksum }}"
|
|
|
|
url: "{{ cni_download_url }}"
|
|
|
|
unarchive: false
|
|
|
|
owner: "root"
|
|
|
|
mode: "0755"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
|
|
|
|
2017-09-14 02:00:51 +08:00
|
|
|
kubeadm:
|
2018-12-06 18:33:38 +08:00
|
|
|
enabled: true
|
2017-10-19 16:17:11 +08:00
|
|
|
file: true
|
2017-09-14 02:00:51 +08:00
|
|
|
version: "{{ kubeadm_version }}"
|
2018-10-20 19:56:55 +08:00
|
|
|
dest: "{{local_release_dir}}/kubeadm"
|
2018-09-13 22:49:23 +08:00
|
|
|
sha256: "{{ kubeadm_binary_checksum }}"
|
2017-09-14 02:00:51 +08:00
|
|
|
url: "{{ kubeadm_download_url }}"
|
|
|
|
unarchive: false
|
|
|
|
owner: "root"
|
|
|
|
mode: "0755"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-07-30 17:55:25 +08:00
|
|
|
hyperkube_file:
|
|
|
|
enabled: true
|
|
|
|
file: true
|
|
|
|
version: "{{ kube_version }}"
|
2018-12-06 18:33:38 +08:00
|
|
|
dest: "{{ local_release_dir }}/hyperkube"
|
2018-09-13 22:49:23 +08:00
|
|
|
sha256: "{{ hyperkube_binary_checksum }}"
|
2018-07-30 17:55:25 +08:00
|
|
|
url: "{{ hyperkube_download_url }}"
|
|
|
|
unarchive: false
|
|
|
|
owner: "root"
|
|
|
|
mode: "0755"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-02-17 11:37:47 +08:00
|
|
|
cilium:
|
|
|
|
enabled: "{{ kube_network_plugin == 'cilium' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ cilium_image_repo }}"
|
|
|
|
tag: "{{ cilium_image_tag }}"
|
|
|
|
sha256: "{{ cilium_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-12-18 16:34:19 +08:00
|
|
|
cilium_init:
|
|
|
|
enabled: "{{ kube_network_plugin == 'cilium' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ cilium_init_image_repo }}"
|
|
|
|
tag: "{{ cilium_init_image_tag }}"
|
|
|
|
sha256: "{{ cilium_init_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
|
|
|
|
2018-11-04 17:07:38 +08:00
|
|
|
multus:
|
|
|
|
enabled: "{{ kube_network_plugin_multus }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ multus_image_repo }}"
|
|
|
|
tag: "{{ multus_image_tag }}"
|
|
|
|
sha256: "{{ multus_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
|
|
|
|
2016-09-14 20:30:57 +08:00
|
|
|
flannel:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'flannel' or kube_network_plugin == 'canal' }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ flannel_image_repo }}"
|
|
|
|
tag: "{{ flannel_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ flannel_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-08-25 15:07:50 +08:00
|
|
|
flannel_cni:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'flannel' }}"
|
2017-08-25 15:07:50 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ flannel_cni_image_repo }}"
|
|
|
|
tag: "{{ flannel_cni_image_tag }}"
|
|
|
|
sha256: "{{ flannel_cni_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-09-14 20:30:57 +08:00
|
|
|
calicoctl:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ calicoctl_image_repo }}"
|
|
|
|
tag: "{{ calicoctl_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ calicoctl_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-09-14 20:30:57 +08:00
|
|
|
calico_node:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
2016-09-14 20:30:57 +08:00
|
|
|
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) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-11-03 23:57:11 +08:00
|
|
|
calico_cni:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'calico' or kube_network_plugin == 'canal' }}"
|
2016-11-03 23:57:11 +08:00
|
|
|
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) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-11-21 18:20:44 +08:00
|
|
|
calico_policy:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ enable_network_policy or kube_network_plugin == 'canal' }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
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) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-12-09 00:48:54 +08:00
|
|
|
calico_rr:
|
2018-03-08 17:04:16 +08:00
|
|
|
enabled: "{{ peer_with_calico_rr is defined and peer_with_calico_rr and kube_network_plugin == 'calico' }}"
|
2016-12-09 00:48:54 +08:00
|
|
|
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) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- calico-rr
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_kube:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'weave' }}"
|
2017-01-10 22:47:39 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ weave_kube_image_repo }}"
|
|
|
|
tag: "{{ weave_kube_image_tag }}"
|
|
|
|
sha256: "{{ weave_kube_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-01-10 22:47:39 +08:00
|
|
|
weave_npc:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ kube_network_plugin == 'weave' }}"
|
2017-01-10 22:47:39 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ weave_npc_image_repo }}"
|
|
|
|
tag: "{{ weave_npc_image_tag }}"
|
|
|
|
sha256: "{{ weave_npc_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
contiv network support (#1914)
* Add Contiv support
Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.
* Update contiv version to 1.1.4
Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.
* Load openvswitch module to workaround on CentOS7.4
* Set contiv cni version to 0.1.0
Correct contiv CNI version to 0.1.0.
* Use kube_apiserver_endpoint for K8S_API_SERVER
Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.
* Make contiv use its own etcd
Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.
* Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.
* Make contiv-etcd able to run on master nodes
* Add rbac_enabled flag for contiv pods
* Add contiv into CNI network plugin lists
* migrate contiv test to tests/files
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
* Add required rules for contiv netplugin
* Better handling json return of fwdMode
* Make contiv etcd port configurable
* Use default var instead of templating
* roles/download/defaults/main.yml: use contiv 1.1.7
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-11-29 22:24:16 +08:00
|
|
|
contiv:
|
|
|
|
enabled: "{{ kube_network_plugin == 'contiv' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ contiv_image_repo }}"
|
|
|
|
tag: "{{ contiv_image_tag }}"
|
|
|
|
sha256: "{{ contiv_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
contiv network support (#1914)
* Add Contiv support
Contiv is a network plugin for Kubernetes and Docker. It supports
vlan/vxlan/BGP/Cisco ACI technologies. It support firewall policies,
multiple networks and bridging pods onto physical networks.
* Update contiv version to 1.1.4
Update contiv version to 1.1.4 and added SVC_SUBNET in contiv-config.
* Load openvswitch module to workaround on CentOS7.4
* Set contiv cni version to 0.1.0
Correct contiv CNI version to 0.1.0.
* Use kube_apiserver_endpoint for K8S_API_SERVER
Use kube_apiserver_endpoint as K8S_API_SERVER to make contiv talks
to a available endpoint no matter if there's a loadbalancer or not.
* Make contiv use its own etcd
Before this commit, contiv is using a etcd proxy mode to k8s etcd,
this work fine when the etcd hosts are co-located with contiv etcd
proxy, however the k8s peering certs are only in etcd group, as a
result the etcd-proxy is not able to peering with the k8s etcd on
etcd group, plus the netplugin is always trying to find the etcd
endpoint on localhost, this will cause problem for all netplugins
not runnign on etcd group nodes.
This commit make contiv uses its own etcd, separate from k8s one.
on kube-master nodes (where net-master runs), it will run as leader
mode and on all rest nodes it will run as proxy mode.
* Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it
to use cp instead.
* Make contiv-etcd able to run on master nodes
* Add rbac_enabled flag for contiv pods
* Add contiv into CNI network plugin lists
* migrate contiv test to tests/files
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
* Add required rules for contiv netplugin
* Better handling json return of fwdMode
* Make contiv etcd port configurable
* Use default var instead of templating
* roles/download/defaults/main.yml: use contiv 1.1.7
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-11-29 22:24:16 +08:00
|
|
|
contiv_auth_proxy:
|
|
|
|
enabled: "{{ kube_network_plugin == 'contiv' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ contiv_auth_proxy_image_repo }}"
|
|
|
|
tag: "{{ contiv_auth_proxy_image_tag }}"
|
|
|
|
sha256: "{{ contiv_auth_proxy_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-05-29 23:05:33 +08:00
|
|
|
contiv_etcd_init:
|
|
|
|
enabled: "{{ kube_network_plugin == 'contiv' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ contiv_etcd_init_image_repo }}"
|
|
|
|
tag: "{{ contiv_etcd_init_image_tag }}"
|
|
|
|
sha256: "{{ contiv_etcd_init_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-10-16 22:15:05 +08:00
|
|
|
kube_router:
|
|
|
|
enabled: "{{ kube_network_plugin == 'kube-router' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ kube_router_image_repo }}"
|
|
|
|
tag: "{{ kube_router_image_tag }}"
|
|
|
|
sha256: "{{ kube_router_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
|
|
|
|
2016-10-15 05:46:44 +08:00
|
|
|
pod_infra:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: true
|
2016-10-15 05:46:44 +08:00
|
|
|
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) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-09-04 16:30:18 +08:00
|
|
|
install_socat:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ ansible_os_family in ['CoreOS', 'Container Linux by CoreOS'] }}"
|
2017-09-04 16:30:18 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ install_socat_image_repo }}"
|
|
|
|
tag: "{{ install_socat_image_tag }}"
|
|
|
|
sha256: "{{ install_socat_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2016-11-21 18:20:44 +08:00
|
|
|
nginx:
|
2019-04-10 20:56:18 +08:00
|
|
|
enabled: "{{ loadbalancer_apiserver_localhost and loadbalancer_apiserver_type == 'nginx' }}"
|
2016-11-21 18:20:44 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ nginx_image_repo }}"
|
|
|
|
tag: "{{ nginx_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ nginx_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2019-04-10 20:56:18 +08:00
|
|
|
haproxy:
|
|
|
|
enabled: "{{ loadbalancer_apiserver_localhost and loadbalancer_apiserver_type == 'haproxy' }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ haproxy_image_repo }}"
|
|
|
|
tag: "{{ haproxy_image_tag }}"
|
|
|
|
sha256: "{{ haproxy_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
|
|
|
|
2018-03-13 19:00:05 +08:00
|
|
|
coredns:
|
|
|
|
enabled: "{{ dns_mode in ['coredns', 'coredns_dual'] }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ coredns_image_repo }}"
|
|
|
|
tag: "{{ coredns_image_tag }}"
|
|
|
|
sha256: "{{ coredns_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-12-11 09:28:03 +08:00
|
|
|
nodelocaldns:
|
|
|
|
enabled: "{{ enable_nodelocaldns == True }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ nodelocaldns_image_repo }}"
|
|
|
|
tag: "{{ nodelocaldns_image_tag }}"
|
|
|
|
sha256: "{{ nodelocaldns_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
|
|
|
|
2018-11-15 17:28:03 +08:00
|
|
|
dnsautoscaler:
|
2019-04-02 03:32:34 +08:00
|
|
|
enabled: "{{ dns_mode in ['coredns', 'coredns_dual'] }}"
|
2017-06-16 08:37:55 +08:00
|
|
|
container: true
|
2018-11-15 17:28:03 +08:00
|
|
|
repo: "{{ dnsautoscaler_image_repo }}"
|
|
|
|
tag: "{{ dnsautoscaler_image_tag }}"
|
|
|
|
sha256: "{{ dnsautoscaler_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-10-16 22:15:05 +08:00
|
|
|
busybox:
|
|
|
|
enabled: "{{ kube_network_plugin in ['kube-router'] }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ busybox_image_repo }}"
|
|
|
|
tag: "{{ busybox_image_tag }}"
|
|
|
|
sha256: "{{ busybox_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- k8s-cluster
|
|
|
|
|
2016-11-21 18:20:44 +08:00
|
|
|
testbox:
|
2018-03-31 10:40:01 +08:00
|
|
|
enabled: false
|
2016-11-21 18:20:44 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ test_image_repo }}"
|
|
|
|
tag: "{{ test_image_tag }}"
|
2016-12-19 22:50:04 +08:00
|
|
|
sha256: "{{ testbox_digest_checksum|default(None) }}"
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-03-17 19:56:25 +08:00
|
|
|
helm:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ helm_enabled }}"
|
2017-03-17 19:56:25 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ helm_image_repo }}"
|
|
|
|
tag: "{{ helm_image_tag }}"
|
|
|
|
sha256: "{{ helm_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2017-03-17 19:56:25 +08:00
|
|
|
tiller:
|
2017-10-19 16:17:11 +08:00
|
|
|
enabled: "{{ helm_enabled }}"
|
2017-03-17 19:56:25 +08:00
|
|
|
container: true
|
|
|
|
repo: "{{ tiller_image_repo }}"
|
|
|
|
tag: "{{ tiller_image_tag }}"
|
|
|
|
sha256: "{{ tiller_digest_checksum|default(None) }}"
|
2018-03-31 10:40:01 +08:00
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-03-31 18:57:00 +08:00
|
|
|
registry:
|
|
|
|
enabled: "{{ registry_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ registry_image_repo }}"
|
|
|
|
tag: "{{ registry_image_tag }}"
|
|
|
|
sha256: "{{ registry_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-03-31 18:57:00 +08:00
|
|
|
registry_proxy:
|
|
|
|
enabled: "{{ registry_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ registry_proxy_image_repo }}"
|
|
|
|
tag: "{{ registry_proxy_image_tag }}"
|
|
|
|
sha256: "{{ registry_proxy_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-11-23 16:36:21 +08:00
|
|
|
metrics_server:
|
|
|
|
enabled: "{{ metrics_server_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ metrics_server_image_repo }}"
|
|
|
|
tag: "{{ metrics_server_image_tag }}"
|
|
|
|
sha256: "{{ metrics_server_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-master
|
|
|
|
|
|
|
|
addon_resizer:
|
|
|
|
# Currently addon_resizer is only used by metrics server
|
|
|
|
enabled: "{{ metrics_server_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ addon_resizer_image_repo }}"
|
|
|
|
tag: "{{ addon_resizer_image_tag }}"
|
|
|
|
sha256: "{{ addon_resizer_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-master
|
|
|
|
|
2018-03-31 19:25:05 +08:00
|
|
|
local_volume_provisioner:
|
|
|
|
enabled: "{{ local_volume_provisioner_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ local_volume_provisioner_image_repo }}"
|
|
|
|
tag: "{{ local_volume_provisioner_image_tag }}"
|
|
|
|
sha256: "{{ local_volume_provisioner_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-03-31 19:20:53 +08:00
|
|
|
cephfs_provisioner:
|
|
|
|
enabled: "{{ cephfs_provisioner_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ cephfs_provisioner_image_repo }}"
|
|
|
|
tag: "{{ cephfs_provisioner_image_tag }}"
|
|
|
|
sha256: "{{ cephfs_provisioner_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2019-02-26 14:45:30 +08:00
|
|
|
local_path_provisioner:
|
|
|
|
enabled: "{{ local_volume_provisioner_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ local_path_provisioner_image_repo }}"
|
|
|
|
tag: "{{ local_path_provisioner_image_tag }}"
|
|
|
|
sha256: "{{ local_path_provisioner_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
|
|
|
|
2018-03-31 16:04:24 +08:00
|
|
|
ingress_nginx_controller:
|
|
|
|
enabled: "{{ ingress_nginx_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ ingress_nginx_controller_image_repo }}"
|
|
|
|
tag: "{{ ingress_nginx_controller_image_tag }}"
|
|
|
|
sha256: "{{ ingress_nginx_controller_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
2018-06-07 17:25:25 +08:00
|
|
|
- kube-node
|
2018-09-13 22:49:23 +08:00
|
|
|
|
2018-03-28 22:30:00 +08:00
|
|
|
cert_manager_controller:
|
|
|
|
enabled: "{{ cert_manager_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ cert_manager_controller_image_repo }}"
|
|
|
|
tag: "{{ cert_manager_controller_image_tag }}"
|
|
|
|
sha256: "{{ cert_manager_controller_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-node
|
2016-05-23 06:25:52 +08:00
|
|
|
|
2018-12-04 02:29:42 +08:00
|
|
|
dashboard:
|
|
|
|
enabled: "{{ dashboard_enabled }}"
|
|
|
|
container: true
|
|
|
|
repo: "{{ dashboard_image_repo }}"
|
|
|
|
tag: "{{ dashboard_image_tag }}"
|
|
|
|
sha256: "{{ dashboard_digest_checksum|default(None) }}"
|
|
|
|
groups:
|
|
|
|
- kube-master
|
|
|
|
|
2017-10-19 16:17:11 +08:00
|
|
|
download_defaults:
|
|
|
|
container: false
|
|
|
|
file: false
|
|
|
|
repo: None
|
|
|
|
tag: None
|
|
|
|
enabled: false
|
|
|
|
dest: None
|
|
|
|
version: None
|
|
|
|
url: None
|
|
|
|
unarchive: false
|
|
|
|
owner: kube
|
|
|
|
mode: None
|