Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Building Kubernetes Infra using Kubespray
Search
Seungkyu Ahn
June 29, 2018
Programming
0
290
Building Kubernetes Infra using Kubespray
This presentation is about how to build Kubernetes cluster using Kubespray.
Seungkyu Ahn
June 29, 2018
Tweet
Share
More Decks by Seungkyu Ahn
See All by Seungkyu Ahn
Cluster API for AWS
seungkyua
0
74
Kubernetes for beginner
seungkyua
0
170
Other Decks in Programming
See All in Programming
高速開発のためのコード整理術
sutetotanuki
1
410
CSC307 Lecture 10
javiergs
PRO
1
660
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
620
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
並行開発のためのコードレビュー
miyukiw
0
300
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
170
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
140
SourceGeneratorのススメ
htkym
0
200
AI & Enginnering
codelynx
0
120
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The SEO Collaboration Effect
kristinabergwall1
0
350
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
76
Believing is Seeing
oripsolob
1
56
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
52
Making the Leap to Tech Lead
cromwellryan
135
9.7k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
First, design no harm
axbom
PRO
2
1.1k
Faster Mobile Websites
deanohume
310
31k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
Paper Plane (Part 1)
katiecoart
PRO
0
4.3k
Transcript
안승규 (Seungkyu Ahn)
[email protected]
Building Infra
저는 소개하자면 • JSP&Servlet -> EJB -> Spring, Hibernate •
CVS -> Subversion -> Git • Ant -> Maven • Transactional Script -> OR Mapping, Domain Modeling • Heavy Class -> Design pattern, Refactoring • Waterfall, UML -> XP Developer : ~2010년 Engineer : 2011년~ • OpenStack • Linux • Docker, Kubernetes • Ansible 학습중 • Deep Learning • Spring boot, Frontend, IOS, Android https://www.ahnseungkyu.com
[email protected]
3 Kubernetes Architecture 3 Kube-API Master Kube-Scheduler Kube-Controller Node Kube-Proxy
Kubelet Kube-Proxy Kubelet Nginx Calico Calico Etcd
4 Kubespray 4 • Kubernetes incubator • https://github.com/kubernetes-incubator/kubespray • Ansible
5 Prerequisite 5 • Connect using ssh without password for
all node • sudo no password • Install Python - all node • swapoff • Install pip • pip install -r requirements.txt • Install ansible
6 Host file 6
7 Host file 7 k0-master01 ansible_port=22 ansible_host=k0-master01 ip=10.0.0.177 k0-node01 ansible_port=22
ansible_host=k0-node01 ip=10.0.0.178 [etcd] k0-master01 [kube-master] k0-master01 [kube-node] k0-node01 [k8s-cluster:children] kube-node kube-master
8 roles 8
9 k8s-cluster.yml 9
10 k8s-cluster.yml 10 kube_version: v1.10.4 kube_network_plugin: calico kube_service_addresses: 10.233.0.0/18 kube_pods_subnet:
10.233.64.0/18 dashboard_enabled: true helm_enabled: false istio_enabled: false local_volume_provisioner_enabled: false ingress_nginx_enabled: false
11 Install kubernetes 11 ansible-playbook -u seungkyua -b -i inventory/k0-seungkyua/hosts.ini
cluster.yml
12 kubernetes cluster 12
Kubernetes Korea User Group https://www.facebook.com/groups/k8skr/
Q&A