Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
KubeCon + CNCon とシアトルの歩き方(メイン:CoreDNS)
Search
yasuhiro1711
December 27, 2018
Technology
300
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
KubeCon + CNCon とシアトルの歩き方(メイン:CoreDNS)
yasuhiro1711
December 27, 2018
Transcript
19 slides
KubeCon + CNCon と シアトルの歩き方 (メイン:CoreDNS) @yasuhiro1711 KubeCon+CNCon NA 2018 Recap!!
急遽、本日参戦を決めたため、 コンテンツ不十分なところが あるかもしれません。 ご了承ください!
自己紹介 @yasuhiro1711 でやってます。 ・SREやってます。 ・ウエディングパーク所属。(サイバーエージェント グループ)
本日の内容 ・KubeCon 紹介 ・セッション→ CoreDNS紹介 ・シアトルの歩き方
KubeCon + CNCon
セッション
CoreDNSについて Understanding CoreDNS in Kubernetes - John Belamaric, Google; Cricket
Liu & Francois Tur, Infoblox Switching the Engine (DNS) in Kubernetes: Benchmarks and Possibilities - Michael Grosser, Okkur Labs & Jake Sanders, Google ここから、幾つかをピックアップしてまとめてきました。 (この先で利用している図表はこのプレゼンのものを引用しています。)
CoreDNSとは? ・Golang製の軽量なフレキシブルDNSサーバ ・CNCFプロジェクトの一つ ・プラグインベースのアーキテクチャーで、拡張性高い。 ・ DNS, DNS over TLS (DoT),
DNS over gRPC のサポート ・ Caddy HTTP server (“Caddy DNS”) が元。
CoreDNSとは? ・kubernetes1.11 からGenerally available ・kubernetes1.13 よりデフォルトDNS ・AWS Route53 などのクラウドベンダーとのインテグレーションが可能 ・Prometheus
metricsもサポート
CoreDNS (vs. kube-dns) ・プラグインで機能拡張が容易。 ・34のプラグインが存在。新規も続々開発されている。 ・実行ファイル1つ、プロセス1つで動く。 ・kube-dnsで解決できなかったセキュリティ課題の解決ができた。 ・めちゃ良い性能(ベンチマーク)
CoreDNS vs. kube-dns メモリ
CoreDNS vs. kube-dns クエリー
CoreDNS プラグイン
CoreDNS のKubernetes 関連プラグイン ・Autopathオプション →外部の名前解決の待ち時間短縮機能 ・K8s External ・Kubernetai ・Federation
k8sでの名前解決の問題 Kubernetes は長いDNSの検索パスを持っている。 - <namespace>.svc.cluster.local - svc.cluster.local - cluster.local -
次に、検索パスへ行く なので外部を名前解決すると、以下のように長くなる。 dnstools# host -v google.com Trying "google.com.default.svc.cluster.local" Trying "google.com.svc.cluster.local" Trying "google.com.cluster.local" Trying "google.com" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62752 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
Autopath の機能 要件:kubernetes pods verified + autopath有効 CoreDNSがどの名前空間にpodsがいるかを把握し、CoreDNS内部で判断が入るため、待ち時間が短縮される。 dnstools# host
-v google.com Trying "google.com.default.svc.cluster.local" ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38177 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;google.com.default.svc.cluster.local. IN A ;; ANSWER SECTION: google.com.default.svc.cluster.local. 13 IN CNAME google.com. google.com. 13 IN A 172.217.9.142
Autopath 結果
シアトルの歩き方 (資料では省略)
ありがとうございました @yasuhiro1711
More Decks by yasuhiro1711
See All by yasuhiro1711
ウエディングパークにおけるコンテナ化方針決定までの道のり
yasuhiro1711
1
2.8k
CAグループのウエディングパーク事例コンテナ化に向けたクラウドベンダー比較選定そしてECS?EKS?
yasuhiro1711
0
2.2k
KubeCon NA 2018 RecapCI/CD session selects @yasuhiro1711
yasuhiro1711
0
190
初心者がk8sでWPを運用するまでの学習事例
yasuhiro1711
5
1.4k
成果を出し続けるエンジニア組織を目指してやってること
yasuhiro1711
7
39k
Other Decks in Technology
See All in Technology
NutanixへのSSHアクセスの今後について
shadowhat
0
190
kubellの最新データ分析環境
kubell_hr
2
360
現地速報! Microsoft Ignite アップデートレポート
kasada
1
750
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
5
18k
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
500
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
データ界隈LT祭の運営のふりかえり
yoshimura_datam
0
120
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
140
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
150
本の挿絵に困ったから挿絵メーカーを自作した
yoshimura_datam
1
140
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1.1k
Taking back control of your AI development
inesmontani
PRO
0
320
Featured
See All Featured
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
390
Test your architecture with Archunit
thirion
2
2.5k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
370
Facilitating Awesome Meetings
lara
57
7.2k
Odyssey Design
rkendrick25
PRO
3
980
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The SEO Collaboration Effect
kristinabergwall1
1
630
Ethics towards AI in product and experience design
skipperchong
2
480