kubectl 1.37 · Creating and changing
Create a deployment
Create a deployment from an image.
kubectl create deployment web --image=nginx
Official kubectl 1.37 documentation
More creating and changing commands
- Apply a manifest
- Apply a folder of manifests
- Apply a Kustomize directory
- Expose a deployment as a service
- Edit a resource in your editor
- Delete resources from a manifest
All creating and changing commands · kubectl 1.37 cheatsheet