Skip to content
  1. Mar 15, 2021
    • Ewnetu Bayuh Lakew's avatar
      Terraform support for UpCloud (#7360) · 5c5bf41a
      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
      5c5bf41a
  2. Mar 01, 2021
  3. Feb 26, 2021
    • Jakub Krzywda's avatar
      Vsphere (#7306) · 0a0156c9
      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
      0a0156c9
  4. Feb 19, 2021
  5. Feb 16, 2021
  6. Feb 12, 2021
  7. Feb 03, 2021
    • Cristian Klein's avatar
      contrib/terraform/exoscale: Rework SSH public keys (#7242) · b77460ec
      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
      b77460ec
  8. Jan 23, 2021
  9. Jan 21, 2021
  10. Dec 30, 2020
  11. Dec 25, 2020
  12. Dec 24, 2020
  13. Dec 23, 2020
    • Cristian Klein's avatar
      Fix terraform0.13 errors (#7077) · fd3ebc13
      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
      fd3ebc13
  14. Nov 06, 2020
  15. Nov 05, 2020
  16. Oct 29, 2020
    • David Medinets's avatar
      Notes About Server In admin.conf (#6854) · 102fb945
      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.
      102fb945
  17. Oct 12, 2020
  18. Sep 22, 2020
    • David Medinets's avatar
      Change health check from TCP to HTTPS (#6487) · 1805e95b
      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.
      1805e95b
  19. Sep 17, 2020
  20. Aug 28, 2020
  21. Aug 27, 2020
  22. Aug 18, 2020
  23. Aug 05, 2020
  24. Jul 22, 2020
  25. Jun 16, 2020
  26. Jun 05, 2020
  27. Apr 16, 2020
  28. Apr 09, 2020
  29. Apr 06, 2020
  30. Mar 27, 2020
  31. Feb 24, 2020
  32. Feb 18, 2020
  33. Feb 17, 2020
  34. Jan 02, 2020
  35. Dec 20, 2019
  36. Dec 12, 2019
    • bfraz's avatar
      Update aws tf (#5435) · f0f8379e
      bfraz authored
      * update aws tf to function as expected
      
      * update tf version
      
      * update syntax for tf v0.12
      
      * update tf version in readme
      
      * update per tf for v0.12
      f0f8379e
  37. Dec 10, 2019
  38. Dec 09, 2019
    • Hugo Blom's avatar
      Support Openstack servergroups (#5412) · 40e35b3f
      Hugo Blom authored
      * add support for nova servergroups
      
      * Add documentation for openstack nova servergroups
      
      * uppdate to TF 0.12.12 format and fix etcd
      
      * revert for_each change
      
      * fix variables and formatting in main.tf
      
      * try to avoid errors
      
      * update variable
      
      * Update main.tf
      
      * Update main.tf
      
      * update all other instance resources
      40e35b3f
  39. Dec 04, 2019
  40. Oct 29, 2019
    • Eric Lake's avatar
      Terraform dynamic inventory 0.12.12 (#5298) · 108a6297
      Eric Lake authored
      * Update parsing of terraform state file for 0.12.12
      
      * Resource does not seem to have a module element but instead has
      provider
      * Return the boolean right way if it is already a bool since a bool does
      not have an lower method
      
      * Remove the setting of ansible_ssh_user to root for all Packet
      
      Not all servers in packet are accessed as root by default. CoreOS
      systems use the `core` user. Removing this allows the user to specify
      the remote user with an extra_var or in an ansible.cfg file.
      
      * Default to root user for packet devices except on CoreOS
      
      * Update TF_VERSION for packet in tf-validate-packet
      
      Update TV_VERSION to 0.12.12 for gitlab-ci tf-validate-packet tests
      
      * convert packet terraform files to TV_VERSION 4
      
      * initalize terraform before copying the variable file to the top level dir
      108a6297
Loading