- Jul 23, 2021
-
-
Samuel authored
* fix(misc): terraform/aws - handles deployment with a single availability zone - handles deployment with more than two availability zone - handles etcd collocation with control-plane nodes (`aws_etcd_num=0`) - allows to set a bastion instances count (`aws_bastion_num`) - allows to set bastion/etcd/control-plane/workers rootfs volume size - removes variables from terraform.tfvars that were not re-used - adds .terraform.lock.hcl to .gitignore - changes/updates base image from ubuntu-18.03 to debian-10 tested by a few coworkers of mine, and myself: thanks for the outstanding work, on both those terraform samples and kubespray playbooks. I did not test ubuntu deployments, I could still swap from buster to focal. LMK. * fix(gitlab-ci) AFAIU, terraform.tfvars indentation should be fixed for / no diff returned running `terraform fmt -check -diff` https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/1445622114
-
- Jul 14, 2021
-
-
왕영주 (Youngju Wang) authored
Update README for control_plane's external volume type variable
-
- Jun 25, 2021
-
-
Simon Kollberg authored
* terraform/openstack: Use path.root for ansible_bastion_template.txt The path.root variable points to the root module path. Using this instead of a relative path makes less assumptions about the current working directory. * terraform/openstack: Add group_vars_path variable Previously, the group_vars path was assumed to be in CWD. The default value for the group_vars_path variable is still relative to CWD and thus should be backwards compatible if unset.
-
- Jun 01, 2021
-
-
rptaylor authored
-
- May 27, 2021
-
-
Marques Johansson authored
* Packet->Equinix Metal rename #6901 Updates throughout to reflect #6901 renaming for Packet to Equinix Metal. * Rename Packet to Equinix Metal throughout the project #6901 Packet is renamed to Equinix Metal in more contexts including documentation links. The Terraform provider used is still the Packet provider. The environment variables and configuration options still refer to the Packet name. Signed-off-by: Marques Johansson <mjohansson@equinix.com> Co-authored-by: Edward Vielmetti <ed@packet.net>
-
- May 12, 2021
-
-
tkob authored
* Replace map in Terraform scripts with tomap (#7576) * Fix Terraform linter warnings (#7576)
-
- 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 16, 2021
-
-
Cristian Klein authored
Context: Load-balancing in Exoscale is performed by associating many workers with the same EIP. This works, however, the workers cannot access themselves via the EIP, which is needed at least for cert-managers "self-test". Problem: The old iptables based workaround felt fragile and disappointed me at least once. New solution: Add the EIP to a loopback interface on each worker.
-
- Apr 05, 2021
-
-
dsy3502 authored
-
- Mar 24, 2021
-
-
Etienne Champetier authored
* Remove contrib/vault This is marked as broken since 2018 / 3dcb9146 This still reference apiserver.pem, not used since ddffdb63 Signed-off-by: Etienne Champetier <e.champetier@ateme.com> * Finish nuking vault from the codebase Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
-
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 15, 2021
-
-
Florian Ruynat authored
-
Ewnetu Bayuh Lakew authored
* terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * terraform support for UpCloud * Updates to README.md and main.tf files * formatting and updating readme * added a .terraform_validate CI job * fixed format issue * added sample inventory * added symbolic link to group_vars * added missing tf variables and minor fixes * added text formatting * minor formatting fixes
-
- Mar 01, 2021
-
-
Viktor authored
The default master size for exoscale is 2cpu and 2GB ram. I have found this to be too low, so this increases it to 2cpu and 4GB ram.
-
- Feb 26, 2021
-
-
Jakub Krzywda authored
* Add terraform scripts for vSphere * Fixup: Add terraform scripts for vSphere * Add inventory generation * Use machines var to provide IPs * Add README file * Add default.tfvars file * Fix newlines at the end of files * Remove master.count and worker.count variables * Fixup cloud-init formatting * Fixes after initial review * Add warning about disabled DHCP * Fixes after second review * Add sample-inventory
-
- Feb 19, 2021
-
-
Hugo Blom authored
-
- Feb 16, 2021
-
-
Hugo Blom authored
allow users to set image_uuid instead of name, this allows the use of openstack community images (#7283)
-
- Feb 12, 2021
-
-
Hugo Blom authored
-
- Feb 03, 2021
-
-
Cristian Klein authored
* contrib/terraform/exoscale: Rework SSH public keys Exoscale has a few limitations with `exoscale_ssh_keypair` resources. Creating several clusters with these scripts may lead to an error like: ``` Error: API error ParamError 431 (InvalidParameterValueException 4350): The key pair "lj-sc-ssh-key" already has this fingerprint ``` This patch reworks handling of SSH public keys. Specifically, we rely on the more cloud-agnostic way of configuring SSH public keys via `cloud-init`. * contrib/terraform/exoscale: terraform fmt * contrib/terraform/exoscale: Add terraform validate * contrib/terraform/exoscale: Inline public SSH keys The Terraform scripts need to install some SSH key, so that Kubespray (i.e., the "Ansible part") can take over. Initially, we pointed the Terraform scripts to `~/.ssh/id_rsa.pub`. This proved to be suboptimal: Operators sharing responbility for a cluster risk unnecessarily replacing resources. Therefore, it has been determined that it's best to inline the public SSH keys. The chosen variable `ssh_public_keys` provides some uniformity with `contrib/azurerm`. * Fix Terraform Exoscale test * Fix Terraform 0.14 test
-
- Jan 23, 2021
-
-
Fredrik Liv authored
* Added terraform support for Exoscale * Fixed markdown lint error on exoscale terraform
-
- Jan 21, 2021
-
-
Andrea Zonca authored
Implemented in #6547
-
- Dec 30, 2020
-
-
Kenichi Omichi authored
This fixes markdownlint failures under roles/
-
- Dec 25, 2020
-
-
Kenichi Omichi authored
This fixes markdown failures on contrib/terraform.
-
- Dec 24, 2020
-
-
Fredrik Liv authored
* Added gcp terraform support * Added http/https firewall rule * Ignoring lifecycle changes for attached disks on the google_compute_instance
-
- Dec 23, 2020
-
-
Cristian Klein authored
* [terraform/aws] Fix Terraform >=0.13 warnings Terraform >=0.13 gives the following warning: ``` Warning: Interpolation-only expressions are deprecated ``` The fix was tested as follows: ``` rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate ``` which gave no errors nor warnings. * [terraform/openstack] Fixes for Terraform >=0.13 Terraform >=0.13 gives the following error: ``` Error: Failed to install providers Could not find required providers, but found possible alternatives: hashicorp/openstack -> terraform-provider-openstack/openstack ``` This patch fixes these errors. This fix was tested as follows: ``` rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate ``` which gave no errors nor warnings for Terraform 0.13.5 and Terraform 0.14.3. Unfortunately, 0.12.x gives a harmless warning, but with 0.14.3 out the door, I guess we need to move on. * [terraform/packet] Fixes for Terraform >=0.13 This fix was tested as follows: ``` export PACKET_AUTH_TOKEN=blah-blah rm -rf .terraform && terraform0.12.26 init && terraform0.12.26 validate rm -rf .terraform && terraform0.13.5 init && terraform0.13.5 validate rm -rf .terraform && terraform0.14.3 init && terraform0.14.3 validate ``` Errors are gone, but warnings still remain. It is impossible to please all three versions of Terraform. * Add tests for Terraform >=0.13
-
- Nov 06, 2020
-
-
Hugo Blom authored
-
- Nov 05, 2020
-
-
Hugo Blom authored
* add custom sec groups * make sure groups are applied only when created * fix spacing
-
- Oct 29, 2020
-
-
David Medinets authored
* Add note about changing private IP in admin.conf. When I run kubespray, a load balancer is created which should be used instead of the ip of the controller node. * Procedure to find load balancer and update admin.conf When I run kubespray, a load balancer is used instead of the private ip of the controller.
-
- Oct 12, 2020
-
-
rptaylor authored
k8s_master_no_etcd_fips should not be input var
-
- Sep 22, 2020
-
-
David Medinets authored
I kept seeing `TLS handshake error from 10.250.250.158:63770: EOF` from two IP addresses that correlate to my ELB. Changing the health check from TCP to HTTPS stopped the errors from being generated.
-
- Sep 17, 2020
-
-
Florent Monbillard authored
It was documented as if it were an Ansible variable, but it is a Terraform variable. This also means the colon syntax was incorrect. TF variables are assigned with an equals sign. Co-authored-by: rptaylor <rptaylor@uvic.ca>
-
- Aug 28, 2020
-
-
Barry Melbourne authored
-
- Aug 27, 2020
-
-
Hugo Blom authored
-
- Aug 18, 2020
-
-
rptaylor authored
-
- Aug 05, 2020
-
-
Maxime Guyot authored
-
- Jul 22, 2020
-
-
Kenichi Omichi authored
The official word is OpenStack, not Openstack as [1]. This replaces it with OpenStack in the docs. [1]: https://www.openstack.org/
-
- Jun 16, 2020
-
-
Maxime Guyot authored
-
- Jun 05, 2020
-
-
Florian Ruynat authored
-
- Apr 16, 2020
-
-
qvicksilver authored
* Terraform/OpenStack: Allow free form worker node definition * fixup! Terraform/OpenStack: Allow free form worker node definition
-
- Apr 09, 2020
-
-
qvicksilver authored
Terraform/OpenStack: Fix idempotency bug in module.network.openstack_networking_router_interface_v2.k8s[0] (#5914)
-