You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using the plain YAML files then edit `gateway-dep.yml` and set the following for`faas-netes`:
313
-
```
313
+
314
+
```yaml
314
315
- name: image_pull_policy
315
316
value: "IfNotPresent"
316
317
```
@@ -319,6 +320,6 @@ If you're using the plain YAML files then edit `gateway-dep.yml` and set the fol
319
320
320
321
As mentioned above, the default value is `Always`. Every time a functionis deployed or is scaled up, Kubernetes will pull a potentially updated copy of the image from the registry. If you are using static image tags like `latest`, this is necessary.
321
322
322
-
When set to `IfNotPresent`, functiondeployments may not be updated when using static image tags like `latest`. `IfNotPresent` is particularly useful when developing locally with minikube. In this case, you can set your local environment to use [minikube's docker](https://github.com/kubernetes/minikube/blob/master/docs/reusing_the_docker_daemon.md) so `faas-cli build` builds directly into minikube's image store. `faas-cli push` is unnecessary in this workflow - use faas-cli build then faas-cli deploy.
323
+
When set to `IfNotPresent`, functiondeployments may not be updated when using static image tags like `latest`. `IfNotPresent` is particularly useful when developing locally with minikube. In this case, you can set your local environment to use [minikube's docker](https://github.com/kubernetes/minikube/blob/master/docs/reusing_the_docker_daemon.md) so `faas-cli build` builds directly into the Docker library used by minikube. `faas-cli push` is unnecessary in this workflow - use faas-cli build then faas-cli deploy.
323
324
324
325
When set to `Never`, only local (or pulled) images will work. This is useful if you want to tightly control which images are available and run in your Kubernetes cluster.
0 commit comments