Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Commands
Kubernetes
Containers & orchestration
Kubernetes Commands
Container orchestration and the kubectl CLI.
All Kubernetes pages
Generate Kubernetes YAML with kubectl create --dry-run=client -o yaml
kubectl create deployment, service, configmap or secret with --dry-run=client -o yaml prints a ready manifest without a cluster. Save it with > file.yaml.
Esc