Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
by
최경현
,
저스틴 도밍거스
,
존 어런들
December 2019
Beginner to intermediate
420 pages
8h 34m
Korean
Hanbit Media, Inc.
Content preview from
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
108
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
ports:
- containerPort: 8888
언뜻 보기에는 복잡해 보이지만 대부분 자주 쓰이는 상용구 코드
boilerplate
다. 주의 깊게 살펴봐
야 할 부분은 컨테이너 이미지 이름과 포트다. 이전에
kubectl
run
을 사용했을 때는 내부적으
로
YAML
매니페스트와 비슷한 것을 만들어 쿠버네티스에 전달했다.
4.6.3
kubectl
apply
사용하기
선언형 인프라 코드 시스템으로서의 쿠버네티스 기능을 충분히 잘 활용하려면
kubectl
apply
명령어를 사용하여
YAML
매니페스트를 클러스터에 직접 전달해야 한다.
예제 디플로이먼트 매니페스트인
hello
-
k8s
/
k8s
/
deployment
.
yaml
2
을 실행해보자.
데모 애플리케이션이 저장된 경로에서 다음 명령어를 실행해보자.
cd
hello-k8s
kubectl
apply
-f
k8s/deployment.yaml
deployment.apps "demo" created
몇 초 후에 확인해보면 데모 파드가 실행 중일 것이다.
kubectl
get
pods
--selector
app=demo
NAME READY STATUS RESTARTS AGE
demo-6d99bf474d-z9zv6 1/1 Running 0 2m
여기서 끝이 아니다.
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.
Start your free trial
You might also like
쿼커스 쿡북: 쿠버네티스를 위한 네이티브 자바 솔루션
유동환, 알렉스 소토 부에노, 제이슨 포터
밑바닥부터 시작하는 데이터 과학 데이터 분석을 위한 파이썬 프로그래밍과 수학·통계 기초
Joel Grus, Hangyeol Kim, Seongju Ha, Eunjung Park
효율적인 리눅스 명령어 사용의 기술
Daniel J Barrett
처음 시작하는 파이썬: 파이썬 패키지를 활용한 모던 컴퓨팅 입문
최길우, 빌 루바노빅
Publisher Resources
ISBN: 9791162248249