설치
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq
sudo chmod +x /usr/local/bin/yq
yq 버전 확인
root@k8s-master:~# yq --version
yq (https://github.com/mikefarah/yq/) version v4.45.4
pod yaml 수정
root@k8s-master:~# yq -i 'del(.metadata.creationTimestamp, .metadata.resourceVersion, .metadata.uid, .metadata.managedFields, .status)' pod.yaml'k8s' 카테고리의 다른 글
| DNAT (2) | 2025.07.10 |
|---|---|
| SNAT (0) | 2025.06.30 |
| context namespace 변경 (0) | 2025.06.05 |
| x.509 기반 사용자 생성 (0) | 2025.06.05 |
| dashboard (1) | 2025.06.04 |