- Apr 29, 2021
-
-
Cristian Calin authored
* rename ansible groups to use _ instead of - k8s-cluster -> k8s_cluster k8s-node -> k8s_node calico-rr -> calico_rr no-floating -> no_floating Note: kube-node,k8s-cluster groups in upgrade CI need clean-up after v2.16 is tagged * ensure old groups are mapped to the new ones
-
- Apr 21, 2021
-
-
Mathieu Parent authored
Fixes "mapping values are not allowed in this context
-
Florian Ruynat authored
-
- Apr 12, 2021
-
-
Etienne Champetier authored
This allow to configure when K8S certificates renewal runs Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
We were regenerating only the cert of the first node While at it speed up the check step Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
emiran-orange authored
Use kubeadm_feature_gates instead of kube_feature_gates to leverage kubeadm feature gates and not to interfere with k8s components feature gates (#7447)
-
- Apr 09, 2021
-
-
Florian Ruynat authored
-
Sergey authored
* add CI test for auto_renew_certificates * change timer value fix typo error in rotate cert script
-
- Apr 08, 2021
-
-
Kenichi Omichi authored
According to the document[1], audit-webhook-batch-max-size and audit-webhook-batch-max-wait are used only in the batch mode. This adds a condition to avoid unnecessary writting on the config. [1]: https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#batching
-
- Apr 06, 2021
-
-
Maciej Wereski authored
* Add KubeSchedulerConfiguration for k8s 1.19 and up With release of version 1.19.0 of kubernetes KubeSchedulerConfiguration was graduated to beta. It allows to extend different stages of scheduling with profiles. Such effect is achieved by using plugins and extensions. This patch adds KubeSchedulerConfiguration for versions 1.19 and later. Configuration is set to k8s defaults or to kubespray vars. Moving those defaults to new vars will be done in following patch. Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> * KubeSchedulerConfiguration: add defaults Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
-
- Mar 31, 2021
-
-
Helmut Januschka authored
fix undefinedElse
-
- Mar 26, 2021
-
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Anthony Rabbito authored
`-%` causes `etcd-unsupported-arch: arm64` to print on COL 1 instead of COL 6. Signed-off-by: anthr76 <hello@anthonyrabbito.com>
-
- Mar 24, 2021
-
-
Kenichi Omichi authored
This replaces kube-master with kube_control_plane because of [1]: The Kubernetes project is moving away from wording that is considered offensive. A new working group WG Naming was created to track this work, and the word "master" was declared as offensive. A proposal was formalized for replacing the word "master" with "control plane". This means it should be removed from source code, documentation, and user-facing configuration from Kubernetes and its sub-projects. NOTE: The reason why this changes it to kube_control_plane not kube-control-plane is for valid group names on ansible. [1]: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint/README.md#motivation
-
- Mar 22, 2021
-
-
Etienne Champetier authored
While at it remove force_certificate_regeneration This boolean only forced the renewal of the apiserver certs Either manually use k8s-certs-renew.sh or set auto_renew_certificates Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Mar 09, 2021
-
-
Etienne Champetier authored
c9c0c01d only fix the problem for new clusters Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Mar 05, 2021
-
-
Etienne Champetier authored
The important action in kubeadm-version.yml is the templating of the configuration, not finding / setting the version Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
There are no reasons not to backup during upgrade Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
kubeadm never rotates sa.key/sa.pub, so there is no need to delete tokens/restart pods Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
kubeadm is the default for a long time now, and admin.conf is created by it, so let kubeadm handle it Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
Etienne Champetier authored
apiserver.pem is not used since ddffdb63 Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Mar 03, 2021
-
-
Du9L.com authored
According to [etcd's docs](https://etcd.io/docs/v3.4.0/op-guide/configuration/#--log-package-levels), argument 'log-package-levels' should not contain underscores.
-
Etienne Champetier authored
Using `kubeadm init phase kubeconfig all` breaks kubelet client certificate rotation as we are missing `kubeadm init phase kubelet-finalize all` to point to `kubelet-client-current.pem` kubeconfig format is stable so let's just use lineinfile, this will avoid other future breakage This revert to the logic before 6fe22483 Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
yydzhou authored
code improvement
-
- Feb 23, 2021
-
-
Etienne Champetier authored
Since a790935d all proxy users should be properly configured Now when you have *_PROXY vars in your environment it can leads to failure if NO_PROXY is not correct, or to persistent configuration changes as seen with kubeadm in 1c5391dd Instead of playing constant whack-a-bug, inject empty *_PROXY vars everywhere at the play level, and override at the task level when needed Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Feb 20, 2021
-
-
FedericoHeichou authored
Fix "AnsibleUndefinedVariable: the inline if-expression on line xx evaluated to false and no else section was defined."
-
- Feb 19, 2021
-
-
Etienne Champetier authored
Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Feb 16, 2021
-
-
Etienne Champetier authored
* Move proxy_env to kubespray-defaults/defaults There is no reasons to use set_facts here Signed-off-by: Etienne Champetier <e.champetier@ateme.com> * Ensure kubeadm doesn't use proxy *_proxy variables might be present in the environment (/etc/environment, bash profile, ...) When this is the case we end up with those proxy configuration in /etc/kubernetes/manifests/kube-*.yaml manifests We cannot unset env variables, but kubeadm is nice enough to ignore empty vars https://github.com/kubernetes/kubernetes/blob/93d288e2a47fa6d497b50d37c8b3a04e91da4228/cmd/kubeadm/app/util/env.go#L27 Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Feb 10, 2021
-
-
Etienne Champetier authored
By default Ansible stat module compute checksum, list extended attributes and find mime type To find all stat invocations that really use one of those: git grep -F stat. | grep -vE 'stat.(islnk|exists|lnk_source|writeable)' Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
- Feb 05, 2021
-
-
Matt Calvert authored
-
Matt Calvert authored
-
- Feb 01, 2021
-
-
Kenichi Omichi authored
This is a small step to replace "master" with "control-plane" in Kubespray project.
-