From 7ddfcad392abf5b4c2994c03f599d3a22e51ca96 Mon Sep 17 00:00:00 2001 From: Jose Fuentes Castillo Date: Mon, 29 Jul 2024 06:56:31 +0200 Subject: docs: Add Kubernetes installation with Kustomize (#324) * Add kubernetes installation * Add kubernetes installation docs * Simplify config * Remove the patch to use only amd64 nodes and add sample env file --- kubernetes/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 kubernetes/Makefile (limited to 'kubernetes/Makefile') diff --git a/kubernetes/Makefile b/kubernetes/Makefile new file mode 100644 index 00000000..0ca00e2c --- /dev/null +++ b/kubernetes/Makefile @@ -0,0 +1,24 @@ +# Define the output file +OUTPUT_FILE := _manifest.yaml + +# Define the Kustomize build command +KUSTOMIZE_BUILD := kustomize build . + +# The default target +all: build + +$(OUTPUT_FILE): + $(KUSTOMIZE_BUILD) > $(OUTPUT_FILE) + +# Build the Kustomize configuration into the output file +build: clean $(OUTPUT_FILE) + +# Deploy the manifest using kubectl apply +deploy: $(OUTPUT_FILE) + kubectl apply -f $(OUTPUT_FILE) + +# Clean up the output file +clean: + rm -f $(OUTPUT_FILE) + +.PHONY: all build deploy clean -- cgit v1.2.3-70-g09d2