docs | title | toc | weight | type | ||
---|---|---|---|---|---|---|
DOCS-1123 |
Create a support package from a Helm installation |
true |
200 |
|
{{< include "/nim/decoupling/note-legacy-nms-references.md" >}}
Use the Kubernetes support package script to collect system and service information for troubleshooting and debugging. The script packages the data into a tar archive that you can share with [NGINX Customer Support]({{< ref "nim/support/contact-support.md" >}}).
To follow this guide, ensure you have:
bash
4.0 or higher.
The F5 NGINX Instance Manager Helm chart includes the k8s-support-package.sh
script located at:
/support-package/k8s-support-package.sh
.
-
Download the latest NGINX Instance Manager Helm chart:
helm repo add nginx-stable https://helm.nginx.com/stable helm repo update helm pull nginx-stable/nms tar zxvf nms-<version>.tgz
-
Run the Kubernetes support package script. For available options, refer to the arguments section:
bash ./nms/charts/nms-hybrid/support-package/k8s-support-package.sh
The support package is saved in the directory where the script is run.
-
Extract the package using the
tar
command:tar -xvf k8s-support-pkg-<timestamp>.tar.gz
The table below lists arguments available for the Kubernetes support package script.
Short | Long | Description | Example | Default |
---|---|---|---|---|
-h |
--help |
Prints information about the script arguments to stdout . |
--help |
N/A |
-o |
--output_dir |
Specifies the output directory for the tar archive. | -o ~/output |
$(pwd) |
-n |
--namespace |
Specifies the namespace of the Helm installation. | -n nms |
<none> |
-xd |
--exclude_databases |
Excludes Dqlite database backup data. | -xd |
False |
-xt |
--exclude_timeseries |
Excludes ClickHouse time series data. | -xt |
False |
-m |
--modules |
Includes specific modules in Dqlite database backup data. | -m acm |
False |
The Kubernetes support package includes directories with detailed information about your cluster, namespace, application, and database state.
A log of all output generated by the k8s-support-package.sh
script.
A snapshot of the Helm chart files in the parent directory, excluding the directory where the script runs.
Versions of:
- Helm chart
kubectl
toolhelm
tool- NGINX gateway
- ClickHouse
Cluster-related data, including:
- Cluster details
- Node information
- Storage class configurations
Namespace-specific details, including:
- General namespace data
- Events
- API version
- API services and resources
Application-related information for NGINX Instance Manager:
- Deployments
- Services
- Persistent Volumes and Claims
- Secrets and Configmaps
- Pods
Logs of processes for NGINX Instance Manager, NGINX gateway, and ClickHouse. Files in this directory follow the naming convention: pod_name-<timestamp>.logs
.
Status and state details for each pod, including:
- Operating system version
- Environment variables
- Running processes
The script uses the dqlite-backup
executable (located in /etc/nms/scripts/
within relevant containers) to collect database dumps. Data is saved in:
dqlite/core
dqlite/dpm
dqlite/integrations
If the --modules
flag is specified, data is saved to dqlite/<moduleName>
.
Contains metrics, events, and statistics from the nms
ClickHouse database.