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

Lakehouse on S3

Create a Lakehouse Resource on an Amazon Simple Storage Service (S3) data source.

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

S3 storage Secret

name: ${storage-secret-name}
version: v2alpha
type: secret
description: S3 storage secret for Lakehouse
secret:
  type: key-value
  data:
    aws_access_key: ${aws-access-key}
    aws_secret_key: ${aws-secret-key}
    storage_type: s3

Lakehouse manifest

name: ${lakehouse-name}
version: v1alpha
type: lakehouse
description: Lakehouse on S3 storage
tags:
  - lakehouse
  - s3
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
      hadoopConf:
        fs.s3a.connection.maximum: 1000
      resources:
        requests:
          cpu: "1"
          memory: 1000Mi
        limits:
          cpu: "1"
          memory: 2000Mi
    storage:
      type: s3 # Storage backend
      s3:
        bucket: ${s3-bucket-name} # S3 bucket name
        relativePath: ${relative-path} # Directory for Lakehouse data
        scheme: s3a # Hadoop S3 filesystem scheme
        format: ICEBERG # Table format
        endpoint: s3.us-west-2.amazonaws.com # Custom or standard S3 endpoint
      secret: ${tenant}:${storage-secret-name} # Secret containing S3 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?