Global Storage Setup for NextGen Dataplane

NextGen Dataplane Global Storage Setup

Global storage is required for storing data or results in a variety of file formats across multiple use cases.

This article gives step-by-step directions for configuring global storage for the NextGen Dataplane using various storage types.

Supported Storage Types

  • Google Bucket Storage
  • AWS Storage
  • Azure Storage
  • Hadoop File System (HDFS/MAPRFS)
  • Local to the Pod

Standard Location for Global Storage Configuration

The configuration file for global storage is located at /opt/acceldata/globalstorage.json.

Steps for Configuration:

  1. ADOC contains global-storage secrets with the below variables. As part of Data Plane V2, the global storage configuration is stored as a Kubernetes secret named global-storage. Use the JSON configuration below, encode it with base64 before applying it as a secret:
JSON
Copy

Leave the following two fields as blank:

MEASURE_RESULT_FS_S3A_ACCESS_KEY": "",

"MEASURE_RESULT_FS_S3A_SECRET_KEY": "",

  1. Prepare or update the configuration for the selected storage type.
Google Bucket
AWS S3
Azure ADLS
HDFS/MAPRFS
Local Storage to Pod
  1. Ensure MEASURE_RESULT_FS_TYPEis set to gcs.
JSON
Copy
  1. Provide the bucket name, project ID, client email, private key, and private key ID.
JSON
Copy
  1. GCP credential file-based setup
JSON
Copy

Alternatively directly accessing the below configuration; generally, the config JSON provides the same details.

JSON
Copy
  1. You can either Edit Secret and update with base64 content for key globalstorage.json and value as base64 content,
JSON
Copy
  1. When using GCP as a bucket, ADOC have a consistent place for file-driven credentials.
JSON
Copy

Update the content.

Edit Secret gcp-cred and update with base64 content for key gcp_cred.json and value in base64 format.

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard