kube-prometheus: commands to create and teardown the stack

Resolves issues #1571 and #1609 in this repository.
This commit is contained in:
Joshua Olson
2018-07-31 13:59:50 -05:00
parent 7d5c81c230
commit d58ccab5d0

View File

@@ -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/
$ 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 delete -f manifests/ || true
```
## Usage