Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Lakehouse on GCS

Create a Lakehouse Resource on a Google Cloud Storage (GCS) data source.

This page contains the GCS-specific configuration for a Lakehouse. Refer to Create a Lakehouse for prerequisites, deployment, and verification steps.

GCS storage Secret

name: ${storage-secret-name}
version: v2alpha
type: secret
description: GCS storage secret for Lakehouse
secret:
  type: key-value
  data:
    gcp_json_key: ${gcp-service-account-key-json}
    storage_type: gcs
name: ${storage-secret-name}
version: v2alpha
type: secret
description: GCS storage secret for Lakehouse
secret:
  type: key-value
  files:
    gcp_json_key: ${path-to-gcp-credentials-file}
  data:
    storage_type: gcs

Lakehouse manifest

name: ${lakehouse-name}
version: v1alpha
type: lakehouse
description: Lakehouse on GCS storage
tags:
  - lakehouse
  - gcs
spec:
  compute: ${compute-name}
  runAsUser: ${user-id}
  logLevel: INFO
  iceberg:
    metastore:
      type: iceberg-jdbc-catalog
      replicas: 1
      secret: ${tenant}:${metastore-secret-name}
      postgresql:
        host: ${postgres-host}
        port: "5432"
        database: ${database-name}
        schema: public
        sslmode: require
      resources:
        requests:
          cpu: "1"
          memory: 1000Mi
        limits:
          cpu: "1"
          memory: 2000Mi
    storage:
      type: gcs # Storage backend
      gcs:
        bucket: ${gcs-bucket-name} # GCS bucket name
        relativePath: ${relative-path} # Directory for Lakehouse data
        format: ICEBERG # Table format
        endpoint: storage.googleapis.com # Custom or standard GCS endpoint
      secret: ${tenant}:${storage-secret-name} # Secret containing GCS credentials
    sherpa:
      replicas: 1
      resources:
        requests:
          cpu: 200m
          memory: 512Mi
        limits:
          cpu: 500m
          memory: 1000Mi
    sparkCluster:
      resources:
        requests:
          cpu: 200m
          memory: 512Mi
        limits:
          cpu: 500m
          memory: 1000Mi
      driver:
        coreLimit: "2048m"
        cores: 1
        memory: "2048m"
      executor:
        coreLimit: "2048m"
        cores: 1
        memory: "2048m"
        instances: 1

Last updated

Was this helpful?