diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2020-03-06 19:29:20 +0200 |
---|---|---|
committer | Samuli Silvius <s.silvius@partner.samsung.com> | 2020-03-09 16:13:51 +0200 |
commit | 523796ad09130868e8e31e942cd4d9712eb75934 (patch) | |
tree | a3ac00e533a442ab2d1a5f55da11ce64164dd8b2 /heat/vFW_CNF_CDS/templates/tools/tail_config | |
parent | 367417cd7957916dffffef5d85e7cca304367c53 (diff) |
Helper script for tailing POD logs
Simple way of utilizing kubectl to collect or tail POD logs.
Supports tailing/collecting "kubectl logs" and any file content
inside the POD container.
Multiple PODs/containers and logs tailing/collecting started/collected
with single command. POD and logs are configured in tail_config file.
Issue-ID: INT-1260
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Change-Id: I9e00e5f503fee2f86b75b1333973fd1569ae5aab
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/tools/tail_config')
-rw-r--r-- | heat/vFW_CNF_CDS/templates/tools/tail_config | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/tools/tail_config b/heat/vFW_CNF_CDS/templates/tools/tail_config new file mode 100644 index 00000000..ca19623c --- /dev/null +++ b/heat/vFW_CNF_CDS/templates/tools/tail_config @@ -0,0 +1,17 @@ +#!/bin/bash + +NAMESPACE="onap" + +TAILS=( + "/app/logs/apih/metrics.log so" + "/app/logs/bpmn/debug.log so-bpmn-infra" + "/app/logs/vnfm-adapter/debug.log so-vnfm-adapter" + "/var/log/onap/sdnc/karaf.log sdnc" + "/tmp/app.out network-name-gen" + "POD_LOG cds-blueprints-processor" + "POD_LOG multicloud multicloud" + "POD_LOG multicloud-k8s multicloud-k8s" + "POD_LOG multicloud-k8s framework-artifactbroker" + "/app/logs/openstack/error.log so-openstack-adapter" + "/app/logs/openstack/debug.log so-openstack-adapter" +) |