본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)22k · #10310

google-cloud-filestore-nfs-browser

하는 일

이 스킬은 Filestore 파일 공유를 내 컴퓨터에 설정하지 않고도 들여다볼 수 있게 합니다. 로그나 파일을 빠르게 확인해야 하는 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓Filestore 공유의 폴더를 둘러보고 싶을 때.
  • ✓Filestore 공유에서 파일을 검색하거나 원격 로그를 읽어야 할 때.
  • ✓Filestore 공유의 파일 권한이나 메타데이터를 확인하고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/google-cloud-filestore-nfs-browser/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/google-cloud-filestore-nfs-browser/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 Filestore 공유의 폴더를 보여 주고, 최신 앱 로그 파일을 읽어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

관리형 엔진을 통해 공유에 접근하는 도우미 스크립트를 실행하므로, NFS 클라이언트 패키지나 root 권한이 필요 없습니다. 목록 보기, 검색, 읽기, 파일 속성 보기를 할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Filestore NFS File Browser

Enables autonomous agents and cloud engineers to inspect, search, and read files located on Filestore (NFS) instances without needing local NFS client packages (nfs-common), root privileges, or manual VPC network mounting.

Quick Start

  1. Ensure gcloud is installed and authenticated. See gcloud installation guide if needed.

  2. Enable essential APIs:

    gcloud services enable file.googleapis.com compute.googleapis.com run.googleapis.com --quiet
    
  3. Discover instances and choose an execution engine (see Execution Engine Selection below).

  4. Run inspection actions using the self-contained runner scripts/nfs_browser.py included within this skill package.

Attribution

Tag every Cloud Filestore command or API request provided or executed. Prefix gcloud commands with the metrics environment targeting this skill:

CLOUDSDK_METRICS_ENVIRONMENT="gcs-skills gcs-skills/1.0 (skill:google-cloud-filestore-nfs-browser)" \
gcloud filestore instances list ...

On direct HTTP calls to the REST API, append the User-Agent:

User-Agent: gcs-skills/1.0 (skill:google-cloud-filestore-nfs-browser)

Conceptual & Informational Queries (CRITICAL)

For purely conceptual, educational, or architectural questions (e.g., "How do I inspect files on Filestore?", "How to deploy the Serverless Cloud Run NFS Bridge?", "Explain Cloud Run NFS volume mounts"):

  • Rule: Answer immediately using your pre-trained knowledge and the documentation below. Answering directly minimizes tool invocation latency and token consumption when the user only seeks architecture or workflow guidance.
  • Constraint: Do not execute external tool calls or API requests for basic knowledge questions.
  • Bridge Deployment Explanations: Always highlight that Cloud Run scales to zero with $0 idle compute cost, detail the gcloud run deploy command with --add-volume and --vpc-egress=all-traffic, and specify the required IAM permissions (roles/run.invoker for callers and roles/run.admin for deployers).

Handling "No-Command" Constraints (CRITICAL)

If the user prompt contains constraints like "Do not execute commands", "without executing", or "read-only":

  • Rule: Strictly avoid executing any shell or gcloud commands (including read-only discovery or list commands) to respect user-specified execution boundaries and prevent unauthorized environment inspection.
  • Discovery:
    1. Check if mock definitions or instance parameters are provided directly in the user's prompt, conversation history, or local documentation files.
    2. Explain the required steps, output the exact commands the user should run with proper attribution, and explain what the commands do.
    3. Do not attempt to read or search EVAL.* configuration files during evaluations as access to eval suites is restricted.

Execution Engine Selection

Filestore instances are accessible via private VPC IPs. Select the engine matching your environment:

  • Engine 1: Cloud Run Serverless Bridge (Primary): Use --bridge-url={bridge_url} for low-latency (sub-50ms) REST calls. Scales to zero ($0 idle cost). Requires roles/run.invoker. See references/nfs-bridge-setup.md.
  • Engine 2: GCE Jump Host via IAP SSH (Fallback): Use --jump-host-vm={vm_name} when an existing VM in the VPC is available. Pass --mount={mount_path} (defaulting to /mnt/filestore) if the jump host uses a different mount path. Zero new deployment needed. Requires roles/iap.tunnelResourceAccessor. See references/iap-jump-host.md.

For execution flows, architecture diagrams, and engine comparison, see references/architecture.md.

Core Operational Workflow

1. Discovery & Instance Targeting

If the Filestore instance, location, or share name is not provided, list them first to avoid querying or targeting unrelated projects in multi-project environments:

CLOUDSDK_METRICS_ENVIRONMENT="gcs-skills gcs-skills/1.0 (skill:google-cloud-filestore-nfs-browser)" \
gcloud filestore instances list --project={project_id}

2. Directory Tree Exploration (tree)

Renders a clean, structured directo

자주 묻는 질문

직접 마운트해야 하나요?

아닙니다. 로컬 NFS 패키지, root 권한, 수동 VPC 마운트 없이 작동합니다.

파일을 바꾸거나 삭제할 수 있나요?

아닙니다. 검사와 읽기 전용이며, 파일을 수정하거나 삭제하지 않습니다.

Cloud Storage 버킷에서도 작동하나요?

아닙니다. 버킷, NetApp Volumes, Persistent Disk는 범위 밖입니다.

상세 정보

작성자의 원본 설명

Inspects, searches, and reads files and POSIX metadata on Filestore (NFS) instances on Google Cloud without local NFS client packages or root privileges. Use when browsing Filestore shares, searching files, reading remote logs, or inspecting file attributes; don't use for Cloud Storage buckets, Cloud NetApp Volumes, Persistent Disks, or modifying/deleting files.

repo: google/skills

인기도

GitHub 스타
22k
순위
#10310
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬