⑥ IT 자격증/CKA,CKAD,CKS
[CKA] 빠른 작업을 위한 시험 환경 설정
->^_^<-
2023. 7. 25. 00:09
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
kubectl Cheat Sheet
This page contains a list of commonly used kubectl commands and flags. Note: These instructions are for Kubernetes v1.27. To check the version, use the kubectl version command. Kubectl autocomplete BASH source <(kubectl completion bash) # set up autocomple
kubernetes.io
# alias설정
alias k=kubectl complete -o default -F __start_kubectl k alias kn='kubectl config set-context --current --namespace' |
# VIM 설정
# ~/.vimrc set tabstop=2 set expandtab set shiftwidth=2 |
# 환경변수 설정
export do="--dry-run=client -o yaml" export now="--force --grace-period 0" |
반응형