이 문서에는 ObservabilityPipeline 커스텀 리소스를 사용하여 대시보드의 저장소 크기를 구성하는 방법이 설명되어 있습니다. 이 안내는 프로젝트 네임스페이스의 기본값을 재정의합니다.
Google Distributed Cloud (GDC) 에어 갭 적용 어플라이언스의 Observability 파이프라인은 Prometheus, Cortex, Loki, Fluent Bit과 같은
관측 가능성 스택 구성요소입니다.
ObservabilityPipeline 커스텀 리소스를 사용하면 관측 가능성 파이프라인의 API에 도달하고 배포의 관측 가능성 서비스를 구성할 수 있습니다. 이 맞춤 리소스에는 시스템 모니터링에 사용되는 대시보드의 맞춤 설정이 포함되어 있습니다.
시작하기 전에
대시보드의 스토리지 크기를 구성하거나 보는 데 필요한 권한을 얻으려면 조직 IAM 관리자에게 platform-obs 네임스페이스에서 다음 역할 중 하나를 부여해 달라고 요청하세요.
관측 가능성 파이프라인 PA 생성자: ObservabilityPipeline 커스텀 리소스를 만듭니다. 관측 가능성 파이프라인 PA 생성자 (observabilitypipeline-pa-creator) 클러스터 역할을 요청합니다.
관측 가능성 파이프라인 PA 편집자: ObservabilityPipeline 커스텀 리소스를 수정합니다. 관측 가능성 파이프라인 PA 편집자 (observabilitypipeline-pa-editor) 클러스터 역할을 요청합니다.
관측 가능성 파이프라인 PA 뷰어: ObservabilityPipeline 커스텀 리소스를 확인합니다. 관측 가능성 파이프라인 PA 뷰어 (observabilitypipeline-pa-viewer) 클러스터 역할을 요청합니다.
대시보드의 스토리지 크기를 구성하기 전에 다음 단계를 따르세요.
kubeconfig 파일의 경로를 환경 변수로 설정합니다.
exportKUBECONFIG=KUBECONFIG_FILE
KUBECONFIG_FILE를 조직 관리자 클러스터의 kubeconfig 파일 경로로 바꿉니다.
# 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....
변경사항을 저장하고 명령줄 편집기를 종료합니다.
샘플 구성
다음 YAML 파일은 ObservabilityPipeline 커스텀 리소스의 샘플 구성을 보여줍니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\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 ..."]]