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
260
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
72
Kubernetes for beginner
seungkyua
0
170
Other Decks in Programming
See All in Programming
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
210
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
セキュリティマネジャー廃止とクラウドネイティブ型サンドボックス活用
kazumura
1
170
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
110
Use Perl as Better Shell Script
karupanerura
0
690
社内での開発コミュニティ活動とモジュラーモノリス標準化事例のご紹介/xPalette and Introduction of Modular monolith standardization
m4maruyama
0
120
既存デザインを変更せずにタップ領域を広げる方法
tahia910
1
160
ReadMoreTextView
fornewid
1
360
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
130
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.2k
CSC307 Lecture 17
javiergs
PRO
0
110
XSLTで作るBrainfuck処理系
makki_d
0
190
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Producing Creativity
orderedlist
PRO
346
40k
Embracing the Ebb and Flow
colly
86
4.7k
Visualization
eitanlees
146
16k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Fireside Chat
paigeccino
37
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
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