ryutah / gke-fuse-sample

Cloud FUSE on GKE example.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FUSE on GKE Sample

Use gscfuse on GKE example.

Reference

Enable application credential

# Download service account keyfile as `key.json` and place project root directory

# Set up environment.
export GCS_BUCKET_NAME={MOUNT_GCS_BUCKET_NAME}
export DOCKER_IMAGE_NAME={BUILD_DOCKER_IMAGE_NAME}

# Use service account
export GOOGLE_APPLICATION_CREDENTIALS=/work/src/test/key.json

# Enable mount
mkdir /mnt/sandbox-hara
gcsfuse -o allow_other sandbox-hara /mnt/sandbox-hara

About

Cloud FUSE on GKE example.


Languages

Language:Go 55.9%Language:Shell 44.1%