Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
...
#Replace image ID from image: onap/sdnc-image:1.5.2
image: onap/sdnc-image:1.6.0-STAGING-20190520T202605Z

# Add sdnrwt as true at the end of the config
config:
  ...
  sdnrwt: true

# maria-db-galera
mariadb-galera:
  ...
  replicaCount: 1

# node port for ports 5-7
nodePortPrefix: 312

# set replica count to 3 as default for a SDN cluster
replicaCount: 3

service:
  ...
  internalPort5: 8085
  internalPort6: 8185
  internalPort7: 9200

  ...
  externalPort5: 8285
  nodePort5: 85

  externalPort6: 8295
  nodePort6: 86

  externalPort7: 9200
  nodePort7: 92

...

Code Block
...
spec:
  type: {{ .Values.service.type }}
  ports:
    {{if eq .Values.service.type "NodePort" -}}
    ...
    - port: {{ .Values.service.externalPort5 }}
      targetPort: {{ .Values.service.internalPort5 }}
      nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort5 }}
      name: "{{ .Values.service.portName }}-8285"
    - port: {{ .Values.service.externalPort6 }}
      targetPort: {{ .Values.service.internalPort6 }}
      nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort6 }}
      name: "{{ .Values.service.portName }}-8295"
    - port: {{ .Values.service.externalPort7 }}
      targetPort: {{ .Values.service.internalPort7 }}
      nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort7 }}
      name: "{{ .Values.service.portName }}-9200"

...

Code Block
# Copyright © 2019 Amdocs, Bell Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

###################################################################
# This override file enables helm charts for all ONAP applications.
###################################################################
cassandra:
  enabled: true
mariadb-galera:
  enabled: true
  replicaCount: 1
aaf:
  enabled: falsetrue
aai:
  enabled: true
appc:
  enabled: false
clamp:
  enabled: false
cli:
  enabled: false
consul:
  enabled: falsetrue
contrib:
  enabled: false
dcaegen2:
  enabled: falsetrue
dmaap:
  enabled: true
esr:
  enabled: false
log:
  enabled: true
sniro-emulator:
  enabled: true
oof:
  enabled: true
msb:
  enabled: falsetrue
multicloud:
  enabled: false
nbi:
  enabled: false
policy:
  enabled: true
pomba:
  enabled: false
portal:
  enabled: true
robot:
  enabled: true
sdc:
  enabled: false
sdnc:
  enabled: true
  replicaCount: 3
so:
  enabled: true
uui:
  enabled: false
vfc:
  enabled: false
vid:
  enabled: false
vnfsdk:
  enabled: false

...

Code Block
ubuntu@onap-control-1:~/oom/kubernetes$ helm ls
NAME               	REVISION	UPDATED                 	STATUS  	CHART               	APP VERSION	NAMESPACE
demo               	1       	FriThu Jun 1420 1106:5957:5824 2019	DEPLOYED	onap-4.0.0          	Dublin     	onap     
demo-aaiaaf           	1       	FriThu Jun 1420 1106:5957:5825 2019	DEPLOYED	aaiaaf-4.0.0           	           	onap     
demo-cassandraaai           	1       	FriThu Jun 1420 1206:0057:0627 2019	DEPLOYED	cassandraaai-4.0.0           	           	onap     
demo-dmaap    cassandra     	1       	FriThu Jun 1420 1206:0057:0934 2019	FAILED  DEPLOYED	dmaapcassandra-4.0.1    0     	           	onap     
demo-log   consul        	1       	FriThu Jun 1420 1206:0557:1135 2019	DEPLOYED	logconsul-4.0.0           	           	onap     
demo-mariadb-galeradcaegen2      	1       	FriThu Jun 1420 1206:0557:1237 2019	DEPLOYED	mariadb-galeradcaegen2-4.0.0.0.0      	           	onap     
demo-dmaap         	1       	Thu Jun 20 06:57:40 2019	DEPLOYED	dmaap-4.0.1         	           	onap     
demo-log           	1       	Thu Jun 20 07:06:22 2019	DEPLOYED	log-4.0.0           	           	onap     
demo-mariadb-galera	1       	Thu Jun 20 07:06:23 2019	DEPLOYED	mariadb-galera-4.0.0	           	onap     
demo-msb           	1       	Thu Jun 20 07:06:24 2019	DEPLOYED	msb-4.0.0           	           	onap     
demo-oof           	1       	FriThu Jun 1420 1207:0506:1527 2019	DEPLOYED	oof-4.0.0           	           	onap     
demo-policy        	1       	FriThu Jun 1420 1207:0506:2030 2019	DEPLOYED	policy-4.0.0        	           	onap     
demo-portal        	1       	FriThu Jun 1420 1207:0506:2333 2019	DEPLOYED	portal-4.0.0        	           	onap     
demo-robot         	1       	FriThu Jun 1420 1207:0506:2535 2019	DEPLOYED	robot-4.0.0         	           	onap     
demo-sdnc          	1       	FriThu Jun 1420 1207:0506:2637 2019	DEPLOYED	sdnc-4.0.0          	           	onap     
demo-sniro-emulator	1       	FriThu Jun 1420 1207:0506:2940 2019	DEPLOYED	sniro-emulator-4.0.0	           	onap     
demo-so            	1       	FriThu Jun 1420 1207:0506:3040 2019	DEPLOYED	so-4.0.0            	           	onap     
ubuntu@onap-control-1:~/oom/kubernetes$
Note

The 'dmaap' fails to deploy. This is being debugged.


Undeploy ONAP

For the release name 'demo' and namespace 'onap':

Code Block
helm undeploy demo --purge
kubectl get persistentvolumeclaims -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumeclaims -n onap \1/' | bash
kubectl get persistentvolumes      -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete persistentvolumes      -n onap \1/' | bash
kubectl get secrets                -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete secrets                -n onap \1/' | bash
kubectl get clusterrolebindings    -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete clusterrolebindings    -n onap \1/' | bash
kubectl get jobs                   -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete jobs                   -n onap \1/' | bash
kubectl get pods                   -n onap | grep demo | sed -r 's/(^[^ ]+).*/kubectl delete pods                   -n onap \1/' | bash

Access SDN-R

ODLUX-GUI