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
Kubernetes 102 - O Caminho das pedras - Parte 2
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Getup Cloud
August 23, 2018
Programming
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes 102 - O Caminho das pedras - Parte 2
Services, o loadbalancer do kubernetes!
Getup Cloud
August 23, 2018
More Decks by Getup Cloud
See All by Getup Cloud
Kubernetes 101 - O Caminho das pedras - Parte 1
getupcloud
1
800
Plataforma de Desenvolvimento e Hosting na Nuvem
getupcloud
0
77
Getup Case Banco do Brasil/ Meetup OpenShift SP
getupcloud
0
85
PaaS na Terra - Cloud Computig ao alcance de todos
getupcloud
0
58
OpenShift Origin Index - Semana Acadêmica Feevale
getupcloud
0
70
PaaS - OpenShift como plataforma pública
getupcloud
0
64
Escalando aplicação Python usando Getup OpenShift
getupcloud
0
100
Computação em Nuvem para Agências Digitais e Desenvolvedores
getupcloud
1
170
Other Decks in Programming
See All in Programming
ジョジョの世界をXRで再現する
mofurune
0
160
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2.2k
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
golang-bob.pdf
iwatsukayura
0
130
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
430
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
600
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
Marketing to machines
jonoalderson
1
5.9k
Prompt Engineering for Job Search
mfonobong
0
520
Designing for Performance
lara
612
70k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Unsuck your backbone
ammeep
672
58k
Why Our Code Smells
bkeepers
PRO
340
58k
Ethics towards AI in product and experience design
skipperchong
2
430
Transcript
@juniorjbn
[email protected]
KUBERNETES - 102 Kubernetes it's not a Big
Deal. It's like the old infrastructure but without the old :D
João Brito @juniorjbn
[email protected]
Advocate/Sysadmin Getup Cloud
SVC Overview • Discovery • Balancing Remember • Readiness •
Liveness • ExecAction • TCPSocketAction • HTTPGetAction SVC
Service • Define ◦ Label Selector ◦ REST object kind:
Service apiVersion: v1 metadata: name: my-service spec: selector: app: MyApp ports: - protocol: TCP port: 80 targetPort: 9376 $ kubectl -n demo run hello-cloud --image juniorjbn/php-demo:1 --port 8080 $ kubectl -n demo expose deployment hello-cloud --port=80 --target-port=8080 --type=LoadBalancer
Service Multi-port • Define ◦ Label ◦ REST object ◦
Name kind: Service apiVersion: v1 metadata: name: my-service spec: selector: app: MyApp ports: - name: http protocol: TCP port: 80 targetPort: 9376 - name: https protocol: TCP port: 443 targetPort: 9377
HeadLess Service • What? ◦ External ◦ Manual kind: Endpoints
apiVersion: v1 metadata: name: my-service subsets: - addresses: - ip: 1.2.3.4 ports: - port: 9376 kind: Service apiVersion: v1 metadata: name: my-service spec: ports: - protocol: TCP port: 80 targetPort: 9376
Proxy-Mode Processos $ ps aux | grep kube-proxy $ journalctl
$ tail -f /var/log/kube-proxy.log Regras $ Kubectl -n demo get pods -o wide $ gcloud compute ssh <node> --zone <zone> $ iptables-save | grep hello
Service Type • ClusterIP ◦ Internal IP • NodePort ◦
NodeIP:NodePort • LoadBalancer ◦ ProviderAPI • ExternalName ◦ CNAME • ExternalIPs kind: Service apiVersion: v1 metadata: name: my-service spec: selector: app: MyApp ports: - name: http protocol: TCP port: 80 targetPort: 9376 externalIPs: - 80.11.12.10
Demo - Front + Back Colocar app no ar no
cluster criado: • BACKEND • $ kubectl create -f https://k8s.io/examples/service/access/hello.yaml • $ kubectl create -f https://k8s.io/examples/service/access/hello-service.yaml • FRONTEND • $ kubectl create -f https://k8s.io/examples/service/access/frontend.yaml • $ kubectl get service frontend --watch
Special Tks to: My Family My Team kubernetes.io Tks a
lot! Vocês são TOP!