- kubectl get pods | grep policy
-
- brmsgw ClusterIP 10.43.77.177 <none> 9989/TCP 5d15h app=brmsgw,release=dev-policy
- drools ClusterIP 10.43.167.154 <none> 6969/TCP,9696/TCP 5d15h app=drools,release=dev-policy
- nexus ClusterIP 10.43.239.92 <none> 8081/TCP 5d15h app=nexus,release=dev-policy
- pap NodePort 10.43.207.229 <none> 8443:30219/TCP,9091:30218/TCP 5d15h app=pap,release=dev-policy
- pdp ClusterIP None <none> 8081/TCP 5d15h app=pdp,release=dev-policy
- policy-apex-pdp ClusterIP 10.43.226.0 <none> 6969/TCP 5d15h app=policy-apex-pdp,release=dev-policy
- policy-api ClusterIP 10.43.102.56 <none> 6969/TCP 5d15h app=policy-api,release=dev-policy
- policy-distribution ClusterIP 10.43.4.211 <none> 6969/TCP 5d15h app=policy-distribution,release=dev-policy
- policy-pap ClusterIP 10.43.175.164 <none> 6969/TCP 5d15h app=policy-pap,release=dev-policy
- policy-xacml-pdp ClusterIP 10.43.181.208 <none> 6969/TCP 5d15h app=policy-xacml-pdp,release=dev-policy
- policydb ClusterIP 10.43.93.233 <none> 3306/TCP 5d15h app=policydb,release=dev-policy
-
-Some of these pods are shared between the legacy components and the latest framework components, while others are not.
-
-.. csv-table::
- :header: "Policy Pod", "Latest Framework", "Legacy"
- :widths: 15,10,10
-
- "brmsgw", "", "yes"
- "drools", "yes", "yes"
- "nexus", "yes", "yes"
- "pap", "", "yes"
- "pdp", "", "yes"
- "policy-apex-pdp", "yes", ""
- "policy-api", "yes", ""
- "policy-distribution", "yes", "yes"
- "policy-pap", "yes", ""
- "policy-xacml-pdp", "yes", ""
- "policydb", "yes", "yes"
-
-Accessing Policy Containers
-***************************
+ helm repo add strimzi https://strimzi.io/charts/
+ helm install strimzi-kafka-operator strimzi/strimzi-kafka-operator --namespace strimzi-system --version 0.32.0 --set watchAnyNamespace=true --create-namespace
+
+Once these are installed and running, we can move on to the installation of the policy and related helm charts
+
+Policy and Related Helm Chart Install
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+At this stage, we have all the required charts that we need for either Policy Framework or ACM installation. The command to deploy the charts is below
+
+.. code-block:: bash
+
+ helm deploy dev local/onap --namespace onap -f ~/override.yaml --create-namespace
+
+In the above **helm deploy** command we provide an override file called **override.yaml**. In this file, we can turn on/off different parts of the onap installation. we have provided 2 different override files below in the collapsable code. One is for just the policy components and requirements. One is for the ACM components and requirements. These are provided just as examples - you can adjust any way you see fit.
+
+.. collapse:: Policy Chart Override
+
+ .. code-block:: yaml
+
+ global:
+ repository: nexus3.onap.org:10001
+ pullPolicy: IfNotPresent
+ masterPassword: password
+ serviceMesh:
+ enabled: false
+ cmpv2Enabled: false
+ addTestingComponents: false
+ robot:
+ enabled: false
+ so:
+ enabled: false
+ cassandra:
+ enabled: false
+ mariadb-galera:
+ enabled: true
+ replicaCount: 1
+ appc:
+ enabled: false
+ sdnc:
+ enabled: false
+ replicaCount: 1
+ config:
+ enableClustering: false
+ aaf:
+ enabled: false
+ aai:
+ enabled: false
+ clamp:
+ enabled: false
+ cli:
+ enabled: false
+ cds:
+ enabled: false
+ consul:
+ enabled: false
+ contrib:
+ enabled: false
+ awx:
+ enabled: false
+ netbox:
+ enabled: false
+ dcaegen2:
+ enabled: false
+ pnda:
+ enabled: false
+ dmaap:
+ enabled: true
+ message-router:
+ enabled: true
+ dmaap-bc:
+ enabled: false
+ dmaap-dr-prov:
+ enabled: false
+ dmaap-dr-node:
+ enabled: false
+ dmaap-strimzi:
+ enabled: false
+ esr:
+ enabled: false
+ log:
+ enabled: false
+ sniro-emulator:
+ enabled: false
+ oof:
+ enabled: false
+ msb:
+ enabled: false
+ multicloud:
+ enabled: false
+ nbi:
+ enabled: false
+ pomba:
+ enabled: false
+ portal:
+ enabled: false
+ platform:
+ enabled: false
+ sdc:
+ enabled: false
+ uui:
+ enabled: false
+ vfc:
+ enabled: false
+ vid:
+ enabled: false
+ modeling:
+ enabled: false
+ cps:
+ enabled: false
+ vnfsdk:
+ enabled: false
+ vvp:
+ enabled: false
+ strimzi:
+ enabled: true
+ replicaCount: 1
+ persistence:
+ kafka:
+ size: 1Gi
+ zookeeper:
+ size: 256Mi
+ strimzi-kafka-bridge:
+ enabled: false
+ policy:
+ enabled: true
+ policy-clamp-ac-a1pms-ppnt:
+ enabled: false
+ policy-clamp-ac-k8s-ppnt:
+ enabled: false
+ policy-clamp-ac-http-ppnt:
+ enabled: false
+ policy-clamp-ac-pf-ppnt:
+ enabled: false
+ policy-clamp-runtime-acm:
+ enabled: false
+ policy-gui:
+ enabled: false
+ policy-apex-pdp:
+ enabled: true
+ policy-nexus:
+ enabled: false
+ policy-api:
+ enabled: true
+ policy-pap:
+ enabled: true
+ policy-xacml-pdp:
+ enabled: true
+ policy-drools-pdp:
+ enabled: true
+ policy-distribution:
+ enabled: true
+
+.. collapse:: ACM Chart Override
+
+ .. code-block:: yaml
+
+ global:
+ repository: nexus3.onap.org:10001
+ pullPolicy: IfNotPresent
+ masterPassword: password
+ serviceMesh:
+ enabled: false
+ cmpv2Enabled: false
+ addTestingComponents: false
+ robot:
+ enabled: false
+ so:
+ enabled: false
+ cassandra:
+ enabled: false
+ mariadb-galera:
+ enabled: true
+ replicaCount: 1
+ appc:
+ enabled: false
+ sdnc:
+ enabled: false
+ replicaCount: 1
+ config:
+ enableClustering: false
+ aaf:
+ enabled: false
+ aai:
+ enabled: false
+ clamp:
+ enabled: false
+ cli:
+ enabled: false
+ cds:
+ enabled: false
+ consul:
+ enabled: false
+ contrib:
+ enabled: false
+ awx:
+ enabled: false
+ netbox:
+ enabled: false
+ dcaegen2:
+ enabled: false
+ pnda:
+ enabled: false
+ dmaap:
+ enabled: true
+ message-router:
+ enabled: true
+ dmaap-bc:
+ enabled: false
+ dmaap-dr-prov:
+ enabled: false
+ dmaap-dr-node:
+ enabled: false
+ dmaap-strimzi:
+ enabled: false
+ esr:
+ enabled: false
+ log:
+ enabled: false
+ sniro-emulator:
+ enabled: false
+ oof:
+ enabled: false
+ msb:
+ enabled: false
+ multicloud:
+ enabled: false
+ nbi:
+ enabled: false
+ pomba:
+ enabled: false
+ portal:
+ enabled: false
+ platform:
+ enabled: false
+ sdc:
+ enabled: false
+ uui:
+ enabled: false
+ vfc:
+ enabled: false
+ vid:
+ enabled: false
+ modeling:
+ enabled: false
+ cps:
+ enabled: false
+ vnfsdk:
+ enabled: false
+ vvp:
+ enabled: false
+ strimzi:
+ enabled: true
+ replicaCount: 1
+ persistence:
+ kafka:
+ size: 1Gi
+ zookeeper:
+ size: 256Mi
+ strimzi-kafka-bridge:
+ enabled: false
+ policy:
+ enabled: true
+ policy-clamp-ac-a1pms-ppnt:
+ enabled: true
+ policy-clamp-ac-k8s-ppnt:
+ enabled: true
+ policy-clamp-ac-http-ppnt:
+ enabled: true
+ policy-clamp-ac-pf-ppnt:
+ enabled: true
+ policy-clamp-runtime-acm:
+ enabled: true
+ policy-gui:
+ enabled: false
+ policy-apex-pdp:
+ enabled: false
+ policy-nexus:
+ enabled: false
+ policy-api:
+ enabled: true
+ policy-pap:
+ enabled: true
+ policy-xacml-pdp:
+ enabled: false
+ policy-drools-pdp:
+ enabled: false
+ policy-distribution:
+ enabled: false
+
+|
+
+Policy/ACM Pods
+***************
+To get a listing of the Policy or ACM Pods, run the following command:
+
+.. code-block:: bash
+
+ kubectl get pods -n onap | grep dev-policy
+
+ dev-policy-59684c7b9c-5gd6r 2/2 Running 0 8m41s
+ dev-policy-apex-pdp-0 1/1 Running 0 8m41s
+ dev-policy-api-56f55f59c5-nl5cg 1/1 Running 0 8m41s
+ dev-policy-distribution-54cc59b8bd-jkg5d 1/1 Running 0 8m41s
+ dev-policy-mariadb-0 1/1 Running 0 8m41s
+ dev-policy-xacml-pdp-765c7d58b5-l6pr7 1/1 Running 0 8m41s
+
+.. note::
+ To get a listing of the Policy services, run this command:
+ kubectl get svc -n onap | grep policy
+
+Accessing Policy/ACM Containers
+*******************************