Topik ini menjelaskan langkah-langkah yang harus Anda lakukan untuk mengonfigurasi komponen database Cassandra untuk penginstalan produksi Apigee Hybrid.
Mengonfigurasi setelan penyimpanan dan heap
Untuk penginstalan produksi Apigee hybrid, Google merekomendasikan agar Anda menambahkan
setelan penyimpanan dan heap berikut ke file penggantian dan menerapkannya ke cluster:
Untuk database Cassandra, runtime campuran menggunakan volume persisten yang
dibuat secara dinamis untuk menyimpan data. Untuk mengonfigurasi Cassandra dengan benar untuk lingkungan produksi, Anda harus mengonfigurasi definisi StorageClass yang didukung oleh solid-state drive (SSD) dan menjadikannya class default. Lihat Konfigurasi StorageClass untuk mengetahui langkah-langkah mendetail.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 UTC."],[[["\u003cp\u003eThis documentation covers configuring the Cassandra database for an Apigee hybrid production installation, but version 1.6 is end-of-life and should be upgraded.\u003c/p\u003e\n"],["\u003cp\u003eFor production, add specific storage and heap settings in the overrides file, with storage settings being per pod.\u003c/p\u003e\n"],["\u003cp\u003eGoogle recommends using SSD-backed persistent volumes dynamically created for Cassandra data storage in a production environment, configured via a default StorageClass.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation recommends 500Gi storage capacity, 7 CPU cores and 15Gi memory for each pod.\u003c/p\u003e\n"]]],[],null,["# Configure Cassandra for production\n\n| You are currently viewing version 1.6 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.6/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.6/config-prop-ref).\n\nAdd SSD storage for production\n------------------------------\n\n\nFor the Cassandra database, hybrid runtime uses\n[dynamically created](https://kubernetes.io/docs/concepts/storage/persistent-volumes/#dynamic) persistent volumes to store data. To configure\nCassandra properly for a 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.6/cassandra-config) for detailed steps."]]