Samuel Liu
f26f544ff6
[kube-ovn]: update kube-ovn version and sync some feature ( #8790 )
* [kube-ovn]: some feature
kube-ovn vlan mode
ipv6/ipv4 dual stack
...
* remove unused env
* fix readinessprobe
2 years ago
Cristian Calin
56cf163a23
[kubernetes] actually make 1.23.6 the default ( #8767 )
2 years ago
Julien Le Fur
30306d6ec7
Enable external CA mode for control-plane deployment ( #8620 )
2 years ago
Robin Wallace
d7254eead6
UpCloud integration ( #8653 )
* [upcloud] add upcloud csi-driver
* Option to use ansible_host as api ip for kubueconfig
2 years ago
Samuel Liu
424ef3b3f9
[calico] add calico apiserver ( #8690 )
* [calico] add calico apiserver
* fix yamllint
* remove addext argument
* Configure API server with the CA bundle
* add check kdd
2 years ago
Mathieu Parent
996ef98b87
Add support for kube-vip ( #8669 )
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
2 years ago
Alessio Greggi
bba91a7524
split kube_feature_gates variable for different kubernetes components ( #8677 )
* feat: split kube_feature_gates variable for different kubernetes components
* docs: add kube_feaute_gates componet variables
2 years ago
Calin Cristian Andrei
538f9df5cc
[kubernetes] make 1.23.5 the default
2 years ago
Cristian Calin
394857b5ce
[docker] add support for cri-dockerd as a replacement for dockershim ( #8623 )
2 years ago
Tom Janson
2e925f82ef
Revert "Fix: typos in docs and comments ( #7805 )" ( #8592 )
This reverts commit 417180246c
.
2 years ago
Necatican Yıldırım
e9c8913248
Add kubeadm option to etcd_deployment_type to replace the etcd_kubeadm_enabled variable ( #8317 )
* Add kubeadm option to etcd_deployment_type to replace the etcd_kubeadm_enabled variable
Signed-off-by: necatican <necaticanyildirim@gmail.com>
* Add etcd kubeadm deployment documentation
Signed-off-by: necatican <necaticanyildirim@gmail.com>
* Refactor warning for the deprecated 'etcd_kubeadm_enabled' variable
Signed-off-by: necatican <necaticanyildirim@gmail.com>
2 years ago
Florian Ruynat
d4f654275b
Set default kubernetes version to 1.23.4
2 years ago
Michael Schmitz
eacd55fbca
Use sysctl_file_path variable for all sysctl_file locations ( #8395 )
* Use sysctl_file_path variable for all sysctl_file locations
* Add sysctl_file_path variable to kubespay-defaults
* Remove previously used sysctl file locations if present
* Use explicit filename in roles/kubernetes/node/defaults/main.yml
* Defaults: use explicit value
2 years ago
Samuel Liu
e6e7fbc25f
fix reset containerd_storage_dir undefined ( #8478 )
* fix reset containerd_storage_dir
* add env to kubespray-defaults
2 years ago
Ilya Margolin
7d4d554436
Document host_resolvconf as default value for resolvconf_mode ( #8493 )
refs #8247
2 years ago
Calin Cristian Andrei
ababcd5481
[kube] make 1.23.3 the new default
2 years ago
Calin Cristian Andrei
be9a1f80c1
[kube] make 1.23.2 the default version
2 years ago
Victor Morales
e88aa7c96b
Add youki runtime support ( #8411 )
2 years ago
Johann Schley
38d129a0b6
add external hcloud cloud controller manager ( #8440 )
2 years ago
Unai Arríen
57a1d18db3
Improve first_kube_control_plane variable management to avoid installation failures due to variable overlapping ( #8388 )
2 years ago
rtsp
aa4a3d7afd
Fix container engine still installed on dedicated etcd node even if `etcd_deployment_type: host` ( #8386 )
2 years ago
Kenichi Omichi
51bd9bee0d
Move containerd_version to defaults/main.yml ( #8379 )
All container image versions were defined in download/defaults/main.yml
except containerd.
The inconsistency caused the offline script(generate_list.sh) could not
output the URL of containerd image.
This moves the definition into a valid file.
In addition, this adds host_os to generate_list.sh for downloading
krew from a valid URL.
2 years ago
Max Gautier
cb54eb40ce
Use a variable for standardizing kubectl invocation ( #8329 )
* Add kubectl variable
* Replace kubectl usage by kubectl variable in roles
* Remove redundant --kubeconfig on kubectl usage
* Replace unecessary shell usage with command
2 years ago
Florian Ruynat
6136fa7c49
Update Kubernetes version to 1.23.1
2 years ago
Florian Ruynat
8d2b4ed4a9
Move min k8s version to 1.21
2 years ago
Calin Cristian Andrei
1a7b4435f3
Bump default version of kubernetes to 1.22.5
2 years ago
Marat Talipov
4f27c763af
containerd insecure registry support ( #8298 )
2 years ago
Cristian Calin
682c8a59c2
containerd: change default resolvconf_mode to host_resolvconf ( #8247 )
* containerd: change default resolvconf_mode to host_resolvconf
* Wait for kube-apiserver to come back after pod refresh
* Handle resolv.conf gracefully
* Retain currently configured DNS entries to ensure we don't break the resolvers
* Suse uses wickedd for network management so no dhcp hooks
* Molecule: increase ansible timeout
* CI: Increase ansible timeout to 120s for Packet jobs
2 years ago
zhengtianbao
a16d427536
Set etcd-events listen port to 2383 ( #8232 )
2 years ago
Alvaro Campesino
27ab364df5
Improve control plane scale flow ( #13 ) ( #7989 )
* Improve control plane scale flow (#13 )
* Added version 1.20.10 of K8s
* Setting first_kube_control_plane to a existing one
* Setting first_kube_control_plane to a existing one
* change first_kube_master for first_kube_control_plane
* Ansible-lint changes
2 years ago
Hanna Bledai
615216f397
Fix if bind-address is not set to 0.0.0.0 ( #8262 )
* if bind-address is not set to 0.0.0.0
* Update docs and left comments
* fix yamllist check: remove space
2 years ago
Cristian Calin
9d8a83314b
containerd: add hashes for 1.5.8 and 1.4.12 and make 1.5.8 the new default ( #8239 )
* containerd: add hashes for 1.5.8 and 1.4.12 and make 1.5.8 the new default
* containerd: make nerdctl mandatory for container_manager = containerd
* nerdctl: bump to version 0.14.0
* containerd: use nerdctl for image manipulation
* OpenSuSE: install basic nerdctl dependencies
3 years ago
Florian Ruynat
0e22a90579
Update docker to 20.10.11 with containerd 1.4.12 ( #8255 )
3 years ago
Florian Ruynat
2fd529a993
Update Kubernetes version to v1.22.4
3 years ago
Cristian Calin
e78bda65fe
Defaults: replace docker with containerd as our default container_manager ( #8175 )
* Defaults: replace docker with containerd as our default container_manager
* CI: Use docker for download_localhost test
* Defaults: with container_manager=containerd we need etcd_deployment_type=host
* CI: Run weave jobs with docker
* CI: Vagrant don't download_force_cache
* CI: Fix upgrade tests
* should run compatible with old settings, this means docker
* we need to run with a distro that has at least modern containerd,
this means move from debian9 to debian10 to allow `containerd_version`
to match between 2.17 and master
3 years ago
Mathieu Parent
0263c649f4
Allow to scrape etcd metrics using a service ( #8203 )
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
3 years ago
EDGsheryl
4d79a55904
Remove extra parameter kube_proxy_remove ( #8158 )
Signed-off-by: EDGsheryl <edgsheryl@gmail.com>
3 years ago
Cristian Calin
039205560a
nodelocaldns: allow a secondary pod for nodelocaldns for local-HA ( #8100 )
* nodelocaldns: allow a secondary pod for nodelocaldns for local-HA
* CI: add job to test nodelocaldns secondary
3 years ago
Cristian Calin
801268d5c1
containerd: upgrade versions 1.4.11 and 1.5.7 and make 1.4.11 the default ( #8129 )
3 years ago
Cristian Calin
4a8757161e
Docker: replace the use of containerd_version with docker_containerd_version to avoid causing conflicts when bumping containerd_version ( #8130 )
3 years ago
zhengtianbao
65540c5771
krew: update to v0.4.2 ( #8168 )
krew release urls changed since v0.4.2, clearly OS type and arch inside the filename.
from:
https://github.com/kubernetes-sigs/krew/releases/download/v0.4.1/krew.tar.gz
to:
https://github.com/kubernetes-sigs/krew/releases/download/v0.4.2/krew-linux_amd64.tar.gz
define `host_os` like `host_architecture` determine which OS is krew
installed at.
3 years ago
Álvaro Torres Cogollo
8922c45556
Added ArgoCD kubernetes-app ( #7895 )
* Added ArgoCD kubernetes-app
* Update argocd_version to latest
3 years ago
Marcus Fenner
c94291558d
Fix containerd install for fcos ( #8107 )
* Fix containerd install for fcos
* rm orphaned runc and containerd binaries
3 years ago
Florian Ruynat
b353e062c7
Update default k8s version to 1.22.3
3 years ago
Florian Ruynat
331647f4ab
Remove deprecated Ambassador ingress code ( #8086 )
3 years ago
Max Gautier
e4c8c7188e
etcd: deploy container engine if needed ( #7532 )
If the etcd cluster is separate and the etcd_deployment_type is "host",
there is no need for a container engine on the etcd nodes
Do not rely on a 'default(true)' filter, but define a proper default in
kubespray-defaults depending on etcd deployment method and if internal
or external etcd is used
3 years ago
Necatican Yıldırım
1a57780a75
Add kubeadm_join_phases_skip variable ( #8067 )
* Add kubeadm_join_phases_skip variable
* Update kubeadm_join_phases_skip comment
Co-authored-by: Cristian Calin <6627509+cristicalin@users.noreply.github.com>
* Add kubeadm_join_phases_skip_default variable to follow the same logic with kubeadm_init_phases_skip
Co-authored-by: Cristian Calin <6627509+cristicalin@users.noreply.github.com>
3 years ago
Iago Santos
43958614e3
Fix kubespray flatcar ansible_os_family and ansible_distribution ( #8029 )
Closes https://github.com/kubernetes-sigs/kubespray/issues/8028
Signed-off-by: Iago Santos <iago.santos.pardo@adfinis.com>
3 years ago
Florian Ruynat
5d1b34bdcd
Move min k8s version to 1.20
3 years ago
Florian Ruynat
8efde799e1
Update kubernetes version to 1.22.2
3 years ago