aboutsummaryrefslogtreecommitdiffstats
path: root/src/monitor
AgeCommit message (Collapse)AuthorFilesLines
2020-07-16Move status tracking CR to rsyncEric Multanen1-0/+1
Handle creation and deletion of the ResourceBundleState Custom Resource per app/cluster in the rsync microservice instead of adding it to the resources of the composite application in the orchestrator service. Issue-ID: MULTICLOUD-1125 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Id0c0639ff62e788628e78f972107a7603c27abfb
2020-07-10Update RsyncRitu Sood5-81/+991
Changed Rsync to use ordered install. Changed to use cli-runtime instead of go-client. Based on code from repo https://github.com/johandry/klient Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I4c2537cb74bd4d24a409cc1f0b7f9ee0875a4e39
2020-07-08Adds composite app status update and queryEric Multanen9-22/+127
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-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-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
2019-09-05Update package path to use githubKiran Kamineni21-32/+32
Update the package path to use the standard github.com path instead of making it a local path. This allows import from other go projects. Issue-ID: MULTICLOUD-666 Change-Id: I90ee8eba021a84e31a3dc3ab48b9edf3731e91a4 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-09-04Remove dependency on git.apache.orgKiran Kamineni2-2/+2
Remove dependency on git.apache.org Issue-ID: MULTICLOUD-666 Change-Id: I39f43f841747ab1f67cc57c587c1a31bb089869a Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-09-03Merge "Remove gopath from builds"Ritu Sood1-2/+0
2019-08-30Remove gopath from buildsKiran Kamineni1-2/+0
Remove gopath from builds as go mod does not require them. Issue-ID: MULTICLOUD-666 Change-Id: I3fa4057fb4d40c7f509a52fb82beceddc8f3e090 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-28Adding informers for CRDKiran Kamineni6-0/+456
Adding generated informers for CRD These informers will be needed when we want to watch these CRDs from the ONAP cluster Generated using generate-groups.sh from the kubernetes/code-generator repo Issue-ID: MULTICLOUD-675 Change-Id: Ib7547666efa389534f0501f8dbab14c284dd76a6 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-28Adding listers for CRDKiran Kamineni2-0/+120
Adding generated listers for CRD Generated using generate-groups.sh from the kubernetes/code-generator repo Issue-ID: MULTICLOUD-675 Change-Id: I6c68a9e98d96ed77b9e5fb78cb2458f9c0f4d55d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-28Adding typed client for CRDKiran Kamineni19-4/+963
Adding a typed client for CRD Generated using the generate-groups.sh script from the kubernetes/code-generator repo Issue-ID: MULTICLOUD-675 Change-Id: I6c712980595dfed7a8b9c51f50edfc6788372dfd Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-08-28Adding monitor operator to monitor edge resourcesKiran Kamineni29-0/+1969
Add an operator to monitor resources at the edge location. The operator listens to pods and services right now and stores their information in a CustomResource Issue-ID: MULTICLOUD-675 Change-Id: I801478a77fcd019010ea1b4388d6077f63b89d05 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>