Upgrade kubespray from 2.12.6 to 2.14.1 64/114464/1
authorTodd Malsbary <todd.malsbary@intel.com>
Tue, 27 Oct 2020 21:46:29 +0000 (14:46 -0700)
committerTodd Malsbary <todd.malsbary@intel.com>
Fri, 30 Oct 2020 23:48:04 +0000 (16:48 -0700)
commite3c7d3d4153d3a9383d4ebcaa004e54b1b0b64c2
treefb3e4e85dc51e7a05dc8756413d490caf638a093
parent0c352ef0d74d4b51a0fce5123b34a6753e8ab6a4
Upgrade kubespray from 2.12.6 to 2.14.1

- Replace move of ansible.cfg from kubespray distribution to
  /etc/ansible with ANSIBLE_CONFIG environment variable.  Ansible
  modifies ansible.cfg during installation, and the paths in it are
  relative.

- kubespray 2.14.1 requires a kubernetes version > 1.16.  Use the
  default versions of kubernetes and helm provided by kubespray
  2.14.1.

- kubespray 2.14.1 replaces helm 2 with helm 3.  This removes support
  for helm init and helm serve.  It is no longer necessary to call
  helm init, and the helm serve repository is replaced with file
  relative URLs.  This also triggered a subsequent update of the
  kubernetes-helm ansible module to include the newer helm versions.

- Add "storageType: hostPath" to etcd/values.yaml.  Helm deploy of
  etcd will fail without this due to nil
  PersistentVolume.metadata.labels.type.

- The mitogen module used by kubespray/ansible requires python2 on the
  hosts.  Use the linear strategy to bypass mitogen and install
  python2 on the cluster hosts.

Issue-ID: MULTICLOUD-1230
Signed-off-by: Todd Malsbary <todd.malsbary@intel.com>
Change-Id: I9f50bb4e123fdcacab6b6a97e79cd09fb5c96634
33 files changed:
deployments/helm/onap4k8s/Makefile
deployments/helm/onap4k8s/README.txt
deployments/helm/onap4k8s/charts/etcd/requirements.yaml
deployments/helm/onap4k8s/charts/etcd/values.yaml
deployments/helm/onap4k8s/charts/mongo/requirements.yaml
deployments/helm/onap4k8s/charts/multicloud-k8s/requirements.yaml
deployments/helm/v2/emco/Makefile
deployments/helm/v2/emco/README.md
deployments/helm/v2/emco/clm/requirements.yaml
deployments/helm/v2/emco/dcm/requirements.yaml
deployments/helm/v2/emco/emco-db/requirements.yaml
deployments/helm/v2/emco/emco-services/requirements.yaml
deployments/helm/v2/emco/emco-tools/requirements.yaml
deployments/helm/v2/emco/emco/requirements.yaml
deployments/helm/v2/emco/etcd/requirements.yaml
deployments/helm/v2/emco/etcd/values.yaml
deployments/helm/v2/emco/mongo/requirements.yaml
deployments/helm/v2/emco/ncm/requirements.yaml
deployments/helm/v2/emco/orchestrator/requirements.yaml
deployments/helm/v2/emco/ovnaction/requirements.yaml
deployments/helm/v2/emco/rsync/requirements.yaml
kud/deployment_infra/galaxy-requirements.yml
kud/deployment_infra/playbooks/configure-emco-reset.yml
kud/deployment_infra/playbooks/configure-emco.yml
kud/deployment_infra/playbooks/configure-kud.yml
kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml
kud/deployment_infra/playbooks/configure-onap4k8s.yml
kud/deployment_infra/playbooks/kud-vars.yml
kud/deployment_infra/playbooks/preconfigure-kubespray.yml [new file with mode: 0644]
kud/hosting_providers/containerized/installer.sh
kud/hosting_providers/containerized/inventory/group_vars/k8s-cluster.yml
kud/hosting_providers/vagrant/installer.sh
kud/hosting_providers/vagrant/inventory/group_vars/k8s-cluster.yml