From 7e594084f21214307a7ed78dcb1a873ae4eec414 Mon Sep 17 00:00:00 2001 From: Akash Nair <akash.nair@sparwelt.de> Date: Fri, 1 Mar 2019 16:04:02 +0100 Subject: [PATCH] Changed kubectl apply -f to kubectl create -f. kubectl apply command leads to conflicts and race conditions. kubectl create works the first time you run it --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dec2c2b..b612e0c4 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ This project is intended to be used as a library (i.e. the intent is not for you Though for a quickstart a compiled version of the Kubernetes [manifests](manifests) generated with this library (specifically with `example.jsonnet`) is checked into this repository in order to try the content out quickly. To try out the stack un-customized run: * Simply create the stack: ``` -$ kubectl apply -f manifests/ +$ kubectl create -f manifests/ # It can take a few seconds for the above 'create manifests' command to fully create the following resources, so verify the resources are ready before proceeding. $ until kubectl get customresourcedefinitions servicemonitors.monitoring.coreos.com ; do date; sleep 1; echo ""; done -- GitLab