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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
AI & Enginnering
codelynx
0
120
Grafana:建立系統全知視角的捷徑
blueswen
0
330
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
110
今から始めるClaude Code超入門
448jp
8
9k
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.3k
CSC307 Lecture 07
javiergs
PRO
1
550
CSC307 Lecture 09
javiergs
PRO
1
840
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
740
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
140
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
Featured
See All Featured
Code Review Best Practice
trishagee
74
20k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
910
Building AI with AI
inesmontani
PRO
1
700
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
Docker and Python
trallard
47
3.7k
The Spectacular Lies of Maps
axbom
PRO
1
520
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
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