Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
KubeCon Talk 2016- Basics of Kubernetes Service...
Search
Brandon Philips
November 08, 2016
Programming
0
540
KubeCon Talk 2016- Basics of Kubernetes Service Discovery
Demo uses
https://coreos.com/kubernetes/docs/latest/network-troubleshooting.html
Brandon Philips
November 08, 2016
Tweet
Share
More Decks by Brandon Philips
See All by Brandon Philips
Node.js Workflow with Minikube and Skaffold
philips
0
260
Manage the App on Kubernetes
philips
0
340
Production Backbone Monitoring Containerized Apps
philips
0
200
KubeCon EU 2017: Dancing on the Edge of a Volcano
philips
1
780
rkt - KubeCon EU keynote - 2017
philips
1
280
FOSDEM_Keynote_2017-_.pdf
philips
0
140
Tectonic Summit Day 2 Keynote
philips
0
360
Kubernetes: Simple to Manage Anywhere (self-hosted, Tectonic upgrade demo)
philips
0
410
KubeCon Keynote 2016- Distributed Systems Simplified on Kubernetes
philips
2
560
Other Decks in Programming
See All in Programming
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
700
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
180
データファイルをAWSのDWHサービスに格納する / 20251115jawsug-tochigi
kasacchiful
2
110
関数の挙動書き換える
takatofukui
4
760
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
920
認証・認可の基本を学ぼう前編
kouyuume
0
140
エディターってAIで操作できるんだぜ
kis9a
0
620
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
310
AIエージェントでのJava開発がはかどるMCPをAIを使って開発してみた / java mcp for jjug
kishida
5
850
GeistFabrik and AI-augmented software development
adewale
PRO
0
230
CloudNative Days Winter 2025: 一週間で作る低レイヤコンテナランタイム
ternbusty
7
1.9k
Integrating WordPress and Symfony
alexandresalome
0
110
Featured
See All Featured
Bash Introduction
62gerente
615
210k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
119
20k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
370
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
How to Ace a Technical Interview
jacobian
280
24k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
54k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
4 Signs Your Business is Dying
shpigford
186
22k
Transcript
Brandon Philips @brandonphilips |
[email protected]
| coreos.com Kubernetes Service Discovery
Fundamentals and Extensions
90+ Projects on GitHub, 1,000+ Contributors OPEN SOURCE Secure solutions,
support plans, training + more ENTERPRISE CoreOS is Running the World’s Containers Linux
Examples minikube
- Use the quickstart tutorial - Or try out rkt
quickstart - Ensure you get kubectl work: kubectl get nodes NAME STATUS AGE minikube Ready 6m minikube
Overview Label Service Discovery
Fundamental API Server - API Server is bedrock of discovery
- Available at well-known URL - Protected by TLS and accounts
Fundamental Labels
Fundamental Labels
kubectl run nginx --image=nginx -l app=nginx kubectl get replicaset -l
app=nginx kubectl get pods -l app=nginx -w Fundamental Labels
Fundamental Labels
kubectl expose deployment nginx --port 80 --type=NodePort minikube service nginx
Fundamental Labels
Overview Above the API
- Configured statically in kubelet (--cluster-dns) - Injected into /etc/resolv.conf
of containers - Meta alert: DNS Service IP backed by Kubernetes - kubectl describe service -n kube-system kube-dns DNS Add-on
Name: kube-dns Namespace: kube-system Labels: k8s-app=kube-dns Selector: k8s-app=kube-dns Type: ClusterIP
IP: 10.0.0.10 Port: dns 53/UDP Endpoints: 10.1.0.3:53 kube-dns the service
DNS Add-on Basics API Server kube-dns Service 10.0.0.10 dig +vc
-p @10.0.0.10 kube-dns.kube-system.svc.cluster.local ;; QUESTION SECTION: ;kube-dns.kube-system.svc.cluster.local. IN A ;; ANSWER SECTION: kube-dns.kube-system.svc.cluster.local. 30 IN A 10.0.0.10
Copy/paste one-liner to forward DNS to localhost $ dig +vc
-p 5300 @127.0.0.1 cluster.local kube-dns proxy to localhost
$ dig A etcd-0000.default.cluster.local etcde-0001.default.svc.cluster.local. 30 IN A 10.0.0.40 $
dig SRV _client._tcp.etcd-0000.default.cluster.local IN SRV 10 100 2379 etcde-0001.default.svc.cluster.local. DNS Add-on - Records
$ dig A etcd-0000 IN A 10.0.0.40 $ dig A
etcd-0000.default IN A 10.0.0.40 DNS Add-on - Search
Full docs are comprehensive I helped write them :) http://kubernetes.io/docs/admin/dns/
kube-dns full docs
tectonic.com/summit - @TectonicSummit December 12 & 13 2016 - New
York City
Thank you! Brandon Philips @brandonphilips |
[email protected]
| tectonic.com We’re
hiring in all departments! Email:
[email protected]
Positions: coreos.com/ careers