# homelab **Repository Path**: duhongming/homelab ## Basic Information - **Project Name**: homelab - **Description**: 家庭实验室,玩转各种技术 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-25 - **Last Updated**: 2025-12-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```bash kubectl apply -f apps/traefik/aria2.yaml kubectl apply -f apps/traefik/dashboard.yaml kubectl apply -f apps/traefik/db.yaml kubectl apply -f apps/traefik/dns.yaml kubectl apply -f apps/traefik/file-sync.yaml kubectl apply -f apps/traefik/gitea.yaml kubectl apply -f apps/traefik/ha.yaml kubectl apply -f apps/traefik/hive.yaml kubectl apply -f apps/traefik/iot.yaml kubectl apply -f apps/traefik/jenkins.yaml kubectl apply -f apps/traefik/kubesphere-monitoring-system.yaml kubectl apply -f apps/traefik/kubesphere-system.yaml kubectl apply -f apps/traefik/minio-hdd.yaml kubectl apply -f apps/traefik/minio-operator-console.yaml kubectl apply -f apps/traefik/minio-ssd.yaml kubectl apply -f apps/traefik/n8n.yaml kubectl apply -f apps/traefik/nacos.yaml kubectl apply -f apps/traefik/nocodb.yaml kubectl apply -f apps/traefik/photo.yaml kubectl apply -f apps/traefik/portainer.yaml kubectl apply -f apps/traefik/pve.yaml kubectl apply -f apps/traefik/qinglong.yaml kubectl apply -f apps/traefik/rancher.yaml kubectl apply -f apps/traefik/rss.yaml kubectl apply -f apps/traefik/speedtest-tracker.yaml kubectl apply -f apps/traefik/talebook.yaml kubectl apply -f apps/traefik/traefik.yaml kubectl apply -f apps/traefik/uptime-kuma.yaml kubectl apply -f apps/traefik/xxl-job-admin.yaml ``` # git ```bash git config --global user.email "admin@duhongming.top" git config --global user.name "duhongming" git config --local user.email "admin@duhongming.top" git config --local user.name "duhongming" ``` ```bash ctr -n=k8s.io images prune --all ``` ```bash for pod in $(kubectl get pods --all-namespaces -o jsonpath='{range .items[*]}{.metadata.name}{","}{.metadata.namespace}{"\n"}{end}'); do pod_name=$(echo $pod | cut -d ',' -f 1) namespace=$(echo $pod | cut -d ',' -f 2) writes=$(kubectl describe pod "$pod_name" -n "$namespace" | grep 'Writes:' | awk '{print $2}') echo "$pod_name,$namespace,$writes" >> pod_writes.txt done ``` ```bash sort -t ',' -k 3 -nr pod_writes.txt | head -n 1 ``` ```bash helm uninstall -n kubesphere-system ks-core ``` ```bash kubectl taint nodes k8s-node4 performance=low:NoSchedule ```