From b55e4ea44e50e7c2a36354c8daf32ae34ca0a111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduard=20Tom=C3=A0s?= Date: Tue, 10 Sep 2019 17:23:29 +0200 Subject: [PATCH] Updated Deploy to Local Kubernetes (markdown) --- Deploy-to-Local-Kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deploy-to-Local-Kubernetes.md b/Deploy-to-Local-Kubernetes.md index d8ba023..5d3a51b 100644 --- a/Deploy-to-Local-Kubernetes.md +++ b/Deploy-to-Local-Kubernetes.md @@ -120,7 +120,7 @@ Then, just run this script from the `k8s\helm` folder, to deploy your local imag The parameter `useLocalk8s` to `$true`, forces the script to use `localhost` as the DNS for all Helm charts and also creates the ingress with the correct ingress class. -When using the parameter `useLocalImages` to `$true`, helm tries to use the local images first, and if not available locally, pulls the official ones from DockerHub. +**Note**: When using the parameter `imagePullPolicy` to `Never` only local images will be used (_pods_ will enter in error state if local images do not exist. If `imagePullPolicy` is set to `IfNotPresent` then local images will be used if present, and if not Kubernetes will try to download them from a docker registry. If the `imagePullPolicy` is set to `Always` then Kubernetes will never use the local images and will try to download them all from a docker registry. If the images are not found _pods_ will enter in error state. ### Deploy the public official eShopOnContainer images from DockerHub