Skip to content

Instantly share code, notes, and snippets.

View taking's full-sized avatar
🐈
Focusing

taking taking

🐈
Focusing
View GitHub Profile

Longhorn Installation with Helm

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • (All Nodes) mkdir -p /data/longhorn

helm update

helm repo add longhorn https://charts.longhorn.io

minio Installation with Docker Compose

  • minio on Docker

Prerequisites

  • Docker

.env

DOCKER_ROOT=/volume/HDD_02/minio

Rook Ceph Installation with Helm

Minimum Requirement

  • Cluster 3EA (8G RAM↑)

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • lvm2 pacakge (apt install lvm2 -y)
  • 각 vm 마다 추가 vdb 디스크 마운트 (파티션 X)
#!/bin/bash
# 이동할 디렉토리 설정
source_dir="/volume/500GB_HDD/Downloads"
# 파일 확인 및 이동 함수
move_files() {
for file in "$1"/*; do
if [ -d "$file" ]; then
# 디렉토리인 경우 재귀 호출
for %%f in (*.ts) do (
ffmpeg -i "%%f" -c:v h264_nvenc -c:a copy "%%f.mp4"
)
pause