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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Seungkyu Ahn
June 29, 2018
Programming
290
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Building Kubernetes Infra using Kubespray
This presentation is about how to build Kubernetes cluster using Kubespray.
Seungkyu Ahn
June 29, 2018
More Decks by Seungkyu Ahn
See All by Seungkyu Ahn
Cluster API for AWS
seungkyua
0
75
Kubernetes for beginner
seungkyua
0
170
Other Decks in Programming
See All in Programming
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
230
Oxcを導入して開発体験が向上した話
yug1224
4
310
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
230
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
400
Creating Composable Callables in Contemporary C++
rollbear
0
120
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
OSもどきOS
arkw
0
560
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
220
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
280
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
460
dRuby over BLE
makicamel
2
340
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
310
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
570
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
200
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
How to Ace a Technical Interview
jacobian
281
24k
Visualization
eitanlees
152
17k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Mind Mapping
helmedeiros
PRO
1
250
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Accessibility Awareness
sabderemane
1
140
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