From b56305ac7456bbf34823d749aa5f33b22bd1fa4c Mon Sep 17 00:00:00 2001 From: Prashant Jaikumar Date: Thu, 17 Aug 2023 23:41:35 -0700 Subject: [PATCH] Support bundle script: fix help text Clarify that the runtime namespace refers to the k8s namespace where the pipeline runs, not the associated CDAP namespace --- cdap-support-bundle/bin/collect_support_bundle.md | 2 +- cdap-support-bundle/bin/collect_support_bundle.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdap-support-bundle/bin/collect_support_bundle.md b/cdap-support-bundle/bin/collect_support_bundle.md index 04a61edc2ce7..b583bd9f4e37 100644 --- a/cdap-support-bundle/bin/collect_support_bundle.md +++ b/cdap-support-bundle/bin/collect_support_bundle.md @@ -28,7 +28,7 @@ The CDAP Support Bundle Script takes the following command-line arguments: 6. --run-id, -r : The run ID of the pipeline, if you want to collect logs for a failed pipeline run. -7. --runtime-namespace, -t : The runtime namespace, which is the namespace where the pipeline is running. Default is set to "default". +7. --runtime-namespace, -t : The runtime namespace, which is the kubernetes namespace where the pipeline is running. Default is set to "default". **Support Bundle Script Execution** ----------------------------------- diff --git a/cdap-support-bundle/bin/collect_support_bundle.py b/cdap-support-bundle/bin/collect_support_bundle.py index df13767b741b..76c8d6a7d225 100644 --- a/cdap-support-bundle/bin/collect_support_bundle.py +++ b/cdap-support-bundle/bin/collect_support_bundle.py @@ -73,7 +73,7 @@ parser.add_argument( "--runtime-namespace", "-t", - help="CDAP Runtime namespace. Namespace where pipeline is running", + help="Kubernetes namespace where pipeline is running", type=str, default="default" ) @@ -716,4 +716,4 @@ def log_commands_processor(commandLists, directoryName, cdap_ns, pipeline_name, if __name__ == "__main__": args = parser.parse_args() - main(args.kube_namespace, args.username, args.password, args.cdap_ns, args.pipeline_name, args.run_id, args.runtime_namespace) \ No newline at end of file + main(args.kube_namespace, args.username, args.password, args.cdap_ns, args.pipeline_name, args.run_id, args.runtime_namespace)