Difference between revisions of "Kubectl set image"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/reference/kubectl/cheatsheet/#updating-resources
Line 3: | Line 3: | ||
* <code>[[kubectl set]] image</code> | * <code>[[kubectl set]] image</code> | ||
− | kubectl set image deployment/frontend www=image:v2 | + | kubectl set image deployment/frontend www=image:v2 <ref>https://kubernetes.io/docs/reference/kubectl/cheatsheet/#updating-resources</ref> |
export TILLER_TAG=v2.0.0-beta.1 # Select your version to install | export TILLER_TAG=v2.0.0-beta.1 # Select your version to install |
Revision as of 17:05, 1 December 2022
kubectl set image
kubectl set image deployment/frontend www=image:v2 [1]
export TILLER_TAG=v2.0.0-beta.1 # Select your version to install $ kubectl --namespace=kube-system set image deployments/tiller-deploy tiller=ghcr.io/helm/tiller:$TILLER_TAG deployment "tiller-deploy" image updated
Related terms
See also
kubectl set [ image | selector | env ]
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: