분류 전체보기(311)
-
powershell / az 모듈 설치
참고 사이트https://github.com/PowerShell/PowerShell/releases Releases · PowerShell/PowerShellPowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.github.comhttps://learn.microsoft.com/en-us/powershell/azure/install-azure-powershell?view=azps-14.6.0&viewFallbackFrom=azps-2.5.0 How to install Azure PowerShellAzure PowerShell is available to insta..
2025.11.07 -
Rocky10 booting
BootingBooting이란, 컴퓨터를 켜서 운영체제를 실행하고, 사용자가 이용할 수 있도록 시스템이 준비되는 과정 VM 의 부팅순서BIOS/UEFI → GRUB (bootloader) → Linux Kernel → systemd → Target(runlevel) → Login Runlevel Systemd Target 설명SysV runlevel 개념이 Systemd target 으로 대체되었다.이해를 위해 각 runlevel 과 systemd target 은 아래와 같이 맵핑된다.0poweroff.target시스템 종료1rescue.targetsingle-user mode (GUI 없음)2,3,4multi-user.target콘솔 기반 다중 사용자, 네트워크 활성화5graphical.target..
2025.09.16 -
스크립트 service 및 timer 등록
적용하고자 하는 간단한 스크립트[root@k8s-compute1 ~]# cat /usr/local/bin/myscript.sh#! /bin/bashtime=$(date +"%Y%m%d_%H%M%S")echo "hello_${time}" > /tmp/hello_${time}.txtfind /tmp -maxdepth 1 -name 'hello_*.txt' -mmin +10 -delete 설정파일 생성[root@k8s-compute1 system]# pwd/etc/systemd/system[root@k8s-compute1 system]# cat myscript.service[Unit]Description=My Simple Script Service[Service]Type=oneshotExecStart=/us..
2025.09.09 -
metric server 설치
설치방법kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml설치방법은 명령어 한 줄이면 간단하게 된다.하지만 이것만 하게 되면 metric-server 파드가 안 뜨는 경우가 대부분일 것이라 예상된다. Trouble Shooting1# 파드에서의 event log: Warning Unhealthy 2s (x9 over 79s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 500 # 파드 내 log:I0902 07:17:06.198231 1 server.g..
2025.09.02 -
node join 및 delete
아래와 같은 k8s 클러스터에 노드를 조인해보자.[root@k8s-control ~]# k get node -o wideNAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIMEk8s-compute1 Ready 26d v1.32.7 10.0.2.12 Rocky Linux 10.0 (Red Quartz) 6.12.0-55.22.1.el10_0.x86_64 cri-o://1.30.14k8s-compute2 Re..
2025.08.28 -
systemd 를 활용한 오토마운트
systemd unit 생성vi 를 통해 아래와 같이 systemd unit 을 생성하면 auto mount 를 systemd 를 통해 제어할 수 있다.[Unit]Description=Mount for /etc/logsAfter=local-fs-pre.targetBefore=local-fs.target[Mount]What=/dev/mapper/r2-logic_volWhere=/etc/logsType=xfsOptions=defaults[Install]WantedBy=multi-user.target systemd unit 활성화 $ vi /etc/systemd/system/etc-logs.mount$ systemctl daemon-reload$ systemctl enable --now etc-logs.mo..
2025.08.13