Created
May 25, 2025 21:26
-
-
Save YurgenUA/776764fa8fd4850007cbc4607eb93cca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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