Sylvain Chateau
0ca7aa126b
added "Flatcar", "Flatcar Container Linux by Kinvolk" for all coreOS role ( #5607 )
5 years ago
Sergey
36c1f32ef9
remove legacy docker repo in kubernetes/preinstall before any packages installed ( #5640 )
5 years ago
Maxime Guyot
b15d41a96a
Add support to Ansible 2.9 ( #5361 )
5 years ago
Matthew Mosesohn
f599a4a859
force other resolvers to be secondary when using systemd-resolved ( #5391 )
Change-Id: I33d46c7e0c5374467e22c5a652b282d1703dea85
5 years ago
LuciferInLove
4f70da2731
Added Amazon Linux 2 support for deploying with docker ( #5301 )
5 years ago
Matthew Mosesohn
1c25ed669c
Remove unnecessary and risky reload network for resolvconf propagation ( #5322 )
Change-Id: I54d706f7941b4b86c4c6cd45340295577155b884
5 years ago
Matthew Mosesohn
a005d19f6f
Enable systemd-resolved DNS resolution mode ( #5318 )
Change-Id: If3e253a40782e03cde7fc4a91493517ae31fda17
6 years ago
Sergey
3118437e10
check on all cluster node - kubelet_max_pods <= (2 ** (32 - kube_network_node_prefix | int)) - 2 ( #5279 )
6 years ago
yelhouti
d332a254ee
install python3 instead of python2 for fedora >= 30 fixes 5056, fixes 4802 ( #5111 )
6 years ago
Matthew Mosesohn
a43e0d3f95
Switch to Kubernetes v1.16.0 ( #5189 )
* Switch to Kubernetes v1.16.0
Change-Id: I5d6a9528b2d443750fc5e031aff15ad3ffead158
* Fix download localhost cached file path
Change-Id: I65e79b70e3d1b37265ebc60f41b460cf4b0a0d47
* fix kubeadm etcd for v1.16
Change-Id: I6888a00fd48b530a38b0b31c4095492476af42d2
* disable tf packet jobs
Change-Id: I075c4666547fdea4c50ec04864f38e2cfaa79154
* Disable contiv packet jobs. Fix kube-router
Change-Id: I3170e8789e60711d4cee8faf65f2094480b79b8d
* bump sonobuoy version
Change-Id: Ib946905629c7c53ed88f08fb2f41c454457a0097
6 years ago
陈谭军
2fc02ed456
fix-typo ( #5199 )
6 years ago
Matthew Mosesohn
023108a733
Refactor calico route reflector to run in k8s cluster ( #4975 )
* Refactor calico-rr to run in k8s cluster with taint
Change-Id: I75a3169ff5b36ce8302fc7ef1c32d3eb697b5afa
* add preinstall checks
* rework calico/rr role
Change-Id: I2f0a7e6cb77cf91ad4a615923680760d2e5d9ca8
* add empty calico-rr group
Change-Id: I006c0a60db9b72d02245bf8fdfabcf982144a5ad
6 years ago
Oilbeater
1be788f785
add Kube-OVN cni to kubespray ( #5020 )
6 years ago
Jeff Bornemann
da50ed0936
move flexvolume plugin directory creation to preinstall ( #4999 )
* move flexvolume plugin directory creation to preinstall
* changes per pr feedback
6 years ago
Matthew Mosesohn
23ae6027ab
remove support for calico v2.x ( #4974 )
* Remove support for calico below version v3.0.0
Change-Id: If8fe3036b9e054901a8b2c48516eff1e1271970f
* Update main.yml
* fixup node peering
Change-Id: Ifac4d363deba826f0c80e390ce80a28df9827323
* fixups
Change-Id: Ic35417330af6741962003b3930604393c90804d1
* fixups
Change-Id: I0ea82d634bb0c81d9b7dc50569c70988bc8d3a3b
6 years ago
Jeff Bornemann
728155a2a1
Support for Oracle Linux ( #3655 )
Fixed Issue #1032
test case for OEL7 AIL with kubeadm
Add packet CI stuff for oracle 7
6 years ago
Matthew Mosesohn
352297cf8d
Fixup deploy of kubeadm etcd for Kubernetes v1.15.0 ( #4952 )
* Fixup deploy of kubeadm etcd for Kubernetes v1.15.0
Change-Id: If42c2c75c4d278ba9475ebf76c243f3e6ee4d02e
* undo renaming cloud config file
Change-Id: Iafbd27c3887d6a2a6d0819c711f150ecf70c515d
6 years ago
andreyshestakov
c81b443d93
Fix order of names in /etc/hosts ( #4940 )
Configure fqdn properly
6 years ago
Simon Lelievre
f599c2a691
add macvlan cni to kubespray ( #4901 )
* add macvlan cni to kubespray
* macvlan: lint yaml files and fix sample config file
* macvlan: add OWNERS file
* add macvlan to README
* macvlan : CI first shoot
* macvlan : CI add full masquerade
* delegate retrive pod cidr to master only
* macvlan: add config for CI
* macvlan: add netchecker deployment
6 years ago
Matthew Mosesohn
4348e78b24
Enable kubeadm etcd mode ( #4818 )
* Enable kubeadm etcd mode
Uses cert commands from kubeadm experimental control plane to
enable non-master nodes to obtain etcd certs.
Related story: PROD-29434
Change-Id: Idafa1d223e5c6ceadf819b6f9c06adf4c4f74178
* Add validation checks and exclude calico kdd mode
Change-Id: Ic234f5e71261d33191376e70d438f9f6d35f358c
* Move etcd mode test to ubuntu flannel HA job
Change-Id: I9af6fd80a1bbb1692ab10d6da095eb368f6bc732
* rename etcd_mode to etcd_kubeadm_enabled
Change-Id: Ib196d6c8a52f48cae370b026f7687ff9ca69c172
6 years ago
Neven Miculinic
27a99e0a3f
Added configurable min memory assertions ( #4307 )
6 years ago
Andreas Krüger
3cc351dff9
Require min version of Kubernetes ( #4860 )
* Require minimum version of Kubernetes
* Remove checksums for kubernetes version 1.12
* Add kube_version to precheck output and add min required version to README
* Fix merge
* Fix defaults
* Fix typo in precheck
6 years ago
Frank Ritchie
ab6f0012cc
Make local volume provisioner dir mode a variable ( #4821 )
* Make local volume provisioner dir mode a variable
I need to change this for Nagios monitoring. Others may
need to as well. Had to close previous commits, sorry for
the spam.
* Make local volume provisioner dir mode a variable
I need to change this for Nagios monitoring. Others may
need to as well. Had to close previous commits, sorry for
the spam.
6 years ago
Dani Comnea
d540560619
Preinstall fails on checking etcd group length ( #4839 )
6 years ago
Andreas Krüger
797bfd85b0
Only create kubeadm compat cert dir link if it does not exist ( #4840 )
6 years ago
Sergey Nuzhdin
07cb8ebef7
Add support for arm images for hyperkube, kubeadm and cni_binary ( #4261 )
* Add support for arm images for hyperkube, kubeadm and cni_binary
* Add dummy etcd checksum for arm
This commit adds dummy etcd checksum for arm to avoid "no attribute" error
during setup.
* Add etcd host assert check
* Add 1.13.4 checksums of kubeadm and hyperkube for arm
* Update checksums of kubeadm and hyperkube for arm
* Add dummy checksums for calicoctl_binary_checksums dict
* disable gather_facts because it causes tests to fail
* Remove architecture check for etcd, due to unable to run tests
6 years ago
Matthew Mosesohn
6347419233
Avoid duplicating nameservers ( #4833 )
6 years ago
Jacopo Secchiero
5d9946184a
Add ignore_assert_errors to "kube-master, ... ( #4779 )
... kube-node or etcd is empty" task
As a assert must be ignored if ignore_assert_errors is true
6 years ago
MarkusTeufelberger
73c2ff17dd
Fix Ansible-lint error [E502] ( #4743 )
6 years ago
MarkusTeufelberger
e67f848abc
ansible-lint: add spaces around variables [E206] ( #4699 )
6 years ago
MarkusTeufelberger
88d919337e
ansible-lint: don't compare to empty string [E602] ( #4665 )
6 years ago
MarkusTeufelberger
a65605b17a
ansible-lint: Don't use bare variables ( #4608 )
Circumvented one false positive from ansible-lint
Moved a block of jinja magic into its own variable
6 years ago
MarkusTeufelberger
424e59805f
ansible-lint: Fix commands that are also available as module ( #4619 )
6 years ago
Matthew Mosesohn
09fe95bc60
Avoid creating k8s cert dir on non-k8s nodes ( #4602 )
6 years ago
Matthew Mosesohn
05dc2b3a09
Use K8s 1.14 and add kubeadm experimental control plane mode ( #4514 )
* Use K8s 1.14 and add kubeadm experimental control plane mode
This reverts commit d39c273d96
.
* Cleanup kubeadm setup run on first master
* pin kubeadm_certificate_key in test
* Remove kubelet autolabel of kube-node, add symlink for pki dir
Change-Id: Id5e74dd667c60675dbfe4193b0bc9fb44380e1ca
6 years ago
Maxime Guyot
b218e17f44
ansible-lint: E403 Package installs should not use latest ( #4500 )
6 years ago
Maxime Guyot
37eac010c8
ansible-lint: Don’t compare to literal True/False ( #4499 )
6 years ago
Matthew Mosesohn
c5fb734098
Switch calicoctl from a container to a binary ( #4524 )
6 years ago
Matthew Mosesohn
d39c273d96
Revert "Use K8s 1.14 and add kubeadm experimental control plane mode ( #4317 )" ( #4510 )
This reverts commit 316508626d
.
6 years ago
Matthew Mosesohn
316508626d
Use K8s 1.14 and add kubeadm experimental control plane mode ( #4317 )
* Use Kubernetes 1.14 and experimental control plane support
* bump to v1.14.0
6 years ago
Neven Miculinic
a30ad1e5a5
Added generic CNI network plugin ( #4322 )
* Added generic CNI network plugin
* Added CNI network plugin documentation
* added necessary fix
6 years ago
Maxime Guyot
1ce2f04f47
allow Suse OS family ( #4430 )
6 years ago
Matthew Mosesohn
5f12b7aedf
Remove kubedns and dnsmasq. Move dns_late phase after apps ( #4406 )
Both kubedns and dnsmasq modes are long not maintained.
We should run dns_late steps at the end because sshd
makes DNS lookups during Ansible run and has 2s timeouts
for each failed lookup trying to connect to coredns before
it is ready.
6 years ago
Matthew Mosesohn
b7fd462944
Fix support for ansible 2.7.9 ( #4375 )
6 years ago
Matthew Mosesohn
acbf3db233
Remove hard dependence on facts for all nodes ( #4304 )
* Remove hard dependence on facts for all nodes
* Update main.yaml
* Update main.yaml
6 years ago
Matthew Mosesohn
adf6a7121f
Reenable set_facts task for dns_late ( #4312 )
6 years ago
hikoz
67832aada9
changed_when:false ( #4189 )
6 years ago
Gabor Lekeny
b4aaa7b908
Speed up tasks ( #4278 )
* fact gathering should run only once per node
* eliminate ansible version check, it is at the beginning of each
playbook
6 years ago
Matthew Mosesohn
b07641c3f3
Move kube_proxy_remove out of set_facts and set default ( #4180 )
6 years ago
hikoz
e03588f431
use swapon -s ( #4216 )
6 years ago