aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-09Fixing the triple dash issue in YAML.Rajamohan Raj5-26/+38
In this patch, identified the root cause of failure due to triple dash and fixed it. Also reverted back to original helm charts for M3db operator. Issue-ID: MULTICLOUD-1114 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I175cd134cc751bf4b59e72c9c79e0e658a62f348
2020-07-08Merge "Update Baremetal Deployment README"Ritu Sood1-8/+113
2020-07-08Update Baremetal Deployment READMELarry Sachs1-8/+113
Updates the Baremetal README.md with info from https://wiki.onap.org/display/DW/Kubernetes+Baremetal+deployment+setup+instructions These scripts were tested on Ubuntu 18.04 Issue-ID: MULTICLOUD-1108 Change-Id: I16d41f3459deef16d156aa85a115aee57b78cf09 Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
2020-07-08Add terminate support to orchestrator and ncmEric Multanen11-113/+174
Complete the basic terminate support for the orchestrator and ncm services. 1. When terminate REST API is invoked on a deployment intent group, call the uninstall grpc api to rsync and then remove the app context. 2. When terminate REST API is invoked on a cluster, add the uninstall grpc api call to rsync to remove the network resources from the clusters. Issue-ID: MULTICLOUD-1040 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I181e891a8c7c973970af061f9ff07d80c3bb64f9
2020-07-08Adds composite app status update and queryEric Multanen26-312/+834
This patch provides the basic framework for supporting monitoring of composite application resources in clusters. 1. Updates to the monitor files for use with v2. 2. Invokes the Watcher process per cluster/app when the app is instantiated. 3. Adds a ResourceBundleState CR resource to the cluster/app so that monitor will be able to update status to it. 4. Watcher updates appropriate appcontext status object when updates are made in clusters by monitor 5. Update appcontext library to define a status handle and object at the app/cluster level 6. Labels resources with an appropriate tracking label to coordinate with the ResourceBundleState CR Issue-ID: MULTICLOUD-1042 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: If007c1fd86ca7a65bb941d1776cfd2d3afed766b
2020-07-08Add watch functionality for Status CRRitu Sood2-5/+139
Status CR gets updated when there is status update for the resources scheduled by Rsync. On change to status CR the watch in the patch will be triggered and the update can be handled. Issue-ID: MULTICLOUD-1042 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I2a46654dca29c05586dbf1e009bec89b0fa75b67
2020-07-07Fix go.mod for monitorLarry Sachs1-3/+0
Removed replace directives that were causing the local build to fail. Issue-ID: MULTICLOUD-1101 Signed-off-by: Larry Sachs <larry.j.sachs@intel.com> Change-Id: Ie6604f98a342356af0e477613d5b3840352b6b38
2020-07-07Script for M3Db deployment through orchestratorRajamohan Raj3-0/+11
In this patch, the prometheus-collectd deployment script through orchestrator is enchanced to include M3Db deployment. Issue-ID: MULTICLOUD-1114 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Idd085be16cce1e5ae00f6f70c8a265f8e74ffffa
2020-07-07Script for M3DB operator deployment through orchestratorRajamohan Raj36-51/+434
In this patch, wrote a script for auto deploy of M3DB operator through the orchestrator. Issue-ID: MULTICLOUD-1112 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ia1951c5ef0de20e9b47f6ab5330dec8db5a1c46f
2020-07-07Script for prometheus as composite app using orchestratorRajamohan Raj5-46/+642
In this patch, identified few issues with rsync and came with a work around for handling list as a kind. Wrote a scipt which can deploy prometheus as a composite app using orchestrator. Issue-ID: MULTICLOUD-1110 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ib7172c16a2f37dbc4715e59c5be217e154cd3be0
2020-07-06Update MultiCloud committer infoBin Yang1-32/+18
Change-Id: Iacb286298c9a1ab2b84ef0d09140cdf5f2cc9f9b Issue-ID: MULTICLOUD-1115 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2020-06-30Merge "Fixing issues in OpenAPI document"Ritu Sood1-353/+486
2020-06-30Merge "Fix Readme for running v2 API microservices"Ritu Sood1-3/+13
2020-06-29Fix Readme for running v2 API microservicesLarry Sachs1-3/+13
Reformat deployments/kubernetes/Readme.md file in md style. Issue-ID: MULTICLOUD-1105 Change-Id: Ie2190dec0ee8b0251bddf765b153fbccda2b912b Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
2020-06-29Fixing issues in OpenAPI documentRitu Sood1-353/+486
Issue-ID: MULTICLOUD-1096 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I949fead4770e7604322a4645aaa552c54048bd31
2020-06-29Add composite vFW demoEric Multanen38-12/+2013
Add demonstration files and test scripts to show the vFW use case as a composite application using network intents and ovnaction intents to deploy to multiple clusters. Issue-ID: MULTICLOUD-1095 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I74b837f9f97747f1eefffbcd105a6630a7b3a374
2020-06-28Remove addons from the CI buildRitu Sood1-0/+1
Running into memory issues with new addons. Experimental change to address intermittent failures. Issue-ID: MULTICLOUD-1093 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I96c1230f878ddc6c7bda34291a5b46a49bf7f481
2020-06-28Merge "ONAP4K8s helm chart"Ritu Sood98-0/+5053
2020-06-27Remove config and yaml file creationManjunath Ranganathaiah4-83/+32
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Issue-ID: MULTICLOUD-1005 Change-Id: Iaa8b70f38cf1fc1f89cf2d95fbe37c242fc44f65
2020-06-28Merge "Update cFW instruction set"Ritu Sood15-255/+464
2020-06-28Merge "Change the error message for orchestrator startup"Ritu Sood1-1/+1
2020-06-28Merge "Update Go version"Ritu Sood1-10/+1
2020-06-26Add instruction and rsync call to instantiateEric Multanen4-13/+125
This patch adds app and resource 'order' and 'dependency' instructions to the appcontext, as these are currently expected by rsync. Adds the rsync client and call to rsync to instantiate the appcontext. Issue-ID: MULTICLOUD-1064 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Iae0da9de4a0ae82bd3ab7ccc72da4abf8b7f2295
2020-06-26Merge "Instantiation and termination of a given context implementation."Ritu Sood10-17/+1144
2020-06-26Merge "Integrate M3DB and prometheus & enable remoteWrite"Ritu Sood42-5/+1666
2020-06-25Update Go versionLarry Sachs1-10/+1
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com> Change-Id: I9f8da809544d050b6da8dddc574f5d9fcb35eed2 Issue-ID: MULTICLOUD-1100
2020-06-25Merge "Integrate collectd, prometheus and grafana."Ritu Sood254-288/+80894
2020-06-25Change the error message for orchestrator startupRajamohan Raj1-1/+1
In this patch, changed the error message for orchestrator startup without the TLS. Earlier the message was bit ambiguous. Issue-ID: MULTICLOUD-1099 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Idbeefdf5b725f46a52b13ff76981e4dadbe5c86f
2020-06-24Instantiation and termination of a given context implementation.Manjunath Ranganathaiah10-17/+1144
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I60e11aaad97b60efc24a02866dc0e580507e5296
2020-06-24Merge "Update single-node KUD installation variables"Ritu Sood3-85/+1
2020-06-24Integrate M3DB and prometheus & enable remoteWriteRajamohan Raj42-5/+1666
In this patch, added the correct helm charts for M3DB, M3DB operator,and verified by deploying them on a 3-node k8s clusters. After deployment, we enable the remote write from prometheus to M3DB. So that M3Db can be used as a long term storage solution for metrics collected by prometheus. Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Issue-ID: MULTICLOUD-1098 Change-Id: I9ecba8c1341d71047685b10fc46676b1df2ee5f8
2020-06-24Integrate collectd, prometheus and grafana.Rajamohan Raj254-288/+80894
In this patch, made neccessary changes in collectd and prometheus helm charts such that prometheus can pull data from collectd. Prometheus GUI and Grafana GUI are verified as well. Issue-ID: MULTICLOUD-1082 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I39b7e20f46aa789272be671056a76dd926701068
2020-06-23Fix ovnaction cnitype key valueEric Multanen1-1/+1
Fix the annotation key value for cnitype - should be 'type' instead of 'cniType'. Issue-ID: MULTICLOUD-1094 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5b12049e9ed114dbc245c5fb219b5a735d8b7e2c
2020-06-23Update single-node KUD installation variablesKonrad Bańka3-85/+1
Single host installation requires some kubespray variables defined differently from what is currently defined by default. All-in-one installation script has been updated to provide these differences. CI-building script has been updated and removed applying variables there, as it's not specific just for CI, but for every single-node installation. Issue-ID: MULTICLOUD-1093 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I26c1835d87df41c087b8dfff9f52095083b6c160
2020-06-19Update to fix inconsistent namingRitu Sood4-34/+37
Dockerfile and Kunernetes resource files use inconsistent names. This patch is to fix inconsistent names. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: If7ea6d9ecf55196be5400ea5d2b4d3ce42f99b0f
2020-06-19ONAP4K8s helm chartRitu Sood98-0/+5053
ONAP4K8s helm chart with ONAP4K8s microservices and related items like MongoDB, etcd, Fluentd. Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-1065 Change-Id: Ibf52144b7ac44ffd96fa7175b551b10c25e652f9
2020-06-17Update cFW instruction setVictor Morales15-255/+464
The cFW example has been changed since 1.3.0 version. This commit reduces the steps to setup and provision this CNF. Its main goal is to simplify deployment process. Issue-ID: MULTICLOUD-301 Change-Id: Id96ea4b427aff4c42ecfd43b42fa5d6970c4a6df Signed-off-by: Victor Morales <v.morales@samsung.com>
2020-06-17Merge "optimize size and time using "--no-cache-dir""Ritu Sood6-12/+12
2020-06-16Status operator to update status of resourcesSrivahni Chivukula26-26/+2170
This operator monitors the status of resources like pods, services, deployments, daemonsets, configmaps etc. and updates the status in the CR accordingly. Issue-ID: MULTICLOUD-1047 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com> Change-Id: I7d92584a44c8add2df69f2985140a55b460ac037
2020-06-12Merge "Fix gRpc listen address"Ritu Sood2-4/+4
2020-06-12Merge "Adding Kubernetes resources for v2 API"Ritu Sood3-0/+450
2020-06-12Merge "Add Dockerfile for v2 Microservices"Ritu Sood3-0/+76
2020-06-10Fix gRpc listen addressRitu Sood2-4/+4
listen function doesn't work with ip address. Binding on all interfaces Issue-ID: MULTICLOUD-1019 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I57e1082d8823b349660e0fb207e29ccc9c91a762
2020-06-10Adding Kubernetes resources for v2 APIRitu Sood3-0/+450
Yaml file to start databases and v2 microservices Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I9ed4359fd972ef34e206e126e6f7a5131bd6929d
2020-06-10Add Dockerfile for v2 MicroservicesRitu Sood3-0/+76
Dockerfile for building and running microservices. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I95242d074b1ad1fa446727d849478b041e2f9829
2020-06-07Make GRPC calls and delete extra cluster handlesRajamohan Raj2-0/+74
The patch makes grpc calls for context updation for a given list of controllers and deletes the extra set of cluster handles for each anyOf cluster after context updation Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I4b946f5f130300628ef4f655213639a2444be2cc
2020-06-06optimize size and time using "--no-cache-dir"Pratik Raj6-12/+12
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: MULTICLOUD-1080 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ib79fae7e69eb669e39bc3eb52373668367460ba2
2020-06-05Implement Priority Based Controller listRajamohan Raj5-14/+310
As part of this patch, have implemented a priorityQueue based contoller list which shall contain placement contollers and action contollers listed based on their priority. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Id1beac6e3b6ec5156f64a169042d171ff28e38d6
2020-06-03Add grpc contextupdate client call to orchestratorEric Multanen13-99/+492
Adds a contextupdate client function that can be invoked for any action or placement controller to process intents for that controller. Adds the corresponding server side handling for the ovnaction controller. Issue-ID: MULTICLOUD-1019 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Ifdfc99e522288a530735bc4c1402d45449f6d057
2020-06-03Move cluster management into its own microserviceEric Multanen29-135/+2004
Split out the cluster provider and cluster APIs and packages into a separate microservice to align with the architecture. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I08f357b5a488004a2389b72a178ae33e101d1540