Skip to content

Error: running "kustomizer apply inventory spicedb-kubeapi-proxy -k ./deploy --prune --wait --timeout 5m" failed with exit code 1 #177

@MattiaDellOca

Description

@MattiaDellOca

Hey there! I recently discovered SpiceDB at Voxxed Days Ticino 2026 and got curious about using it to enforce resource access in a Kubernetes cluster.

I’m trying to run the project locally, but I’m running into an issue and could use some guidance. When I execute: mage dev:clean I get the following error:

Error: running "kustomizer apply inventory spicedb-kubeapi-proxy -k ./deploy --prune --wait --timeout 5m" failed with exit code 1

Steps to Reproduce

  1. Clone the repository.
  2. Follow the Development instructions in the README.
    • Make sure kustomizer is installed. I didn’t have this installed initially, which triggered the error:
      Error: failed to run "kustomizer apply inventory spicedb-kubeapi-proxy -k ./deploy --prune --wait --timeout 5m: exec: "kustomizer": executable file not found in $PATH"
      (This requirement isn’t mentioned in the README.)
  3. Run mage dev:clean.

My Environment

  • macOS version: Darwin Mattias-MacBook-Pro-2.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_X86_64 x86_64
  • Docker version: 29.1.2

Full Output from mage dev:up

Click to expand
Creating cluster "spicedb-kubeapi-proxy" ...
 ✓ Ensuring node image (kindest/node:v1.27.3) 🖼
 ✓ Preparing nodes 📦  
 ✓ Writing configuration 📜 
 ✓ Starting control-plane 🕹️ 
 ✓ Installing CNI 🔌 
 ✓ Installing StorageClass 💾 
 ✓ Waiting ≤ 5m0s for control-plane = Ready ⏳ 
 • Ready after 17s 💚
Generated kubeconfig for Kind cluster: spicedb-kubeapi-proxy.kubeconfig
Writing Kubeconfig for generated Kind cluster as Secret, will be used by the proxy
Using base cgr.dev/chainguard/static:latest@sha256:9cef3c6a78264cb7e25923bf1bf7f39476dccbcc993af9f4ffeb191b77a7951e for ./cmd/spicedb-kubeapi-proxy
Building ./cmd/spicedb-kubeapi-proxy for linux/amd64
Loading kind.local/spicedb-kubeapi-proxy:1d98539198b143335a369ccd6e68b5619e018445b15d70bc7ac17ca34faa1a71
Loaded kind.local/spicedb-kubeapi-proxy:1d98539198b143335a369ccd6e68b5619e018445b15d70bc7ac17ca34faa1a71
building inventory...
applying 55 manifest(s)...
...
waiting for resources to become ready...
✗ timeout waiting for: [StatefulSet/spicedb-kubeapi-proxy/spicedb-kubeapi-proxy status: 'Failed']
Error: running "kustomizer apply inventory spicedb-kubeapi-proxy -k ./deploy --prune --wait --timeout 5m" failed with exit code 1

I’d greatly appreciate any advice on why this might be failing and how to get the proxy running locally!

Thank you in advance! 😁

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions