summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deployments/kubernetes/Readme.md9
-rw-r--r--kud/hosting_providers/vagrant/README.md8
-rwxr-xr-xkud/hosting_providers/vagrant/setup.sh2
3 files changed, 18 insertions, 1 deletions
diff --git a/deployments/kubernetes/Readme.md b/deployments/kubernetes/Readme.md
index de082135..b5a99a65 100644
--- a/deployments/kubernetes/Readme.md
+++ b/deployments/kubernetes/Readme.md
@@ -12,3 +12,12 @@
**3. create ONAP4K8s v2 Microservices**
`$ kubectl apply -f onap4k8s.yaml -n onap4k8s`
+
+### Steps to cleanup packages
+**1. Cleanup ONAP4K8s v2 Microservies**
+
+`$ kubectl delete -f onap4k8s.yaml -n onap4k8s`
+
+**2. Cleanup v2 Microservices for Etcd and Mongo**
+
+`$ kubectl delete -f onap4k8sdb.yaml -n onap4k8s`
diff --git a/kud/hosting_providers/vagrant/README.md b/kud/hosting_providers/vagrant/README.md
index f0210149..3d0766b3 100644
--- a/kud/hosting_providers/vagrant/README.md
+++ b/kud/hosting_providers/vagrant/README.md
@@ -23,6 +23,14 @@ its usage. This script supports two Virtualization technologies
$ sudo ./setup.sh -p libvirt
+There is a `default.yml` in the `./config` directory which creates multiple controllers and nodes.
+There are also sample configurations in the `./config/samples` directory. To use one of the samples,
+copy it into the `./config` directory as `pdf.yml`. If a `pdf.yml` exists in the `./config`
+directory it overrides the `default.yml` when the `vagrant up` command (in the next step) is run.
+For example:
+
+ $ cp ./config/samples/pdf.yml.aio ./config/pdf.yml
+
Once Vagrant is installed, it's possible to provision a cluster using
the following instructions:
diff --git a/kud/hosting_providers/vagrant/setup.sh b/kud/hosting_providers/vagrant/setup.sh
index 00b6e86f..79bf60c4 100755
--- a/kud/hosting_providers/vagrant/setup.sh
+++ b/kud/hosting_providers/vagrant/setup.sh
@@ -107,7 +107,7 @@ case ${ID,,} in
case $VAGRANT_DEFAULT_PROVIDER in
virtualbox)
- echo "deb http://download.virtualbox.org/virtualbox/debian trusty contrib" >> /etc/apt/sources.list
+ echo "deb http://download.virtualbox.org/virtualbox/debian bionic contrib" >> /etc/apt/sources.list
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
packages+=(virtualbox-5.1 dkms)