diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-08-10 15:15:49 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2019-08-12 10:51:22 -0700 |
commit | ebc40b61c64d5f06b5fe2b4d886ed4e5748db6d3 (patch) | |
tree | 57aa45894e58677d17096c7416f44b4c24c25775 /vnfs/DAaaS/microservices/collectd-operator/deploy | |
parent | d59e778f2b97c96fe7f6c3945f4bb9c91ff01e74 (diff) |
Collectd Operator - Added TypesDB feature support
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
Diffstat (limited to 'vnfs/DAaaS/microservices/collectd-operator/deploy')
4 files changed, 0 insertions, 55 deletions
diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml deleted file mode 100644 index 60dec7c4..00000000 --- a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: onap.org/v1alpha1 -kind: CollectdGlobal -metadata: - name: example-collectdglobal -spec: - # Add fields here - globalOptions: | - BaseDir "/opt/collectd/var/lib/collectd" - PIDFile "/opt/collectd/var/run/collectd.pid" - PluginDir "/opt/collectd/lib/collectd" - TypesDB "/opt/collectd/share/collectd/types.db" - TypesDB "/opt/collectd/share/collectd/vcmts.types.db" - #Hostname "localhost" - Interval 1 - configMap: typesdb-configmap diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/cpu_collectdplugin_cr.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/cpu_collectdplugin_cr.yaml deleted file mode 100644 index d10b82af..00000000 --- a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/cpu_collectdplugin_cr.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: onap.org/v1alpha1 -kind: CollectdPlugin -metadata: - name: cpu -spec: - # Add fields here - pluginName: cpu - pluginConf: | - <Plugin "cpu"> - Interval 5 - ReportByState false - ReportByCpu false - </Plugin> - diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/memory_collectdplugin_cr.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/memory_collectdplugin_cr.yaml deleted file mode 100644 index ee051ed3..00000000 --- a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/memory_collectdplugin_cr.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: onap.org/v1alpha1 -kind: CollectdPlugin -metadata: - name: memory -spec: - # Add fields here - pluginName: "memory" - pluginConf: | - <Plugin "memory"> - Interval 30 - ValuesAbsolute false - ValuesPercentage true - </Plugin> -
\ No newline at end of file diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml deleted file mode 100644 index 1b8cf9bc..00000000 --- a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/prometheus_collectdplugin_cr.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: onap.org/v1alpha1 -kind: CollectdPlugin -metadata: - name: prometheus -spec: - # Add fields here - pluginName: "write_prometheus" - pluginConf: | - <Plugin "write_prometheus"> - Port 9103 - </Plugin> - |