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
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
63
2
장
쿠버네티스 첫걸음
들어 우분투 운영체제가 포함된 컨테이너 이미지를 가져와서 원하는 파일을 추가하면 새로운
이미지가 생성된다.
일반적으로 도커파일은
베이스
이미지
라고 부르는 시작 이미지를 가져와 변환하여 새로운 이미
지로 저장하는 명령을 담고 있다.
2.3.1
도커파일 이해하기
데모 애플리케이션의 도커파일을 살펴보자
(
애플리케이션 저장소 내
hello
디렉터리에 있다
)
.
FROM golang:1.11-alpine AS build
WORKDIR /src/
COPY main.go go.* /src/
RUN CGO_ENABLED=0 go build -o /bin/demo
FROM scratch
COPY --from=build /bin/demo /bin/demo
ENTRYPOINT ["/bin/demo"]
이 코드가 어떻게 동작하는지 정확한 세부 사항이 지금 중요하지는 않지만, 여기서는
멀티
스테
이지
빌드
multi
-
stage
builds
6
라는 빌드 프로세스를 사용한다. 첫 번째 단계는
golang
공식 컨테이너
이미지에서 시작한다. 이 컨테이너 이미지는
Go
언어 환경이 설치된 운영체제
(
여기서는 알파
인 리눅스
)
다. 컨테이너 이미지는
go
build
명령어를 실행하여 앞서 살펴본
main
.
go
파일을
컴파일한다.
go
build
명령어의 결과로 ...
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