In diesem Thema werden die Schritte beschrieben, die zum Konfigurieren der Cassandra-Datenbankkomponente für eine Apigee-Hybrid-Produktionsinstallation konfigurieren werden müssen.
Speicher- und Heap-Einstellungen konfigurieren
Für Apigee-Hybrid-Produktionsinstallationen empfiehlt Google, dass Sie folgende Speicher- und Heap-Einstellungen zu Ihrer Überschreibungsdatei hinzufügen und auf den Cluster anwenden:
Für die Cassandra-Datenbank unterstützt die Hybridlaufzeit nur die Verwendung von
dynamisch erstellten nichtflüchtigen Volumes zum Speichern von Daten. Die Verwendung von lokal erstellten nichtflüchtigen Volumes wird nicht unterstützt.
Zum Konfigurieren von Cassandra für eine hybride Produktionsumgebung müssen Sie eine StorageClass-Definition konfigurieren, die von einer SSD unterstützt wird, und diese als Standardklasse festlegen. Detaillierte Schritte finden Sie unter StorageClass-Konfiguration.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-28 (UTC)."],[[["\u003cp\u003eThis documentation version 1.7 for Apigee hybrid is end-of-life and requires an upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eProduction installations of Apigee hybrid should configure Cassandra with specific storage and heap settings, including a recommended storage capacity of 500Gi per pod.\u003c/p\u003e\n"],["\u003cp\u003eCassandra storage in hybrid runtime must use dynamically created persistent volumes; locally created ones are not supported.\u003c/p\u003e\n"],["\u003cp\u003eFor production environments, Cassandra database configurations need to utilize a StorageClass backed by a solid-state drive (SSD).\u003c/p\u003e\n"],["\u003cp\u003eCassandra configurations in a hybrid environment must not use persistent volumes provisioned on network file systems (NFS) or network-attached storage (NAS) systems.\u003c/p\u003e\n"]]],[],null,["# Configure Cassandra for production\n\n| You are currently viewing version 1.7 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\n\nThis topic describes steps you must take to configure the Cassandra database\ncomponent for an Apigee hybrid production installation.\n\nConfigure storage and heap settings\n-----------------------------------\n\n\nFor a production installation of Apigee hybrid, Google recommends that you add the\nfollowing storage and heap settings to your overrides file and apply them to the cluster:\n**Note:** All Cassandra storage settings in the overrides file are per pod. See also [Scaling Cassandra](/apigee/docs/hybrid/v1.7/cassandra-scaling). \n\n```text\ncassandra:\n ...\n storage:\n capacity: 500Gi\n resources:\n requests:\n cpu: 7\n memory: 15Gi\n maxHeapSize: 8192M\n heapNewSize: 1200M\n```\n\n\nFor more information on these property settings, see the [Configuration property reference](/apigee/docs/hybrid/v1.7/config-prop-ref).\n\nAdd SSD storage for production\n------------------------------\n\nFor the Cassandra database, the hybrid runtime only supports using\n[dynamically created](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#dynamic) persistent volumes to store data. Using *locally created* persistent\nvolumes is not supported.\n\nTo configure Cassandra properly for a hybrid production environment, you must configure a\n[StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes)\ndefinition that is backed by a solid-state drive (SSD) and make it the default\nclass. See [StorageClass configuration](/apigee/docs/hybrid/v1.7/cassandra-config) for detailed steps.\n| **Note**: The Cassandra database for hybrid should not use persistent volumes provisioned on network file system (NFS) or network-attached storage (NAS) systems."]]