From d58ccab5d0969162fd66c1c32560091dd119d0bc Mon Sep 17 00:00:00 2001 From: Joshua Olson <joshua.olson.490@gmail.com> Date: Tue, 31 Jul 2018 13:59:50 -0500 Subject: [PATCH] kube-prometheus: commands to create and teardown the stack Resolves issues #1571 and #1609 in this repository. --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e33c237f..9590a654 100644 --- a/README.md +++ b/README.md @@ -54,12 +54,17 @@ $ minikube delete && minikube start --kubernetes-version=v1.10.1 --memory=4096 - ## Quickstart -Although this project is intended to be used as a library, a compiled version of the Kubernetes manifests generated with this library is checked into this repository in order to try the content out quickly. - -Simply create the stack: +This project is intended to be used as a library (i.e. the intent is not for you to create your own customized copy of this repository). +Though a compiled version of the Kubernetes manifests generated with this library is checked into this repository in order to try the content out quickly. + * Simply create the stack: +``` +$ kubectl create -f manifests/ || true +$ kubectl create -f manifests/ 2>/dev/null || true # This command sometimes may need to be done twice +``` + * And to teardown the stack: ``` -$ kubectl create -f manifests/ +$ kubectl delete -f manifests/ || true ``` ## Usage -- GitLab