diff options
author | Todd Malsbary <todd.malsbary@intel.com> | 2020-10-27 14:46:29 -0700 |
---|---|---|
committer | Todd Malsbary <todd.malsbary@intel.com> | 2020-10-30 16:48:04 -0700 |
commit | e3c7d3d4153d3a9383d4ebcaa004e54b1b0b64c2 (patch) | |
tree | fb3e4e85dc51e7a05dc8756413d490caf638a093 /deployments/helm/onap4k8s/Makefile | |
parent | 0c352ef0d74d4b51a0fce5123b34a6753e8ab6a4 (diff) |
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
Diffstat (limited to 'deployments/helm/onap4k8s/Makefile')
-rw-r--r-- | deployments/helm/onap4k8s/Makefile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/deployments/helm/onap4k8s/Makefile b/deployments/helm/onap4k8s/Makefile index 20470878..f078765d 100644 --- a/deployments/helm/onap4k8s/Makefile +++ b/deployments/helm/onap4k8s/Makefile @@ -54,16 +54,5 @@ clean: @rm -rf $(PACKAGE_DIR)/* @rm -rf $(OUTPUT_DIR) -# start up a local helm repo to serve up helm chart packages -repo: - @mkdir -p $(PACKAGE_DIR) - @helm serve --repo-path $(PACKAGE_DIR) & - @helm repo index $(PACKAGE_DIR) - @helm repo add onap4k8s http://127.0.0.1:8879 - -# stop local helm repo -repo-stop: - @pkill helm - @helm repo remove onap4k8s %: @: |