[카테고리:] Kubernetes

  • Air-Gapped Kubernetes Environment with Nexus-Based Repository (Ubuntu 24.04)

    In an air-gapped environment, installing a Kubernetes cluster requires a reliable internal repository that can serve packages, container images, and Helm charts without internet access.This guide describes how to install Nexus Repository and an Apache2 web server on the Master Node, and how to use them to supply APT packages, Docker images, and Helm charts…

  • 폐쇄망(air-gapped) Kubernetes 환경에서 Nexus 기반 Repository 구축 가이드 (Ubuntu 24.04)

    폐쇄망(air-gapped) 환경에서 Kubernetes 클러스터를 설치하려면, 인터넷 연결 없이도 필요한 패키지, 컨테이너 이미지, Helm 차트를 안정적으로 공급할 수 있는 내부 저장소가 필요하다.이 문서는 Master Node에 Nexus Repository와 Apache2 웹 서버를 설치하고, 이를 통해 APT 패키지, Docker 이미지, Helm 차트를 공급하는 방식으로 Kubernetes를 설치하는 절차를 설명한다.nexus 전용 서버를 별도로 두는 구성을 권장하나, 비용 절감 측면에서 k8s cluster의master…

  • In-Depth Comparison of MetalLB Modes in Kubernetes: L2 vs BGP (with FRR Example)

    1. Introduction In public cloud environments such as EKS, GKE, and AKS, a LoadBalancer Service is automatically mapped to the provider’s native load balancer.In an on-premises Kubernetes cluster, however, there is no built-in way to expose a Service with a dedicated external IP. This is where MetalLB comes in. MetalLB assigns a Service VIP (virtual…

  • Kubernetes에서 MetalLB 동작 모드 심층 비교: L2 vs BGP (FRR 예제 포함)

    1. 서론 퍼블릭 클라우드 환경(EKS, GKE, AKS)에서는 LoadBalancer 타입 Service가 자동으로 클라우드 로드밸런서와 연결된다. 하지만 온프레미스 Kubernetes에서는 그런 기능이 기본적으로 없다. 이때 사용되는 대표 솔루션이 MetalLB다. MetalLB는 Kubernetes 클러스터에 **서비스 VIP(가상 IP)**를 할당하고, 외부 네트워크에서 접근할 수 있게 광고하는 역할을 한다. MetalLB는 두 가지 주요 모드를 제공한다: 두 모드는 구조적 차이, 확장성, 운영 난이도에서 차이가…

  • Kubernetes Deployment Strategies: On-Premises vs. EKS vs. AKS

    1. Introduction Kubernetes has become the de facto standard for modern application deployment and operations.In practice, production environments typically fall into three categories: The choice between them affects far more than cost—it also shapes networking, storage, pod density, and autoscaling strategies.This article examines the unique characteristics and operational approaches of each environment, including autoscaling with…

  • Kubernetes 배포 전략 : 온프레미스 vs EKS vs AKS

    1. 서론 Kubernetes는 현대 애플리케이션 배포와 운영의 표준이다.그러나 실제 운영 환경은 크게 세 가지로 나뉜다. 이 선택은 단순 비용만이 아니라 네트워킹, 스토리지, pod 밀도, 오토스케일링 전략까지 모두 달라진다.이번 글에서는 각 환경의 특성과 운영 전략, 그리고 HPA/CA/Karpenter까지 포함한 오토스케일링 체계를 정리한다. 2. 온프레미스 Kubernetes (Bare-metal) 특징 운영 전략 장점 단점 3. Amazon EKS 특징 운영 포인트…

  • On-Premises Kubernetes Cluster Power Operations Guide: Master, fstab, NAS Procedures

    When running a Kubernetes cluster in an Ubuntu on-premises environment, powering off (shutdown) and powering on (reboot/startup) is not just about toggling the servers.If the Master node, etcd quorum, fstab configuration, or NAS startup order is mishandled, the entire cluster can become unstable.This post outlines how to safely restart a cluster in such an environment.…

  • 온프레미스 Kubernetes 클러스터 전력 작업 가이드: Master, fstab, NAS 운영 절차

    Ubuntu 온프레미스 환경에서 Kubernetes 클러스터를 운영할 때, 전원 차단(Shutdown)과 재기동(Power On) 절차는 단순히 전원만 켜고 끄는 문제가 아니다.Master 노드, etcd quorum, fstab 설정, NAS 기동 순서가 맞지 않으면 클러스터 전체가 불안정해질 수 있다.이 글에서는 온프레미스 환경에서 안전하게 클러스터를 재기동하는 방법을 정리한다. 1. Master 이중화 여부 확인 2. fstab (NFS 마운트) 설정 점검 전제 Kubernetes에서 NAS를…

  • Kubernetes Node Disk Pressure Threshold Adjustment (evictionHard)

    When node disk usage exceeds a certain threshold, the Disk Pressure condition is triggered and pods are evicted.Default hard thresholds (Linux-based): In other words, by default, DiskPressure occurs when root (nodefs) reaches 90% usage and imagefs reaches 85% usage. Adjustment Result (usage basis): Threshold Key Descriptions 📌 Summary: Disk usage can now reach up to…

  • Kubernetes 노드 Disk Pressure 임계치 조정 (evictionHard)

    노드 디스크 사용량이 임계치를 넘으면 DiskPressure 조건이 발생하고 파드가 축출(eviction).기본 하드 임계치 (Linux 기준): 즉, 기본값은 루트(nodefs) 90% 사용, 이미지(imagefs) 85% 사용 시점에서 DiskPressure 발생. 조정 내용 📌 요약: 디스크 사용량이 95%까지 올라가도 DiskPressure가 걸리지 않도록 상향 조정→ 기본 대비 여유 공간 버퍼를 크게 줄인 설정.⚠️ 리스크: 로그 기록, 업데이트, 임시 파일 쓰기 실패 가능성…