mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 06:55:05 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,12 +10,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Replace the resource using the resource definition file:
|
||||
|
||||
`kubectl replace -f {{path/to/file.yml}}`
|
||||
`kubectl replace {{[-f|--filename]}} {{path/to/file.yml}}`
|
||||
|
||||
- Replace the resource using the input passed into `stdin`:
|
||||
|
||||
`kubectl replace -f -`
|
||||
`kubectl replace {{[-f|--filename]}} -`
|
||||
|
||||
- Force replace, delete and then re-create the resource:
|
||||
|
||||
`kubectl replace --force -f {{path/to/file.yml}}`
|
||||
`kubectl replace --force {{[-f|--filename]}} {{path/to/file.yml}}`
|
||||
|
||||
Reference in New Issue
Block a user