G/co/crd/setup May 2026
# Example: ./g/co/crd/setup.sh kubectl apply -f ./crds/ kubectl wait --for=condition=established --timeout=60s crd/databasebackups.stable.example.com echo "CRD setup complete." Check that your CRD was created successfully:
Now go ahead, create your first custom resource, and extend your cluster’s API with confidence. g/co/crd/setup
Mastering g/co/crd/setup: A Step-by-Step Guide to Custom Resource Definitions # Example:
kubectl apply -f my-backup.yaml List your custom resources: create your first custom resource
kubectl apply -f my-resource-crd.yaml To follow the g/co/crd/setup pattern, you could wrap this in a script or Makefile: