diff options
author | 2019-08-07 00:14:07 -0700 | |
---|---|---|
committer | 2019-08-11 21:54:15 +0000 | |
commit | 787f229616b7d26d4a712288018b83c8de6d900c (patch) | |
tree | 7f464f4e4d7a7ff2980fde552269e57b127ad36d /vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml | |
parent | 4c13499b5915842b3c6b7c493310b185d89ae040 (diff) |
Collectd Global CRD
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
Diffstat (limited to 'vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml')
-rw-r--r-- | vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml new file mode 100644 index 00000000..60dec7c4 --- /dev/null +++ b/vnfs/DAaaS/microservices/collectd-operator/deploy/crds/collectdglobal.yaml @@ -0,0 +1,15 @@ +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 |