Select a documentation version: <button class="button button-with-icon cloud-select-dropdown__button button-primary" aria-haspopup="true">17.7.0</button>

- [Current (18.4.0)](https://docs.cloud.google.com/alloydb/omni/kubernetes/current/docs/capture-debug-snapshot.md.txt)
- [18.4.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.4.0/docs/capture-debug-snapshot.md.txt)
- [18.3.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.3.0/docs/capture-debug-snapshot.md.txt)
- [18.1.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/18.1.0/docs/capture-debug-snapshot.md.txt)
- [17.10.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.10.0/docs/capture-debug-snapshot.md.txt)
- [17.9.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.9.0/docs/capture-debug-snapshot.md.txt)
- [17.7.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.7.0/docs/capture-debug-snapshot.md.txt)
- [17.5.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/17.5.0/docs/capture-debug-snapshot.md.txt)
- [16.14.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.14.0/docs/capture-debug-snapshot.md.txt)
- [16.13.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.13.0/docs/capture-debug-snapshot.md.txt)
- [16.11.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.11.0/docs/capture-debug-snapshot.md.txt)
- [16.9.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/16.9.0/docs/capture-debug-snapshot.md.txt)
- [15.18.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.18.0/docs/capture-debug-snapshot.md.txt)
- [15.17.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.17.0/docs/capture-debug-snapshot.md.txt)
- [15.15.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.15.0/docs/capture-debug-snapshot.md.txt)
- [15.13.0](https://docs.cloud.google.com/alloydb/omni/kubernetes/15.13.0/docs/capture-debug-snapshot.md.txt)

<br />

To help you diagnose and debug issues, you can create a snapshot of the container orchestrator environment running AlloyDB Omni operator. Include this snapshot when you open a case with [Google Support](https://cloud.google.com/support?e=48754805).

<br />

## Capture a debug snapshot

1. Make sure that you have the [`kubectl`](https://kubernetes.io/docs/tasks/tools/#kubectl) utility installed and configured.

2. Open the [AlloyDB Omni GitHub sample repository](https://github.com/GoogleCloudPlatform/alloydb-omni-samples/tree/main/debug-snapshot) and download the `snapshot.sh` script.

3. Run the script.

   ```bash
   ./snapshot.sh DB_CLUSTER_NAME DB_CLUSTER_NAMESPACE
   ```

   Make the following replacements:
   - `DB_CLUSTER_NAME`: the name of your database cluster.
   - `DB_CLUSTER_NAMESPACE`: the name of your database cluster's namespace.

   The script creates a new `snapshot` folder.
4. Review the snapshot for sensitive information before you submit it.