Skip to content

Commit

Permalink
add note about when to use deployment rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
colearendt committed Feb 18, 2022
1 parent 6d8b810 commit 3732d18
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions other-charts/prepull-daemonset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ images:
image: ubuntu:bionic
```

## Upgrade
## Pull Again

To run the pre-pull again (i.e. to pull new images with the same tag, to ensure node
caches are fresh*), there are a few options:

To run the pre-pull again, there are a few options:
```
# by default, every upgrade is randomized / does a rollout (`--set randomize=false` to disable this behavior)
helm upgrade install preepull-daemonset rstudio/prepull-daemonset
Expand All @@ -38,6 +40,10 @@ helm upgrade install preepull-daemonset rstudio/prepull-daemonset
kubectl rollout restart daemonset/prepull-daemonset
```

> * Kubernetes Nodes (the `kubelet` service) periodically remove images from
> the cache to free up disk space, especially if an image is not in use and has
> not been used lately
## Values

| Key | Type | Default | Description |
Expand Down
10 changes: 8 additions & 2 deletions other-charts/prepull-daemonset/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ images:
image: ubuntu:bionic
```

## Upgrade
## Pull Again

To run the pre-pull again (i.e. to pull new images with the same tag, to ensure node
caches are fresh*), there are a few options:

To run the pre-pull again, there are a few options:
```
# by default, every upgrade is randomized / does a rollout (`--set randomize=false` to disable this behavior)
helm upgrade install preepull-daemonset rstudio/prepull-daemonset
Expand All @@ -31,6 +33,10 @@ helm upgrade install preepull-daemonset rstudio/prepull-daemonset
kubectl rollout restart daemonset/prepull-daemonset
```

> * Kubernetes Nodes (the `kubelet` service) periodically remove images from
> the cache to free up disk space, especially if an image is not in use and has
> not been used lately

{{ template "chart.valuesSection" . }}

{{ template "helm-docs.versionFooter" . }}

0 comments on commit 3732d18

Please sign in to comment.