Skip to Content
공인 쿠버네티스 관리자(CKA) 학습 가이드 (Korean Edition), 2nd Edition
book

공인 쿠버네티스 관리자(CKA) 학습 가이드 (Korean Edition), 2nd Edition

by Benjamin Muschko
January 2026
Beginner to intermediate
392 pages
5h 51m
Korean
O'Reilly Media, Inc.
Content preview from 공인 쿠버네티스 관리자(CKA) 학습 가이드 (Korean Edition), 2nd Edition

제18장. 인그레스

이 작품은 AI를 사용하여 번역되었습니다. 여러분의 피드백과 의견을 환영합니다: translation-feedback@oreilly.com

제17장에서는 서비스 프리미티브의 목적과 생성 방법을 살펴보았습니다. 애플리케이션을 외부 소비자에게 노출해야 할 필요가 생기면 적절한 서비스 유형을 선택하는 것이 중요해집니다. 가장 실용적인 선택은 종종 로드밸런서(LoadBalancer) 유형의 서비스 를 생성하는 것입니다. 이러한 서비스는 쿠버네티스 클러스터 외부 소비자가 접근할 수 있는 외부 IP 주소를 할당함으로써 로드 밸런싱 기능을 제공합니다.

그러나 외부에서 접근 가능한 애플리케이션마다 로드밸런서 서비스를 선택하는 것은 단점이 있습니다. Cloud 제공자 환경에서는 각 서비스마다 외부 로드밸런서 프로비저닝이 발생하여 비용이 증가합니다. 또한 로드밸런서 서비스 객체 집합을 관리하는 것은 관리상의 어려움을 초래할 수 있는데, 외부에서 접근 가능한 마이크로서비스마다 새로운 객체를 생성해야 하기 때문입니다.

이러한 문제를 완화하기 위해 Ingress 프라이미티브가 활용됩니다. 이는 애플리케이션 스택에 대한 단일 로드 밸런싱 진입점을 제공합니다. Ingress는 선택적 DNS 해결 가능 호스트 이름과 URL 컨텍스트 경로를 기반으로 클러스터 내 하나 이상의 서비스로 외부 HTTP(S) 요청을 라우팅할 수 있습니다. 본 장에서는 Ingress 생성 및 접근 방법을 안내합니다.

minikube에서 Ingress 접근하기

minikube 에서 Ingress에 접근하려면 특별한 처리가 필요합니다. 자세한 지침은 쿠버네티스 튜토리얼 "NGINX Ingress Controller를 사용한 Minikube에서 Ingress 설정하기" 를 참조하십시오.

Ingress 작업

Ingress는 외부에서 접근 가능한 URL을 통해 클러스터 외부 클라이언트에게 HTTP(선택적으로 HTTPS) 경로를 노출합니다. Ingress로 구성된 라우팅 규칙은 트래픽이 어떻게 라우팅되어야 하는지를 결정합니다. 클라우드 제공업체의 쿠버네티스 환경에서는 일반적으로 외부 로드 밸런서 를 배포합니다. Ingress는 로드 밸런서로부터 공용 IP 주소를 할당받습니다. 그림 18-1과 같이 특정 URL 컨텍스트 경로에 기반하여 여러 서비스 로 트래픽을 라우팅하는 규칙을 구성할 수 있습니다.

Diagram illustrating how an Ingress routes HTTP(S) traffic from the external load balancer to specific services within a Kubernetes cluster based on URL paths.
그림 18-1. HTTP(S)를 통한 서비스 외부 접근관리

그림 18-1에 묘사된 시나리오는 도메인 이름 next.example.com에 대한 HTTP(S) 호출의 유일한 진입점으로 Ingress를 인스턴스화합니다. 제공된 URL 컨텍스트에 따라 Ingress는 트래픽을 두 개의 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Cilium: 가동 및 실행 (Korean Edition)

Cilium: 가동 및 실행 (Korean Edition)

Nico Vibert, Filip Nikolic, James Laverack

Publisher Resources

ISBN: 0642572314699