aboutsummaryrefslogtreecommitdiffstats
path: root/deployments/kubernetes/Readme.md
blob: b5a99a65ab0fd07953604b0e4f837a6ae91d4e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Steps for running v2 API microservices

### Steps to install packages
**1. Create namespace for ONAP4K8s v2 Microservices**

`$ kubectl create namespace onap4k8s`

**2. Create Databases used by ONAP4K8s v2 Microservices for Etcd and Mongo**

`$ kubectl apply -f onap4k8sdb.yaml -n onap4k8s`

**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`