aboutsummaryrefslogtreecommitdiffstats
path: root/deployments
AgeCommit message (Collapse)AuthorFilesLines
2020-07-08Adds composite app status update and queryEric Multanen1-0/+16
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-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-29Add composite vFW demoEric Multanen1-0/+4
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-28Merge "ONAP4K8s helm chart"Ritu Sood98-0/+5053
2020-06-19Update to fix inconsistent namingRitu Sood1-20/+20
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-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-05-27Update the Kubernetes Version to 1.16Yao Le6-5/+24
Update kubespray to 2.12 to deploy Kubernetes 1.16 Issue-ID: MULTICLOUD-1063 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I537f6395e5d05d8b72411dd1e0789e19972f1947
2020-04-01Update image version of k8spluginRitu Sood1-1/+1
Update image version of k8splugin to 0.6.0-SNAPSHOT Issue-ID: MULTICLOUD-870 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I7e21d35958d432ebdd63544a3a9254f0fd115c8c
2019-12-03Merge "Adding Istio rbac roles for multicloud-k8s"Kiran Kamineni7-0/+208
2019-12-03Merge "Upgrade istio-operator"Kiran Kamineni19-31/+2207
2019-10-25Upgrade istio-operatorPramod19-31/+2207
Issue-ID: AAF-1023 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I863a06ee8f504febb822d02c054860065ad888b9
2019-10-17Update image path to dockerhubKiran Kamineni1-2/+2
Updated image path to use the image from dockerhub instead of nexus3 Issue-ID: MULTICLOUD-666 Change-Id: Ia6ceba734a4b8ee2aeb84c83f8623ffb8e20847b Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-10-01Adding Istio rbac roles for multicloud-k8sPramod7-0/+208
This is used to grant role based access to user Issue-ID: MULTICLOUD-790 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Icf064af7943b337f2cb83c3b4fa29bfb54f5b999
2019-09-24Merge "Add helm chart for Istio Policies"Kiran Kamineni5-0/+107
2019-09-23Add helm chart for Istio PoliciesPramod5-0/+107
Issue-ID: MULTICLOUD-789 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I16d1c1df0e9d8955040c78f5e67e1dd50e761040
2019-09-23Helm chart for multicloud-k8s connectivityPramod11-0/+291
This patch has ISTIO components required to expose the multicloud-k8s application outside the servicemesh Issue-ID: MULTICLOUD-787 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I4805520666ec653e9845432b85afdc1ce0ef1db9
2019-09-05Update image version of k8spluginKiran Kamineni1-1/+1
Update image version of k8splugin to 0.5.0-SNAPSHOT This will be then be used to create the release image Issue-ID: MULTICLOUD-666 Change-Id: I8d756a0385762f3ae6944f97e555a02ccadfdd2f Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-09-05Remove GOPATHKiran Kamineni1-1/+0
Remove GOPATH in docker build script Issue-ID: MULTICLOUD-666 Change-Id: Ia9845d6bd8d7c12477a8bcf2373c7a3c8edf24b2 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-09-05Remove ovn4nfvk8s network pluginKonrad Bańka2-9/+0
As ovn4nfv networks are now handled on k8s side by created CRD, this plugin is no longer necessary. Removed all references to ovn Issue-ID: MULTICLOUD-733 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I7ad6c6d9b3b4fd8f249796f437e69c7df4e701cc
2019-08-29Merge "Adding Helm charts of Multicloud-K8s"Kiran Kamineni38-0/+1823
2019-08-29Add helm chart for Keycloak serverPramod7-0/+1791
Keycloak is an Authentication and Authorization oauth2.0 server Issue-ID: MULTICLOUD-714 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I6c9084aacbcc6ad193db789dfb7b0ed491d0b201
2019-08-28Adding Helm charts of Multicloud-K8sPramod38-0/+1823
To have seperate copy for ONAP4K8s Issue-ID: MULTICLOUD-771 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Ie6bbb17370253f0a115502694b8579b46366d241
2019-08-20Merge "Adding Helm charts of MetalLB"Kiran Kamineni12-0/+705
2019-08-14Adding Helm charts of MetalLBPramod12-0/+705
MetalLB is the loadbalancer for Kubernetes Issue-ID: MULTICLOUD-747 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Ic07877234f9b0f80cb636f7b4e3c265b8be8a945
2019-08-14Helm charts for Istio deploymentPramod6-0/+216
This Chart will deploy istio in SDS configuration and enables istio sidecar injection in required namespace Issue-ID: MULTICLOUD-711 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: I9a4dd781c14c2dc2bb1ee8ca648e3c8911ac1fe1
2019-08-05Helm chart to deploy Istio-operatorPramod12-0/+1632
Istio-operator is required to manage the lifecycle and deployments of Istio Issue-ID: MULTICLOUD-710 Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com> Change-Id: Ifd2d05e790148096b5c0b454208e233aa5a299f9
2019-07-23Provide ovn-central-address for local deploymentsKonrad Bańka1-1/+6
K8splugin served with docker-compose doesn't utilize ovn-central-address configured in host environment. Function responsible for generating config file has been modified to provide this information if available. Issue-ID: MULTICLOUD-708 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: Ie3c27c68c02a0e206f6447e8c4330e18af942cd8
2019-05-31Starting of k8splugin with docker-compose is brokendublinSamuli Silvius5-59/+80
docker-compose.yml and start.sh script cannot be used in installer.sh to start k8splugin and mongo. This commit modifies start.sh script to be usable in installer.sh to start plugin before tests. Also fixed kud_tests variable in installer.sh. Issue-ID: MULTICLOUD-640 Change-Id: I60cc850d6f5b58df574f79ad3c65b801c59b3a14 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-06Make service port configurable0.1.0Kiran Kamineni2-1/+2
Service port should be configurable. This patch removes the hardcoded value. The default value is 9015 Issue-ID: MULTICLOUD-609 Change-Id: Iae05f42bd06ecd061ec68a3a7c4a4a87f33b22fa Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-23Remove unused variables dockerfileKiran Kamineni1-6/+0
Remove unused environment variables from dockerfile Issue-ID: MULTICLOUD-575 Change-Id: I078d0e176e939a939cb141dcef1b52828cdb2b3a Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-23Merge "Add plugin to the folder names"Bin Yang1-3/+3
2019-04-22Add plugin to the folder namesKiran Kamineni1-3/+3
Make the folder name as k8splugin in keeping with the repository name and other references. Issue-ID: MULTICLOUD-581 Change-Id: Ida36877d0aa4ce156c11bdce9b91cb06f6aee8f9 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-19Move configuration into config filesKiran Kamineni1-7/+13
Move k8splugin configuration into config files instead of using environment variables. Issue-ID: MULTICLOUD-579 Change-Id: I7b76d5a14d24f002a8db484097a31fb5e908b6f8 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-17Fix docker buildKiran Kamineni1-1/+1
Docker build is broken. This patch fixes it. Issue-ID: MULTICLOUD-575 Change-Id: I0edc900dfc66baa409c92eb656bd5d7886d6aa40 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-10Using the --chown flag to reduce image sizeKiran Kamineni1-2/+3
Patch to reduce the size of the docker image for multicloud/k8s image Reduces size by about 300mb Issue-ID: MULTICLOUD-350 Change-Id: I240c57267180c020b659795ea965f5c0877252fc Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-20Merge "Switch to xenial Docker image"Bin Yang1-1/+1
2019-03-12Push latest tagKiran Kamineni1-0/+1
Push latest tag during the nightly docker build along with the snapshot version that we already push Issue-ID: MULTICLOUD-526 Change-Id: Ifb5e27c8d86577e54d5dad9ce1d8320b422fec62 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-07Switch to xenial Docker imageVictor Morales1-1/+1
The Ubuntu Xenial Docker image has lower footprint than Trusty, besides more security patches. This change modifies the Dockerfile that is used for building the Docker image. Change-Id: I89228ef555668aad1e621973fd33481ce49499d3 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-25Change Docker execution permissionsVictor Morales1-0/+4
The k8s pluging is running with root user in the Docker image, this execution can compromise the host system. Therefore, it's necessary to explicit change those permissions. Change-Id: I2455895662c68943f5c8800dfff1aaf6202bd870 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-492
2019-02-14Adding the keyword SNAPSHOT to build script.Akhila Kishore1-1/+1
This fixes the version tag for K8s plugin modifying the image name. Change-Id: Ie88279200607dfe4338b2490647cf02a4e2d056c Issue-ID: MULTICLOUD-301 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-01-06Refactor docker-compose variablesVictor Morales3-19/+23
The default environment variables required by docker-compose.yml file was exported to .env file to have better control on them. Change-Id: I52408cbf6e6918621a10158866d899d5f66a47eb Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-12-19Merge "Add Network and OVN4NFV Plugins"Victor Morales1-1/+7
2018-12-14Migrating from consul to mongodb for backendKiran Kamineni2-14/+9
Migrating to mongodb from consul. The main reason being the value size limitation of 512kb in consul. See https://jira.onap.org/browse/MULTICLOUD-426 for details. This requires a little bit of hierarchy management and data management. We are no longer converting structs to json encoded strings. The underlying db supports structs without any modifications. Also, since Mongo has the concept of collections, each submodule can use its own collection for storage as needed. Definition uses a collection called rbdef right now. P10: Enabling unit tests for mongo.go. This requires the usage of aliased functions. P11: Expanded unit tests for all functions in mongo.go P12: Refactored parameter validation. Removed TestHealthCheck as we are not mocking any of the db commands right now Checking return value of read with an expected value P13: Adding back consul support. Fixing functional test Full consul implementation check and modifications is being tracked by MULTICLOUD-427 P15: Fix ReadAll unit test and corresponding code ReadAll now returns error when no objects are found Issue-ID: MULTICLOUD-426 Change-Id: I42d239b324025fc4ef4e561790aceeff794001ef Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-12-07Enable downloading binaries and containersVictor Morales1-1/+3
The *download_run_once* kubespray config option allows to download container images only once then push to cluster nodes and the *download_localhost* option makes the installer node a delegate for pushing images while running the deployment with ansible. These two options pretends to reduce the amount of traffic during the deployment time of the Kubernetes cluster. Change-Id: I8239cebbf5c322ed52ae0a0bc8774e5e33aada3c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-425
2018-12-05Add Network and OVN4NFV PluginsRitu Sood1-1/+7
This patch includes support for Network Objects through a new plugin. It also add the first sub-module plugin for OVN4NFVK8s support. Change-Id: Ia23c42d50f75a5206e1b6a04052c34e940518428 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-303
2018-11-07Fix start.sh scriptVictor Morales1-1/+2
The start bash script is used during development phase to quickly test some changes in source code. This script requires to get the IP address of the Consul database and export the image name. This change fixes those instructions Change-Id: I73c4c4be0a9476304bedcd4c62a723ff1ecc7f7c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-31Migrate from dep to go modKiran Kamineni1-1/+1
Migrate from dep to go mod which is native package management functionality in golang 1.11 Issue-ID: MULTICLOUD-392 Change-Id: I9a94cb38bd230738d7d0e586e6956b7a46472dd7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-19Merge "Improve build process"Bin Yang3-16/+52
2018-10-19Merge "Add License headers"Victor Morales1-0/+9