From 68aa75abe16fb593ee02b5a37783371c3dfc24b2 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 24 Feb 2025 14:30:04 +0100 Subject: syz-cluster: make image prefix and tag configurable Accept IMAGE_PREFIX and IMAGE_TAG parameters that allow to reuse the Makefile and a lot of k8s configurations both for local and prod environments. Refactor Makefile: define build-* and push-* rules, use templates to avoid repetition. --- syz-cluster/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'syz-cluster/README.md') diff --git a/syz-cluster/README.md b/syz-cluster/README.md index 3c5bf5b1f..9c734618d 100644 --- a/syz-cluster/README.md +++ b/syz-cluster/README.md @@ -14,13 +14,14 @@ $ minikube addons enable cloud-spanner ``` 3. Build all docker containers (might take a while): ``` -$ make all-containers +$ eval $(minikube docker-env) +$ make build-all ``` 4. Deploy the cluster: ``` $ make restart-spanner $ kubectl create namespace argo -$ kubectl apply -k ./overlays/dev/ +$ make k8s-config-dev | kubectl apply -f - ``` 5. (Optional) Pre-fetch the kernel git repository: ``` -- cgit mrf-deployment