Skip to main content

Generate a Trident protect support bundle

Contributors netapp-mwallis

Trident protect enables administrators to generate bundles that include information useful to NetApp Support, including logs, metrics, and topology information about the clusters and apps under management. If you are connected to the Internet, you can upload support bundles to the NetApp Support Site (NSS) using a custom resource (CR) file.

Steps
  1. Create the custom resource (CR) file and name it (for example, trident-protect-support-bundle.yaml).

  2. Configure the following attributes:

    • metadata.name: (Required) The name of this custom resource; choose a unique and sensible name for your environment.

    • spec.triggerType: (Required) Determines whether the support bundle is generated immediately, or scheduled. Scheduled bundle generation happens at 12AM UTC. Possible values:

      • Scheduled

      • Manual

    • spec.uploadEnabled: (Optional) Controls whether the support bundle should be uploaded to the NetApp Support Site after it is generated. If not specified, defaults to false. Possible values:

      • true

      • false (default)

    • spec.dataWindowStart: (Optional) A date string in RFC 3339 format that specifies the date and time that the window of included data in the support bundle should begin. If not specified, defaults to 24 hours ago. The earliest window date you can specify is 7 days ago.

      Example YAML:

      ---
      apiVersion: protect.trident.netapp.io/v1
      kind: AutoSupportBundle
      metadata:
        name: trident-protect-support-bundle
      spec:
        triggerType: Manual
        uploadEnabled: true
        dataWindowStart: 2024-05-05T12:30:00Z
      YAML
  3. After you populate the astra-support-bundle.yaml file with the correct values, apply the CR:

    kubectl apply -f trident-protect-support-bundle.yaml
    Console