Neste tópico, descrevemos as etapas necessárias para configurar o componente de banco
de dados do Cassandra para uma instalação de produção da Apigee híbrida.
Definir configurações de armazenamento e heap
Para uma instalação de produção da Apigee híbrida, o Google recomenda que você adicione as
seguintes configurações de armazenamento e heap ao arquivo de modificações e aplique-as ao cluster:
Para o banco de dados do Cassandra, o ambiente de execução híbrido aceita apenas o uso de volumes permanentes criados dinamicamente para armazenar dados. Não é possível usar volumes permanentes
criados localmente.
Para configurar o Cassandra corretamente para um ambiente de produção híbrido, configure uma definição de
StorageClass,
que é apoiada por uma unidade de estado sólido (SSD, na sigla em inglês), e defina-a como a classe
padrão. Consulte as etapas detalhadas em Configuração de StorageClass.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-28 UTC."],[[["\u003cp\u003eVersion 1.8 of the Apigee hybrid documentation is end of life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eFor production installations, specific storage and heap settings are recommended for the Cassandra component, and these settings must be added to the overrides file and applied to the cluster.\u003c/p\u003e\n"],["\u003cp\u003eCassandra database storage in Apigee hybrid production environments must use dynamically created persistent volumes, not locally created ones.\u003c/p\u003e\n"],["\u003cp\u003eThe Cassandra database must be backed by a solid-state drive (SSD) and use a StorageClass definition as its default, while network file systems (NFS) or network-attached storage (NAS) systems are not supported.\u003c/p\u003e\n"]]],[],null,["# Configure Cassandra for production\n\n| You are currently viewing version 1.8 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.8/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.8/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.8/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."]]