Questions tagged [google-cloud-filestore]

Cloud Filestore is a managed file storage service for applications that require a filesystem interface and a shared filesystem for data. Filestore gives users a simple, native experience for standing up managed Network Attached Storage (NAS) with their Google Compute Engine and Kubernetes Engine instances. The ability to fine-tune Filestore’s performance and capacity independently leads to predictably fast performance for your file-based workloads.

71 questions
24
votes
1 answer

How is google cloud storage different from file storage?

Google cloud storage has buckets which are similar to folders and objects which are files, so besides the naming changes, what are the other differences between the two?
3
votes
1 answer

Setting up PVC in NFS, doesn't mount the set PVC size, instead sets the whole NFS volume size

We are using NFS volume (GCP filestore with 1TB size) to set RWX Many access PVC in GCP, the problem here is: for example I allot a PVC of 5Gi and mount it to a nginx pod under /etc/nginx/test-pvc, instead of just allotting 5Gi it allots the whole…
3
votes
1 answer

Issue while inserting Data in Firestore using cloud workflows firestore connector with Json object coming from previous step which is a cloud function

I am trying to build a workflow where in step1 I am running a cloud function which returns a Json Object in the form of python dictionary and I want the same to be inserted in Firestore using firestore connector. But I am getting the below error: …
3
votes
1 answer

GCP Filestore pricing and number of shares per instance

I want to create 2 NFS fileshare on GCP and both would consume only 20GB of data. But when creating Filestore instances it seems like only one share can be created under each instance and also the minimum is 1TB storage capacity... Monthly estimate…
user630702
  • 2,529
  • 5
  • 35
  • 98
3
votes
2 answers

Invoking gsutil or gcloud from a Google cloud function?

I have a Google Firebase app with a Cloud Functions back-end. I'm using the node.js 10 runtime which is Ubuntu 18.04. Users can upload files to Google Cloud Storage, and that triggers a GCF function. What I'd like that function to do is copy that…
3
votes
1 answer

creating NFS directories remotely in google cloud

I'm trying to auomate the process of creating these directories /data/foo /data/foo/baz /data/bar on an NFS (Network File System) I created with the command gcloud beta filestore instances create "${NFS_server_name}" \ --project "${project_id}"…
3
votes
1 answer

Is it possible to mount Google Filestore in GAE Flexible custom runtime

The documentation for Google Filestore only makes specific reference to using it with "Google Compute Engine and Kubernetes Engine instances". Following the instructions here I have been successfully able to mount a Filestore share in a Compute…
3
votes
1 answer

gcloud compute scp can't find filestore instance

Trying to copy some data into a newly created GCP Filestore with the gcloud CLI. gcloud compute scp --recurse /somedirectore/somefile somefilestore-1:/somemount gcloud seems unable to find the instance: ERROR: (gcloud.compute.scp) Could not fetch…
2
votes
0 answers

Write access for non root users on file store using Kubernetes in GCP

How to setup Kubernetes so that non root user can write inside the file store in GCP. I tried below configuration in yaml file but still non root user is not able to write. securityContext: runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000
2
votes
0 answers

How to mount GCP Filestore on remote client outside the VPC

We are working on an Infrastructure as Code for Hybrid Setup (GCP). As part of that we have to mount cloud network Filestore with on-premises Kubernetes cluster. We are maintaining two VPC networks in GCP for on-premises & cloud environments. We…
2
votes
1 answer

Unable to mount google filestore inside a GKE pod directly (without using PV)

I am trying to take backup of Google Filestore to a GCS bucket. I also want to rsync the contents of filestore in primary region to another filestore in secondary region. For this, I have created a bash script which is working fine in compute engine…
2
votes
1 answer

How to reserve an IP for a Google Filestore instance

I'd like to get more info on how Filestore networking works and how it chooses an IP address- I can't find anything in the docs IP address range Each Cloud Filestore instance must have an IP address range associated with it. The IP address range…
red888
  • 27,709
  • 55
  • 204
  • 392
2
votes
1 answer

Mount Google Cloud Filestore inside a docker container with Debian

I want to mount Cloud Filestore inside a docker container which is Debian. When I try to mount it I get: mount.nfs: timeout set for Wed Feb 27 12:35:07 2019 mount.nfs: trying text-based options…
asaf
  • 958
  • 1
  • 16
  • 38
1
vote
0 answers

GKE gke filestore csi failed when mouted to pod: Unable to attach or mount volumes: timed out waiting for the condition

I get error Unable to attach or mount volumes: unmounted volumes=[file-store], unattached volumes=[file-store kube-api-access-p7btw]: timed out waiting for the condition. kubectl describe pod kickstar-backend-5577cf96cf-rlpht Name: …
1
vote
0 answers

Connecting gcp cloud run instance to filestore with terraform

I'm trying to recreate the tutorial howto connect filestore to gcp cloud run with terraform. My terraform is now, terraform { required_version = ">= 1.0.0" required_providers { google = { source = "hashicorp/google" version =…
1
2 3 4 5