Files
tldr/pages.ko/common/kubectl-replace.md
T
Nelson Figueroa b68ea69008 kubectl-*: add short/long options and subcommands (#21511)
* kubectl-*: add short/long options and subcommands

* Update kubectl-wait.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* added short/long subcommand to english page

* Update kubectl-wait.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

* update spanish translation

---------

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2026-03-19 15:45:27 -07:00

547 B

kubectl replace

파일 또는 stdin을 통해 리소스를 교체. 더 많은 정보: https://kubernetes.io/docs/reference/kubectl/generated/kubectl_replace/.

  • 리소스 정의 파일을 사용하여 리소스 교체:

kubectl replace {{[-f|--filename]}} {{경로/대상/파일.yml}}

  • stdin으로 전달된 입력을 사용하여 리소스 교체:

kubectl replace {{[-f|--filename]}} -

  • 강제로 교체: 리소스를 삭제한 후 다시 생성:

kubectl replace {{[-f|--filename]}} {{경로/대상/파일.yml}} --force