AGENT SKILL

coreweave-security-basics

Secure CoreWeave deployments with RBAC, network policies, and secrets management. Use when hardening GPU workloads, managing model access, or configuring namespace isolation. Trigger with phrases like "coreweave security", "coreweave rbac", "secure coreweave", "coreweave secrets".

License 许可
MIT
最近更新
2026-06-24
Stars
★ 67
Forks
24

01 前言 Front Matter

name
coreweave-security-basics
tags
[ "saas", "gpu-cloud", "kubernetes", "inference", "coreweave" ]
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Secure CoreWeave deployments with RBAC, network policies, and secrets management. Use when hardening GPU workloads, managing model access, or configuring namespace isolation. Trigger with phrases like "coreweave security", "coreweave rbac", "secure coreweave", "coreweave secrets".
allowed-tools
Read, Write, Edit, Bash(kubectl:*), Grep
compatible-with
claude-code

03 SKILL.md 正文

CoreWeave Security Basics

Instructions

Secrets for Model Access

# HuggingFace token
kubectl create secret generic hf-token --from-literal=token="${HF_TOKEN}"

# Container registry credentials
kubectl create secret docker-registry regcred \
  --docker-server=ghcr.io \
  --docker-username=$USER \
  --docker-password=$TOKEN

Network Policy for Inference Pods

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: inference-isolation
spec:
  podSelector:
    matchLabels:
      app: inference-server
  policyTypes: [Ingress, Egress]
  ingress:
    - from:
        - podSelector:
            matchLabels:
              role: api-gateway
      ports:
        - port: 8080
  egress:
    - to: []  # Allow all egress for model downloads
      ports:
        - port: 443

Security Checklist

  • [ ] Kubeconfig stored securely, not in repos
  • [ ] Secrets used for model tokens (not env vars in YAML)
  • [ ] Network policies restrict inference endpoint access
  • [ ] RBAC limits namespace access per team
  • [ ] Container images scanned for CVEs
  • [ ] PVCs encrypted at rest

Resources

Next Steps

For production readiness, see coreweave-prod-checklist.

04 同仓库更多 Skills