Skip to content
  1. Feb 09, 2021
    • Sergey's avatar
      fix typo error in role ingress-nginx (#7272) · a21ee331
      Sergey authored
      a21ee331
    • Takashi IIGUNI's avatar
      fix: Restart network doesn't work on Fedora CoreOS (#7271) · bcaa31ae
      Takashi IIGUNI authored
      
      
      Running remove-node.yml tasks for clean up cluster on Fedora CoreOS.
      The task failed to restart network daemon (task name: "reset | Restart network").
      Fedora CoreOS is essentially using NetworkManager, but this task returns network.
      
      Signed-off-by: default avatarTakashi IIGUNI <iiguni.tks@gmail.com>
      bcaa31ae
    • David Louks's avatar
      Remove deletion of coredns deployment. (#7211) · 0cc17267
      David Louks authored
      * Add unique annotation on coredns deployment and only remove existing deployment if annotation is missing.
      
      * Ignore errors when gathering coredns deployment details to handle case where it doesn't exist yet
      
      * Remove run_once, deletegate_to and add to when statement
      0cc17267
    • David Louks's avatar
      Updated etcd cert check tasks to detect when new cert gen is required (#7219) · aad78840
      David Louks authored
      * Added force_etcd_cert_refresh var to maintain existing functionality. Broke out etcd node cert syncing from member and admin cert sync logic. Now first etcd will sync node certs to other etcd members on every run to keep all etcds up to date after adding additional worker nodes to the cluster
      
      * Updated etcd cert check tasks to better detect when new certificates need to be generated
      
      * Move usage of force_etcd_cert_refresh var to gen_certs fact set
      
      * Force etcd cert generation per server if force_etcd_cert_refresh is set to true
      
      * Include gathering of node certs even if k8s-cluster member and in etcd group.
      
      * Removed run_once due to when statement
      aad78840
  2. Feb 08, 2021
    • Vyacheslav's avatar
      Update main.yml (#7267) · e3ab665e
      Vyacheslav authored
      ````
      TASK [bootstrap-os : Enable RHEL 8 repos] ***************************************************************************************************************************************************************************************************
      fatal: [node6]: FAILED! => {"changed": false, "msg": "This system has no repositories available through subscriptions"}
      fatal: [node7]: FAILED! => {"changed": false, "msg": "This system has no repositories available through subscriptions"}
      fatal: [node1]: FAILED! => {"changed": false, "msg": "This system has no repositories available through subscriptions"}
      
      
      root@node1:/kubespray# cat /etc/os-release
      NAME="Ubuntu"
      VERSION="18.04.5 LTS (Bionic Beaver)"
      ID=ubuntu
      ID_LIKE=debian
      PRETTY_NAME="Ubuntu 18.04.5 LTS"
      VERSION_ID="18.04"
      HOME_URL="https://www.ubuntu.com/"
      SUPPORT_URL="https://help.ubuntu.com/"
      BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
      PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
      VERSION_CODENAME=bionic
      UBUNTU_CODENAME=bionic
      root@node1:/kubespray#
      ```
      e3ab665e
  3. Feb 05, 2021
  4. 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
    • forselli-stratio's avatar
      Fix ansible calico route reflector tasks in calico role (#7224) · 88bee6c6
      forselli-stratio authored
      * Fix calico-rr tasks
      
      * revert stdin only when it's already a string
      88bee6c6
    • Sebastian Schmid's avatar
      local-path-provisioner change default version to v0.0.19 and update config template (#7238) · 1f84d634
      Sebastian Schmid authored
      * update local-path-storage config template to version v0.0.19
      
      * changes local_path_provisioner image tag to v0.0.19
      
      * removes copy paste example from rancher local-path-provisioner repo
      1f84d634
    • Kenichi Omichi's avatar
      Move recover_control_plane/master to control-plane (#7236) · 699fbd64
      Kenichi Omichi authored
      According to the following recommendation, this moves the directory
      to control-plane:
      
      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".
      699fbd64
    • Maciej's avatar
      MetalLB: bump to v0.9.5 (#7241) · b42bf39f
      Maciej authored
      
      
      Signed-off-by: default avatarMaciej Wereski <m.wereski@partner.samsung.com>
      b42bf39f
  5. Feb 02, 2021
  6. Feb 01, 2021
  7. Jan 29, 2021
  8. Jan 28, 2021
    • Felix Breuer's avatar
      FIX: Bastion undefined variable (#7227) · 973628fc
      Felix Breuer authored
      Fixes the following error when using Bastion Node with the sample config.
      ```
      fatal: [bastion]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'bastion'\n\nThe error appears to be in '/home/felix/inovex/kubespray/roles/bastion-ssh-config/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: set bastion host IP\n  ^ here\n"}
      ```
      973628fc
  9. Jan 27, 2021
  10. Jan 26, 2021
  11. Jan 25, 2021
  12. Jan 23, 2021
  13. Jan 22, 2021
  14. Jan 21, 2021
Loading