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
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
340
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
- db:migrate
helm
.
sh
/
hook
속성은
annotations
섹션에
정의한다.
annotations:
"helm.sh/hook": pre-upgrade
"helm.sh/hook-delete-policy": hook-succeeded
pre
-
upgrade
설정은
업그레이드를
수행하기
전에
헬름이
잡
매니페스트를
적용하도록
지시
한다. 잡은
표준
레일스
마이그레이션
명령어를
실행한다.
"
helm
.
sh
/
hook
-
delete
-
policy
":
hook
-
succeeded
은 잡이 성공적으로 완료되면
(
상태값
0
으로 종료하면
)
헬름이 잡을 삭제하도록 지시한다.
13.3.2
실패된 훅 처리하기
잡이
0
이 아닌 종료 코드를 리턴한다면 에러가 발생했거나 마이그레이션이 실패했다는 것을
의미한다. 헬름은 잡을 실패 상태에 유지해놓고 잘못된 것을 디버깅할 수 있게 한다.
이 경우 릴리스 과정은 멈추며 애플리케이션은 업그레이드되지 않는다.
kubectl
get
pods
-
a
명령어를 실행하면 실패한 파드를 조회하여 로그와 자세한 정보를 확인할 수 있다.
이슈가 해결되었다면 실패한 잡을 삭제하고
(
kubectl
delete
job
<
job
-
name
>
)
업그레이드
를 다시 시도한다.
13.3.3
다른 훅
pre
-
upgrade ...
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