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

제3장. 쿠버네티스와의상호작용

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

애플리케이션 개발자 으로서, 애플리케이션을 운영하는 오브젝트를 관리하기 위해 쿠버네티스 클러스터와 상호작용해야 합니다. 클러스터에 대한 모든 호출은 API 서버 구성 요소 에 의해 수신 및 처리됩니다. API 서버에 호출을 수행하는 방법은 다양합니다. 예를 들어, 웹 기반 대시보드나 kubectl과 같은 명령줄 도구를 사용할 수 있습니다. kubectl와 같은 명령줄 도구를 사용하거나 RESTful API 엔드포인트에 대한 직접 HTTPS 요청을 보낼 수 있습니다.

시험에서는 쿠버네티스 클러스터와 상호작용하기 위한 시각적 사용자 인터페이스 의 사용을 평가하지 않습니다. 시험 문제를 해결하기 위한 유일한 클라이언트 는 kubectl입니다. 이 장에서는 쿠버네티스 API 기본 요소와 객체, 그리고 kubectl을 사용한 객체 관리의 다양한 방법에 대해 다룹니다.

API 기본 요소 및 객체

쿠버네티스 기본 요소 는 플랫폼에서 애플리케이션을 생성하고 운영하기 위한 쿠버네티스 아키텍처의 기본 구성 요소입니다. 쿠버네티스 초보자라도 Pod, Deployment, Service라는 용어를 들어본 적이 있을 텐데, 이 모두 쿠버네티스 기본 요소입니다. 쿠버네티스 아키텍처에서 특정 목적을 수행하는 더 많은 기본 요소가 존재합니다.

비유하자면 객체 지향 프로그래밍 개념을 떠올려 보십시오. 객체 지향 프로그래밍 언어에서 클래스는 실제 기능의 청사진, 즉 속성과 동작을 정의합니다. 쿠버네티스 프리미티브는 클래스 에 해당합니다. 객체 지향 프로그래밍에서 클래스의 인스턴스는 객체로, 자체 상태를 관리하며 시스템의 다른 부분과 통신할 수 있습니다. 쿠버네티스 객체를 생성할 때마다 이러한 인스턴스를 생성하는 것입니다.

예를 들어, 쿠버네티스의 Pod는 여러 개의 고유한 인스턴스가 존재할 수 있는 클래스입니다. 모든 쿠버네티스 객체는 시스템 내 엔티티를 명확히 구분하기 위해 시스템에서 생성된 고유식별자 (UID라고도 함)를 가집니다. 후반부에서 쿠버네티스 객체의 속성을 살펴보겠습니다. 그림 3-1은 쿠버네티스 프리미티브와 객체 간의 관계를 보여줍니다.

Diagram illustrating the hierarchical relationship between a Kubernetes Pod primitive and its objects, labeled with unique identifiers for both "Frontend" and "Backend" components.
그림 3-1. 쿠버네티스 객체 식별자

모든 쿠버네티스 기본 객체 는 일반적인 구조 를 따릅니다. 이는 그림 3-2와 같이 객체의 매니페스트를 자세히 살펴보면 확인할 수 있습니다. 쿠버네티스 매니페스트에 주로 사용되는 마크업 언어는 YAML입니다.

Diagram illustrating the structure of a Kubernetes object manifested in YAML, showing sections like API Version, Kind, Metadata, Spec, and Status.
그림 3-2. 쿠버네티스 객체 구조

각 섹션과 ...

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