- Dec 02, 2024
-
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Dec 01, 2024
-
-
Max Gautier authored
-
- Nov 30, 2024
-
-
Max Gautier authored
Those files haven't been touched in roughly 5 years, and pip install on Kubespray errors out. The 'Requires:' are outdated, which suggests that no one is using this.
-
- Nov 29, 2024
-
-
Max Gautier authored
8ff4ad2d (preinstall: simplify OS packages selection, 2024-11-04) removed all usages of ansible.utils.validate (not that many), so the dependencies is no longer necessary.
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Nov 28, 2024
-
-
Max Gautier authored
-
Max Gautier authored
config_path was introduced in containerd 1.5.0, and registry.mirrors is deprecated. There is no reason to keep the old alternative, so just always use config_path, and consequently remove the option.
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Nov 27, 2024
-
-
Kubernetes Prow Robot authored
Remove inventory_builder and re-organize docs
-
- Nov 26, 2024
-
-
Max Gautier authored
Our README is currently pretty cluttered: - Part of the README duplicates docs/getting_started/getting-started.md -> Remove duplicates and extract useful info into the getting-started.md - General info on Ansible environment troubleshooting -> remove most of it as it's not specific to Kubespray, move to docs/ansible/ansible.md -> split inventory-related stuff of ansible.md into it's own file. This should host documentation on how to manages Kubespray inventories in the future. ansible.md: - remove the list of "Unused" variables, as: 1. It's not accurate 2. What matters is where users should put their variables
-
Max Gautier authored
- The bastion is not needed for a simple example - All is implicit we can just define our host in groups directly
-
Max Gautier authored
There is no need to repeat the full example here, simply state what variables are.
-
Max Gautier authored
-
Max Gautier authored
contrib/dind use inventory_builder, which is removed. It overlaps with the function of kind (Kubernetes in Docker) and has not see change (apart from linting driven ones) for a long time. It also does not seem to work (provisioning playbook crash).
-
Max Gautier authored
This only really help with the easiest part of building your inventory (listing the hosts) as you still need to edit your groups vars and similar. The opaqueness of the script does not really help our users to understand their own inventory. Furthermore, there is not really a reason that something which is common to all the Ansible ecosystem should be done in a special way for Kubespray.
-
- Nov 25, 2024
-
-
David authored
* Add support for ntpsec * fixup: set default ntp_driftfile based on ntp_package * fixup: docs
-
Emmanuel Ferdman authored
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
-
ChengHao Yang authored
* Refactor: replace registry.k8s.io with kube_image_repo variable Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Bump: OpenStack Cloud Controller Manager upgrade to v1.31.1 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Refactor: remove occm image tag from sample inventory Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
-
ChengHao Yang authored
* Bump: Kubernetes default version set to v1.31.3 Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> * Docs: README.md update kubernetes version Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com> --------- Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
-
Bin Zhao authored
Fix 3 broken links. Two of them are because of https://github.com/kubernetes-sigs/kubespray/pull/11633
-
Max Gautier authored
The download role expect 'groups' be a list, in order to properly filter images.
-
Kay Yan authored
-
- Nov 19, 2024
-
-
logicsys authored
Partial Cilium 1.16+ Support & Add vars for configuring cilium IP load balancer pools and bgp v1 & v2 apis (#11620) * Add vars for configuring cilium IP load balancer pools and bgp peer policies * Cilium 1.16+ Support - Add vars for configuring cilium bgpv2 api & handle cilium_kube_proxy_replacement unsupported values
-
- Nov 18, 2024
-
-
dependabot[bot] authored
Bumps [ansible-lint](https://github.com/ansible/ansible-lint) from 24.9.2 to 24.10.0. - [Release notes](https://github.com/ansible/ansible-lint/releases) - [Commits](https://github.com/ansible/ansible-lint/compare/v24.9.2...v24.10.0 ) --- updated-dependencies: - dependency-name: ansible-lint dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Max Gautier authored
We use the persistent option of modprobe, which was introduced in 7.0.0
-
Max Gautier authored
When using dns_upstream_forward_extra_opts: prefer_udp: "" # the option as no value so use empty string to just # put the key This is rendered in the dns configmap as ($ for end-of-line) ... prefer_udp $ ... Note the trailing space. This triggers https://github.com/kubernetes/kubernetes/issues/36222, which makes the configmap hardly readable when editing them manually or simply putting them in a yaml file for inspection. Trim the concatenation of option + value to get rid of any trailing space.
-
- Nov 17, 2024
-
-
ERIK authored
Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
-
- Nov 16, 2024
-
-
Javad authored
* Make Helm's 'atomic' parameter configurable from role variables * Configure Helm with 'atomic' and 'wait' set to false for generic CNI to prevent kubelet-csr-approver installation failures
-
- Nov 15, 2024
-
-
Max Gautier authored
We use shell scripts and conf files in some roles (notably, certificates provisioning), so we need to include them in order for the collection to work when using the configurations depending on those roles.
-
Max Gautier authored
* kubeadm: do not ignore preflight errors blindly The "ignoring all errors" seems to date back to the inception of the kubeadm support (it was --skip-preflight-check before). This can mask real errors and prevent users from seeing them. Do not ignore any errors by default and make the set of ignored errors configurable. * download/kubeadm: remove redundant task The mode is already set by the previous `copy` task. * Validate kubeadm configs This should help to fail early when we have invalid kubeadm configs (from a kubespray bug or a misconfiguration). * kubeadm-upgrade: remove unnecessary bool cast * Convert kubeadm join discovery timeout to v1beta4 config * CI: Ignore kubeadm:Mem errors on some setup.
-
- Nov 14, 2024
-
-
Kubernetes Prow Robot authored
[CI] Use Kubernetes GC to clean kubevirt VMs (packet-* jobs)
-
Max Gautier authored
-
Max Gautier authored
The new CI does not define k8s_cluster group, so it relies on kubernetes-sigs/kubespray#11559. This does not work for upgrade testing (which use the previous release). We can revert this commit after 2.27.0
-
Max Gautier authored
We should not rollback our test setup during upgrade test. The only reason to do that would be for incompatible changes in the test inventory, and we already checkout master for those (${CI_JOB_NAME}.yml) Also do some cleanup by removing unnecessary intermediary variables
-
Max Gautier authored
VirtualMachineInstance resources sometimes temporarily loose their IP (at least as far as the kubevirt controllers can see). See https://github.com/kubevirt/kubevirt/issues/12698 for the upstream bug. This does not seems to affect actual connection (if it did, our current CI would not work). However, our CI execute multiple playbooks, and in particular: 1. The provisioning playbook (which checks that the IPs have been provisioned by querying the K8S API) 2. Kubespray itself If any of the VirtualMachineInstance looses its IP between after 1 checked for it, and before 2 starts, the dynamic inventory (which is invoked when the playbook is launched by ansible-playbook) will not have an ip for that host, and will try to use the name for ssh, which of course will not work. Instead, when we have a valid state during provisioning (all IPs presents), use it to construct a static inventory which will be used for the rest of the CI run.
-
Max Gautier authored
This allows a single source of truth for the virtual machines in a kubevirt ci-run. `etcd_member_name` should be correctly handled in kubespray-defaults for testing the recover cases.
-
Max Gautier authored
timeoutForControlPlane has been removed from v1beta4, instead remplaced by https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/#kubeadm-k8s-io-v1beta4-Timeouts The default for the new value are close enough that there is no need to override them.
-
- Nov 13, 2024
-
-
Andreas Gravgaard Andersen authored
* remove nameless extraArgs entry Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com> * fix template name Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com> --------- Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com>
-