Skip to content

Instantly share code, notes, and snippets.

@YurgenUA
Created May 25, 2025 21:26
Show Gist options
  • Save YurgenUA/776764fa8fd4850007cbc4607eb93cca to your computer and use it in GitHub Desktop.
Save YurgenUA/776764fa8fd4850007cbc4607eb93cca to your computer and use it in GitHub Desktop.
transfer-to-kind:
IMG=clientquota:latest
@echo "Prepare k8s deployment..."
make manifests
@echo "Building docker image..."
make docker-build
@echo "Loading image into kind cluster..."
@$(KIND) load docker-image ${IMG}
make deploy
@echo "Waiting for webhook service to be ready..."
@until $(KUBECTL) wait --for=condition=ready pod -l control-plane=controller-manager -n kube-client-quota2-system --timeout=10s; do echo "Waiting..."; sleep 2; done
$(KUBECTL) create namespace playground
$(KUBECTL) apply -n playground -f config/samples/quota_v1alpha1_clientquota.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment