# Configure observability pipelineapiVersion:observability.gdc.goog/v1kind:ObservabilityPipelinemetadata:namespace:PROJECT_NAMESPACEname:observability-configspec:...monitoring:grafana:storageSize:1Gi# Configure the new storage size for dashboards in the project....
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThis guide explains how to configure the storage size for dashboards within the Google Distributed Cloud (GDC) air-gapped appliance's Observability pipeline using the \u003ccode\u003eObservabilityPipeline\u003c/code\u003e custom resource.\u003c/p\u003e\n"],["\u003cp\u003eYou need to have the proper permissions, such as Observability Pipeline Creator, Editor, or Viewer, within the \u003ccode\u003einfra-obs\u003c/code\u003e namespace to configure or view the storage size.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves setting the kubeconfig file path, deploying the \u003ccode\u003eObservabilityPipeline\u003c/code\u003e custom resource, and then editing the \u003ccode\u003estorageSize\u003c/code\u003e value under the \u003ccode\u003emonitoring\u003c/code\u003e field in either the \u003ccode\u003einfra-obs\u003c/code\u003e or \u003ccode\u003eplatform-obs\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eObservabilityPipeline\u003c/code\u003e custom resource is used to manage and configure the Observability stack components and includes settings for dashboards used in system monitoring.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estorageSize\u003c/code\u003e value, found under the \u003ccode\u003egrafana\u003c/code\u003e field nested in \u003ccode\u003emonitoring\u003c/code\u003e in the custom resource, is the configuration that overrides the default storage values for the project namespace for the dashboards.\u003c/p\u003e\n"]]],[],null,["# Configure the dashboard storage\n\nThis document contains instructions to configure the storage size for dashboards using the `ObservabilityPipeline` custom resource. The instructions override the default values for the project namespace.\n\nThe Observability pipeline of Google Distributed Cloud (GDC) air-gapped appliance manages the deployment and configuration of\n\nObservability stack components.\n\nThe `ObservabilityPipeline` custom resource lets you reach the API of the Observability pipeline and configure the Observability service for your deployments. This custom resource includes customized settings for dashboards used in system monitoring.\n\nBefore you begin\n----------------\n\nTo get the permissions you need to configure or view the storage size for dashboards, ask your Organization IAM Admin to grant you one of the following roles in the `platform-obs` namespace:\n\n- **Observability Pipeline PA Creator** : creates `ObservabilityPipeline` custom resources. Request the Observability Pipeline PA Creator (`observabilitypipeline-pa-creator`) cluster role.\n- **Observability Pipeline PA Editor** : edits or modifies `ObservabilityPipeline` custom resources. Request the Observability Pipeline PA Editor (`observabilitypipeline-pa-editor`) cluster role.\n- **Observability Pipeline PA Viewer** : views `ObservabilityPipeline` custom resources. Request the Observability Pipeline PA Viewer (`observabilitypipeline-pa-viewer`) cluster role.\n\nBefore configuring the storage size for dashboards, work through the following steps:\n\n1. Set the path of the kubeconfig file as an environment variable:\n\n export KUBECONFIG=\u003cvar translate=\"no\"\u003eKUBECONFIG_FILE\u003c/var\u003e\n\n Replace \u003cvar translate=\"no\"\u003eKUBECONFIG_FILE\u003c/var\u003e with the path of the kubeconfig file of the org admin cluster.\n2. [Deploy the `ObservabilityPipeline` custom resource with the name `observability-config` into the project namespace.](#sample-configuration)\n\n3. View the current configuration of your Observability deployment:\n\n kubectl --kubeconfig=${KUBECONFIG} get observabilitypipeline -n \u003cvar translate=\"no\"\u003ePROJECT_NAMESPACE\u003c/var\u003e observability-config -o yaml\n\nUpdate the storage size for dashboards\n--------------------------------------\n\nWork through the following steps to configure the storage size for dashboards in the project:\n\n1. Open your `ObservabilityPipeline` custom resource in a command-line editor:\n\n kubectl --kubeconfig=${KUBECONFIG} -n \u003cvar translate=\"no\"\u003ePROJECT_NAMESPACE\u003c/var\u003e edit observabilitypipeline/observability-config\n\n2. Update the `storageSize` value nested in the `monitoring` field:\n\n # Configure observability pipeline\n apiVersion: observability.gdc.goog/v1\n kind: ObservabilityPipeline\n metadata:\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT_NAMESPACE\u003c/span\u003e\u003c/var\u003e\n name: observability-config\n spec:\n ...\n monitoring:\n grafana:\n storageSize: 1Gi # Configure the new storage size for dashboards in the project.\n ...\n\n3. Save the change and exit your command-line editor.\n\nSample configuration\n--------------------\n\nThe following YAML file shows a sample configuration of the `ObservabilityPipeline` custom resource: \n\n # Configure observability pipeline\n apiVersion: observability.gdc.goog/v1\n kind: ObservabilityPipeline\n metadata:\n namespace: \u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-l devsite-syntax-l-Scalar devsite-syntax-l-Scalar-Plain\"\u003ePROJECT_NAMESPACE\u003c/span\u003e\u003c/var\u003e\n name: observability-config\n spec:\n ...\n monitoring:\n grafana:\n storageSize: 1Gi\n ..."]]