전체 글

경험 정리용 연습장
쿠버네티스

[쿠버네티스] PowerScale(Isilon) SC 및 PVC 생성

이전 포스팅에서 이어짐CSI 드라이버 설치가 끝났으면 StorageClass와 PersistentVolumeClaim를 생성해서 사용하면 되며, 현재 경로는 csi-powerscale이라고 가정함 1. StorageClass 생성samples/storageclass/isilon.yaml을 참고하여 생성하면 되는데 주의할 점은 parameters 중 IsiPath에 들어가는 경로의 권한은 직접 스토리지 서버로 들어가서 IsiVolumePathPermissions에 적힌 권한을 수용할 수 있는 권한으로 설정해야함 (IsiVolumePathPermissions의 디폴트 값은 0777)apiVersion: storage.k8s.io/v1kind: StorageClassmetadata: name: isilon-..

쿠버네티스

[쿠버네티스] PowerScale(Isilon) CSI 드라이버 설치

1. 헬름 3 설치 (선택)curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash 2. 디폴트 스냅샷 컨트롤러 설치 (선택)git clone https://github.com/kubernetes-csi/external-snapshotter/cd ./external-snapshottergit checkout release-6.2kubectl kustomize client/config/crd | kubectl create -f -kubectl -n kube-system kustomize deploy/kubernetes/snapshot-controller | kubectl create -f - 3. 깃 클론 및 진입gi..

우분투

[우분투] 재귀적으로 파일 및 폴더 제거

├── np4-bs256-da0-node4 │ ├── checkpoint.1.pth.tar (target_file) │ ├── checkpoint.2.pth.tar (target_file) │ ├── nccl (target_dir) │ └── torch.log ├── np4-bs256-da2-node5 │ ├── checkpoint.1.pth.tar (target_file) │ ├── checkpoint.2.pth.tar (target_file) │ ├── nccl (target_dir) │ └── torch.log ├── np4-bs256-da1-node6 │ ├── checkpoint.1.pth.tar (target_file) │ ├── checkpoint.2.pth.tar (target_file) ..

우분투

[우분투] 데스크탑 버전에서 서버 버전으로 변경

1. 우분투 서버에 필요한 패키지 설치 sudo apt install ubuntu-server sudo reboot 2. multi-user로 default target 변경 그래픽 세션을 시작하지 않음으로써 RAM 및 CPU 리소스를 절약 sudo systemctl set-default multi-user.target sudo reboot 3. 필요 없는 패키지 삭제 sudo apt purge ubuntu-desktop -y && sudo apt autoremove -y && sudo apt autoclean sudo reboot

우분투

[우분투] 인피니밴드 인터페이스 이름 변경

1. IPoIB 인터페이스 하드웨어 주소 확인 ip a | grep ib 2. 설정 파일 (/etc/udev/rules.d/70-persistent-ipoib.rules) 수정 # This is a sample udev rules file that demonstrates how to get udev to # set the name of IPoIB interfaces to whatever you wish. There is a # 16 character limit on network device names. # # Important items to note: ATTR{type}=="32" is IPoIB interfaces, and the # ATTR{address} match must start with ..