Max Gautier
4b0a134bc9
Only download kubeadm images where needed ( #10899 )
* Refactor of kubeadm images listing
Instead of setting multiples facts, we directly create the dict we need from
kubeadm output.
* Remove useless 'default' filters in roles/download
* Only download kubeadm images where needed
1 year ago
flxbwr
ad565ad922
Fix waiting for MetalLB controller ( #10858 )
The current state waiting method is bad to implement.
When changing the deployment version, which is execute with the upgrade_cluster in the previous ansible task: "Kubernetes Apps | Install and configure MetalLB", next ansible task: "Kubernetes Apps | Wait for MetalLB controller to be running" may fall with an error.
1 year ago
Max Gautier
6f419aa18e
Revert "implement download mirrors support ( #8474 )" ( #10884 )
This reverts commit c6e5314fab
.
There is no user of the download mirrors support in kubespray, for a
long time.
1 year ago
anders-elastisys
c698790122
add nat_outgoing_ipv6 to calico defaults and docs ( #10866 )
1 year ago
Gianmarco Mameli
989ba207e9
task description modified ( #10875 )
1 year ago
Max Gautier
f2bdd4bb2f
Fix logical error when checking for boostrap-os ( #10867 )
Also remove some clutter along the way.
1 year ago
Kay Yan
c9a44e4089
make docker 24.0 default ( #10873 )
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
1 year ago
kyrie
0dbde7536f
make containerd 1.7.12 default and upgrade runc to v1.1.11 ( #10862 )
Signed-off-by: KubeKyrie <shaolong.qin@daocloud.io>
1 year ago
Victor Login
8d53c1723c
bump coredns version to 1.11.1 ( #10719 )
* update version coredns 1.11.1
* Update roles/kubespray-defaults/defaults/main/download.yml
Co-authored-by: Mohamed Omar Zaian <mohamedzaian@gmail.com>
---------
Co-authored-by: Mohamed Omar Zaian <mohamedzaian@gmail.com>
1 year ago
Mohamed Omar Zaian
dce68e6839
[feat] Update metrics server to v0.7.0 ( #10856 )
1 year ago
Takuya Murakami
785366c2de
[kubernetes] Support kubernetes 1.29 ( #10820 )
* [kubernetes] Make kubernetes 1.29.1 default
* [cri-o]: support cri-o 1.29
Use "crio status" instead of "crio-status" for cri-o >=1.29.0
* Remove GAed feature gates SecCompDefault
The SecCompDefault feature gate was removed since k8s 1.29
https://github.com/kubernetes/kubernetes/pull/121246
1 year ago
Saber
1d119f1a3c
Fixed grammar ( #10853 )
1 year ago
Ugur Can Ozturk
7863fde552
[apiserver-kubelet/tracing]: add distributed tracing config variables ( #10795 )
* [apiserver-kubelet/tracing]: add distributed tracing config flags
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
* [apiserver-kubelet/tracing]: add distributed tracing config flags - fix
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
* [apiserver-kubelet/tracing]: add distributed tracing config flags - fix
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
---------
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
1 year ago
kimsehwan96
758d34a7d1
Fix typo mistake in roles/kubernetes/control-plane/tasks/define-first-kube-control.yml
- Fix 'Set fact joined_control_panes' into 'Set fact joined_control_planes'
1 year ago
Max Gautier
c80f2cd573
Allow the DNS stack to be backward compatible with an old dns_domain ( #10630 )
Handle all old dns domains:
- for nodelocaldns: in the same server block as the current dns_domain
- for coredns: uffix rewrite of each of the old dns domains to the
current one
1 year ago
Maxime Leroy
ab0163a3ad
fix(kubernetes): taint nodes with kubectl ( #10705 )
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
1 year ago
Daniel Strufe
2eb588bed9
Update external huawei cloud controller to 0.26.6 ( #10824 )
* Update huaweicloud controller to 0.26.6
See <https://github.com/kubernetes-sigs/cloud-provider-huaweicloud/compare/v0.26.3...v0.26.6 >
* Update huaweicloud sample to use 0.26.6
1 year ago
Louis Tu
a88bad7947
Add scheduler plugins support ( #10747 )
Signed-off-by: tu1h <lihai.tu@daocloud.io>
1 year ago
Max Gautier
89d42a7716
Fix coredns_dual usage ( #10821 )
1 year ago
yun
13e1f33898
Correct the POLY1305 cipher suites by adding the suffix _SHA256 ( #10641 )
1 year ago
Alexander
de2c4429a4
Enable configuring mountOptions, reclaimPolicy and volumeBindingMode … ( #10450 )
* Enable configuring mountOptions, reclaimPolicy and volumeBindingMode for cinder-csi StorageClasses
* Check if class.mount_options is defined at all, before generating the option list
1 year ago
Max Gautier
22bb0976d5
Adjust kubelet_event_record_qps to K8S default ( #10826 )
Also remove redundant check in the kubelet config template (we define a
default, so the setting will always be "true")
1 year ago
my-git9
5a405336ae
Support following k8s version selection pause image ( #10756 )
Signed-off-by: xin.li <xin.li@daocloud.io>
1 year ago
Yuhao Zhang
0e971a37aa
Offline control plane recover ( #10660 )
* ignore_unreachable for etcd dir cleanup
ignore_errors ignores errors occur within "file" module. However, when
the target node is offline, the playbook will still fail at this task
with node "unreachable" state. Setting "ignore_unreachable: true" allows
the playbook to bypass offline nodes and move on to proceed recovery
tasks on remaining online nodes.
* Re-arrange control plane recovery runbook steps
* Remove suggestion to manually update IP addresses
The suggestion was added in 48a182844c
4
years ago. But a new task added 2 years ago, in
ee0f1e9d58
, automatically update API
server arg with updated etcd node ip addresses. This suggestion is no
longer needed.
1 year ago
Noam
3e7b568d3e
crictl allow setting grace period for stop containers upon reset ( #10651 )
* crictl allow setting different grace period for stop containers and pods
* correct grace period location
1 year ago
kyrie
a45a40a398
update kube-version-min-required to v1.27 ( #10817 )
1 year ago
Takuya Murakami
4cb1f529d1
[kubernetes] Add hashes for kubernetes 1.29.0 and 1.29.1 ( #10778 )
* Add hashes of crictl and crio
* Add versions of etcd, crictl, crio and csi-snapshotter
1 year ago
Mohamed Omar Zaian
64447e745e
[kubernetes] Make kubernetes v1.28.6 default ( #10810 )
1 year ago
Max Gautier
b7a83531e7
etcd: update to v3.5.10 ( #10798 )
1 year ago
Kay Yan
a0a2f40295
add containerd config override_path ( #10776 )
1 year ago
lobiyed.karim
7b7c9f509e
Add PodDisruptionBudget for CoreDNS deployment. Allows users to control disruption behavior and set maximum unavailable pods ( #10557 )
1 year ago
Louis Tu
3f78bf9298
Fix incorrect ciliumcli binary ( #10575 )
Signed-off-by: tu1h <lihai.tu@daocloud.io>
1 year ago
Gaëtan Trellu
50fbfa2a9a
Fix PyYAML package name on SLES and openSUSE ( #10794 )
1 year ago
Gaëtan Trellu
747d8bb4c2
Fix ntp installation on SLES and openSUSE ( #10786 )
1 year ago
Serge Hartmann
bb67d9524d
Fix crio_version version comparison ( #10780 )
Signed-off-by: serge Hartmann <serge.hartmann@gmail.com>
1 year ago
Kay Yan
8c09c3fda2
fix image pull in insecure-registry ( #10775 )
1 year ago
Louis Tu
a656b7ed9a
Add kube_vip_lb_fwdmethod option for kube-vip ( #10762 )
Signed-off-by: tu1h <lihai.tu@daocloud.io>
1 year ago
Kay Yan
2e8b72e278
fix disable swap in centos ( #10751 )
1 year ago
Louis Tu
ddf5c6ee12
Update coredns rolling update strategy ( #10748 )
Signed-off-by: tu1h <lihai.tu@daocloud.io>
1 year ago
Ryan Lonergan
eda7ea5695
feat: add support for Cilium 1.14 ( #10684 )
* update cilium configmap template for new routing mode and tunnel-protocol options
Ryan Lonergan ryan.tlonergan@gmail.com
* add rbac for new cilium crd in 1.14
Ryan Lonergan ryan.tlonergan@gmail.com
* add conditional for cni-install.sh that's no longer included in cilium 1.14
Ryan Lonergan ryan.tlonergan@gmail.com
* Update roles/network_plugin/cilium/templates/cilium/ds.yml.j2
Co-authored-by: Cyclinder <qifeng.guo@daocloud.io>
---------
Co-authored-by: Cyclinder <qifeng.guo@daocloud.io>
1 year ago
刘旭
08c0b34270
[cert-manager] upgrade to v1.13.2 ( #10616 )
1 year ago
Romain
1a86b4cb6d
Fix download retry when get_url has no status_code. ( #10613 )
* Fix download retry when get_url has no status_code.
* Fix until clause in download role.
1 year ago
Mohamed Omar Zaian
aea150e5dc
[kubernetes] Make kubernetes v1.28.5 default ( #10739 )
* Add hashes for kubernetes 1.29.0, 1.28.5, 1.27.9, 1.26.12
1 year ago
Andrei Costescu
c3b674526d
Fix modprobe module on Flatcar ( #10678 )
* Fix modprobe module on Flatcar
* Add todo about upstream issue report
1 year ago
Kay Yan
565eab901b
remove containerd registries ( #10738 )
1 year ago
Max Gautier
c3315ac742
systemd-resolved: use a drop-in for kubespray dns ( #10732 )
This avoid needlessly overriding things and make cleanup easier.
Also simplifies the template a bit.
1 year ago
Olivier Levitt
29ea790c30
Fix calico-node in etcd mode ( #10438 )
* Calico : add ETCD endpoints to install-cni container
* Calico : remove nodename from configmap in etcd mode
1 year ago
Ugur Can Ozturk
ae780e6a9b
[etcd]: add etcd distributed tracing flags ( #10666 )
* [etcd]: add etcd distributed tracing flags
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
* [etcd]: add etcd distributed tracing flags - fix
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
* [etcd]: add etcd distributed tracing flags - fix
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
---------
Signed-off-by: Ugur Ozturk <ugurozturk918@gmail.com>
1 year ago
Max Gautier
471326f458
Remove PodSecurityPolicy support and references ( #10723 )
This is removed from kubernetes since 1.25, time to cut some dead code.
1 year ago
Michael Kebe
d435edefc4
Removed DEPRECATED --logtostderr from metrics-server ( #10709 )
The --logtostderr is deprecated.
https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components
1 year ago