aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/collectd-operator/deploy
AgeCommit message (Collapse)AuthorFilesLines
2019-08-12Collectd Operator - Added TypesDB feature supportDileep Ranganathan4-55/+0
Added support for typesDB. CollectGlobal CR can now add, update, delete TypesDB and custom TypesDB to the conf. This is achieved via creating a configmap for the types.db files and then passing the configmap name in the CR Spec. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Idb27d7981c72f67863f193bd5013f6907362ede9
2019-08-11Collectd Global CRDDileep Ranganathan4-2/+82
This patch introduces an enhancement to the existing Collectd Operator. It has now 2 CRDS CollectdGlobal and CollectdPlugin and corresponding controllers. CollectdGlobal is used to specify the global options of collectd conf and CollectdPlugin is used to load/unload plugins. Added synchronization when both controllers try to fetch the same resources. Refactored some of the common code to collectdutils. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Id2edf6fa6de56d9d7216ebb258b3017661c6a3dd
2019-07-22Added Status Handler for Collectd OperatorDileep Ranganathan1-6/+5
Added status handler for secodary resources like Daemonset updates Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I8b5cac7dde9afe355be9468fc5c925b658c78fc6
2019-06-26Fixed Label selector for Collectd OperatorDileep Ranganathan1-1/+3
Fixed issue with hard-coded label selector Current solution expects the label selector to be passed from environment variable inside the operator container, else will use the default label selector. Added more robust error handling. Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Ic99042c4fb4770e47504bdecf960c6ea8619431e
2019-06-25Added CollectdPlugin delete event handlerDileep Ranganathan1-3/+0
Features added: Added finalizer to handle deletion event Added status subresource handling Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: Id0ada92ce077c9d7573be385dc92a9812800d970
2019-06-21Sample CollectdPlugin CR for write_prometheusDileep Ranganathan1-0/+12
Added sample custom resource CollectdPlugin for enabling write_prometheus Issue-ID: ONAPARC-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I9a037beb1efd7abd1842c7b4941377174444a1b4
2019-06-12Fix the Collectd operator panic issueDileep Ranganathan4-2/+21
Fixed the panic issue as the daemonset was used instead of DaemonsetList. Improved the logging to get data from configmap. Filters used to query ConfigMap was wrong. Issue-ID: OPTFRA-461 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com> Change-Id: I14807f7b254ccc0636b5cef6d58b4b6cc0c0e375
2019-05-30Refactor Distributed Analytics project structureDileep Ranganathan6-0/+169
Modified the project structure to improve maintainability and to add future CI and integration test support. Change-Id: Id30bfb1f83f23785a6b5f99e81f42f752d59c0f8 Issue-ID: ONAPARC-280 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>