Tovin Seven
e0d67367ed
Update installation doc with vagrant ( #8406 )
2 years ago
Florian Ruynat
d007132655
Fix Fedora CI following ipset version in kube-proxy for k8s 1.23 ( #8397 )
2 years ago
Mathieu Parent
cfd9873bbc
Allow to choose container manager commands ( #8380 )
This allow to workaround #8375 by using image_command_tool=crictl
when containerd_registries is used for containerd.
Also changes image_info_command_on_localhost for docker to return digests.
2 years ago
Samuel Liu
b2b95cc8f9
fix 0090-etchosts ( #7634 )
2 years ago
Kenichi Omichi
73c889eb10
Fix failures of ansible-lint ( #8401 )
This fixes the following types of failures:
- empty-string-compare
- literal-compare
- risky-file-permissions
- risky-shell-pipe
- var-spacing
In addition, this changes .gitlab-ci/lint.yml to block the same issue
by using the same method at Kubespray CI.
2 years ago
Victor Morales
642725efe7
Bump containerd version to 1.5.9 ( #8402 )
2 years ago
Cristian Calin
29aafff2ce
etcd: add 3.5.1 for kubernetes 1.23+ ( #8320 )
2 years ago
forselli-stratio
df425ac143
Fix etcd certificates reference to support etcd_kubeadm_enabled:true ( #7766 )
* Fix etcd certificates reference to support etcd_kubeadm_enabled:true
* Add retries to ETCD Join Member task
* Fix etcd certificates reference when etcd_kubeadm_enabled:true
* Fix conflicts
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
Alex
06ad5525b8
replace runc 1.0.3 arm64 hash with 0 ( #8391 )
2 years ago
Kenichi Omichi
f80fd24a55
Fix risky-file-permissions ( #8370 )
When running ansible-lint directly, we can see a lot of warning
message like
risky-file-permissions File permissions unset or incorrect
This fixes the warning messages.
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
Victor Morales
52266406f8
Bump cert-manager version to v1.6.1 ( #8377 )
2 years ago
cyril-corbon
cd601c77c7
feat: upgrade metrics server to v0.5.2 ( #8338 )
Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
2 years ago
Florian Ruynat
6abae713f7
Update helm / kube-router and coredns ( #8382 )
* Update kube-router to 1.4.0
* Update Helm to 3.7.2
* Up coredns to 1.8.6 when k8s is 1.23.x
2 years ago
Alex
1312f92a8d
adding 0 checksum for kata_containers_version on arm(64) ( #8383 )
2 years ago
Unai Arríen
92abf26d29
Ensure taint configuration for secondary control-plane nodes ( #8363 )
2 years ago
Mathieu Parent
c11e4ba9a7
Add missing example offline nerdctl_download_url ( #8373 )
2 years ago
Mathieu Parent
7ae00947f5
Avoid yanked ruamel.yaml.clib version ( #8372 )
See https://pypi.org/project/ruamel.yaml.clib/#history
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
2 years ago
Bart Sloeserwij
59f62473c9
Update configuration of registries in cri-o ( #7852 )
* Update configuration of registries in cri-o
* Update docs to match new registry configuration
2 years ago
Unai Arríen
8fbd08d027
Fix DNS configuration when using resolvconf_mode='host_resolvconf' during scale ( #23 ) ( #8361 )
2 years ago
Choi Yongbeom
dda557ed23
Update config.toml.j2 ( #8340 )
* Update config.toml.j2
i think this commit code is not completed works
exam registry address : a.com:5000
insecure registry must be http://a.com:5000
but this code add insecure a.com:5000 (without http://)
If there is no http, containerd accesses with https even if insecure_skip_verify = true
solution is code edit
* Update config.toml.j2
* Update containerd.yml
* Update containerd.yml
* Update containerd.yml
* Update config.toml.j2
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
Cristian Calin
3eab1129b9
CI: Replace CentOS 8 with AlmaLinux 8 before CentOS 8 EOL end of 2021 ( #8297 )
2 years ago
Choi Yongbeom
24f1402a14
nerdctl insecure registry config ( #8339 )
* Update prep_download.yml
nerdctl insecure registry config
* Update prep_download.yml
* Update prep_download.yml
apply conversations advice
* Update prep_download.yml
* Update prep_download.yml
* Update prep_download.yml
* Update prep_download.yml
* Update prep_download.yml
* Update prep_download.yml
* Update main.yml
* Update main.yml
* Update prep_download.yml
* Update prep_download.yml
2 years ago
Necatican Yıldırım
bf00550388
Upgrade Cilium to 1.11.0 ( #8354 )
* Remove kvstore args from Cilium DaemonSet
Co-authored-by: Emin Aktaş <eminaktas34@gmail.com>
Co-authored-by: Yasin Taha Erol <yasintahaerol@gmail.com>
Signed-off-by: necatican <necaticanyildirim@gmail.com>
* Bump Cilium to 1.11.0
Co-authored-by: Emin Aktaş <eminaktas34@gmail.com>
Co-authored-by: Yasin Taha Erol <yasintahaerol@gmail.com>
Signed-off-by: necatican <necaticanyildirim@gmail.com>
Co-authored-by: Emin Aktaş <eminaktas34@gmail.com>
Co-authored-by: Yasin Taha Erol <yasintahaerol@gmail.com>
2 years ago
Kenichi Omichi
78c83a8f26
Update containerd doc ( #8369 )
This is a follow-up change for https://github.com/kubernetes-sigs/kubespray/pull/7911
2 years ago
Nguyễn Trung
e72f8e0412
Update node about container_manager variable ( #7911 )
I was deploy my cluster with separate etcd cluster and not intersect with kube_control_plane or kube_node. And I want to run etcd cluster in docker but still used containerd to make container runtime for all other nodes. Therefore, I was added note to this doc for everyone
Thank !
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
Florian Ruynat
9e9b177674
Update kubespray_version following release
2 years ago
Cristian Calin
4c4c83f0a1
crun update to 1.4 ( #8330 )
* [crun] update crun to 1.4
* [crun] drop pre-1.x versions
2 years ago
Unai Arríen
0e98814732
Configure PriorityClassName for MetalLB deployment ( #8362 )
2 years ago
Max Gautier
92f25bf267
Simplify usage of pre-remove role ( #8334 )
- Use builtin task scheduling of ansible (same task on each host)
instead of manual looping on master
Benefits:
- One less play in remove-node.yml playbook
- Parralel node drain
- Drain parameters (timeout, grace period, retries,
allow_ungraceful_removal) can be adjusted separately for each node
with ansible variables
2 years ago
Romain ALBON
63a53c79d0
Fix - Search root filesystem device ( #8366 )
2 years ago
Florian Ruynat
2f9a8c04dc
Add nginx_image_repo to mirrored image on quay ( #8364 )
2 years ago
Choi Yongbeom
8c67f42689
Update offline.yml ( #8358 )
[cni-plugins] upgrade to stable 1.0.1 (#8331 ) using flannel cni add flannel_cni_download_url
flannel_cni_download_url offline doc update
2 years ago
Florian Ruynat
783a51e9ac
Fix README version for cni/flannel ( #8359 )
2 years ago
Florian Ruynat
841c61aaa1
Revert "Fix external lb error ( #8299 )" ( #8360 )
This reverts commit 4f2e4524b8
.
2 years ago
Samuel Liu
157942a462
fix resolved config ( #8351 )
2 years ago
jbpratt
e88a27790c
fix spelling error ( #8342 )
2 years ago
Cristian Calin
ed3932b7d5
[cni-plugins] upgrade to stable 1.0.1 ( #8331 )
* [cni-plugins] upgrade to stable 1.0.1
* [flannel] use binary from dedicated project
2 years ago
emiran-orange
2b5c185826
calico_pool_blocksize must be cast as well in assertion when defined ( #8321 )
* calico_pool_blocksize must be cast as string in assertion when defined
* Cast as int rather than string
2 years ago
zemkogabor
996ecca78b
Glusterfs daemonset readiness and liveness params. #8307 ( #8309 )
2 years ago
zhengtianbao
c3c128352f
Remove registry-proxy ( #8327 )
2 years ago
zhengtianbao
02a89543d6
registry: add ingress support ( #8311 )
2 years ago
Cristian Calin
c1954ff918
Support deploying kubernetes 1.23 ( #8323 )
* Ensure entries for 1.23 are added for supported_versions vars
* cri-o: add support for kubernetes 1.23 but still use cri-o 1.22
* kubescheduler-config: diferentiate config versions based on kube_version
2 years ago
Kenichi Omichi
b49ae8c21d
Delete "kubeadm alpha certs" code ( #8322 )
"kubeadm alpha certs" command has been promoted to "kubeadm certs" command,
and "kubeadm alpha certs" has been deprecated since Kubernetes v1.20 as [1].
In addition, Kubespray supports Kubernetes v1.20+.
This delete the deprecated command for cleanup.
[1]: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.20.md#deprecation
2 years ago
Calin Cristian Andrei
1a7b4435f3
Bump default version of kubernetes to 1.22.5
2 years ago