blob: ac72b425fcb7bd77a3ce40bccda4e82e30934d97 [file] [log] [blame]
Ezhilarasie4388f52019-04-23 20:34:32 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
5Installation
6============
7
8ONAP is meant to be deployed within a Kubernetes environment. Hence, the de-facto way to deploy CDS is through Kubernetes.
9
10ONAP also package Kubernetes manifest as Chart, using Helm.
11
12Prerequisite
13============
14
15https://docs.onap.org/en/latest/guides/onap-developer/settingup/index.html
16
17Setup local Helm
18================
19
20helm repo
21
22* helm serve &
23* helm repo add local http://127.0.0.1:8879
24
25Get the chart
26=============
27
28Make sure to checkout the release to use, by replacing $release-tag in bellow command
29
30git clone https://gerrit.onap.org/r/oom
31git checkout tags/$release-tag
32cd oom/kubernetes
33make cds
34
35Install CDS
36===========
37
38helm install --name cds cds
39
40Result
41======
42
43$ kubectl get all --selector=release=cds
44NAME READY STATUS RESTARTS AGE
45pod/cds-blueprints-processor-54f758d69f-p98c2 0/1 Running 1 2m
46pod/cds-cds-6bd674dc77-4gtdf 1/1 Running 0 2m
47pod/cds-cds-db-0 1/1 Running 0 2m
48pod/cds-controller-blueprints-545bbf98cf-zwjfc 1/1 Running 0 2m
49NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
50service/blueprints-processor ClusterIP 10.43.139.9 <none> 8080/TCP,9111/TCP 2m
51service/cds NodePort 10.43.254.69 <none> 3000:30397/TCP 2m
52service/cds-db ClusterIP None <none> 3306/TCP 2m
53service/controller-blueprints ClusterIP 10.43.207.152 <none> 8080/TCP 2m
54NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
55deployment.apps/cds-blueprints-processor 1 1 1 0 2m
56deployment.apps/cds-cds 1 1 1 1 2m
57deployment.apps/cds-controller-blueprints 1 1 1 1 2m
58NAME DESIRED CURRENT READY AGE
59replicaset.apps/cds-blueprints-processor-54f758d69f 1 1 0 2m
60replicaset.apps/cds-cds-6bd674dc77 1 1 1 2m
61replicaset.apps/cds-controller-blueprints-545bbf98cf 1 1 1 2m
62NAME DESIRED CURRENT AGE
63statefulset.apps/cds-cds-db 1 1 2m