Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetes 101
Search
Alexandre González
March 29, 2016
Technology
0
630
Kubernetes 101
This was an internal talk made for jobandtalent.com.
You can find the source of the examples here:
Alexandre González
March 29, 2016
Tweet
Share
More Decks by Alexandre González
See All by Alexandre González
Building an Enterprise-Ready Lambda Experience
agonzalezro
0
90
Fragmentación, el virus que puede acabar con tu alta disponibilidad (con ejemplos para kubernetes)
agonzalezro
0
420
From source code to Kubernetes, a Continuous Deployment tale
agonzalezro
0
110
From pets to cattle, the way of Kubernetes
agonzalezro
2
620
Python, Kubernetes & friends
agonzalezro
0
460
Custom Volume Plugins
agonzalezro
1
1.3k
Docker 101
agonzalezro
4
200
Go 101 updated
agonzalezro
0
810
Kubernetes Volume Plugins: Flocker
agonzalezro
2
760
Other Decks in Technology
See All in Technology
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
12
560
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
3
500
RAG/Agent開発のアップデートまとめ
taka0709
0
190
Bedrock AgentCore Memoryの新機能 (Episode) を試してみた / try Bedrock AgentCore Memory Episodic functionarity
hoshi7_n
0
120
多様なデジタルアイデンティティを攻撃からどうやって守るのか / 20251212
ayokura
0
490
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
310
AlmaLinux + KVM + Cockpit で始めるお手軽仮想化基盤 ~ 開発環境などでの利用を想定して ~
koedoyoshida
0
110
SQLだけでマイグレーションしたい!
makki_d
0
850
ChatGPTで論⽂は読めるのか
spatial_ai_network
11
29k
5分で知るMicrosoft Ignite
taiponrock
PRO
0
400
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
4
170
プロンプトやエージェントを自動的に作る方法
shibuiwilliam
13
11k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
Practical Orchestrator
shlominoach
190
11k
It's Worth the Effort
3n
187
29k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Code Reviewing Like a Champion
maltzj
527
40k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
110
How to train your dragon (web standard)
notwaldorf
97
6.4k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
740
Transcript
kubernetes 101 @agonzalezro
What's Kubernetes? "Kubernetes is an open source orchestration system for
Rocket containers for Docker containers."
None
Concepts NOTE: all the names link to their documentation.
Pod
Replication Controller
Label
Namespace
Service ClusterIP NodePort LoadBalancer
Ingress
{scheduled,}Job
Secrets
New in 1.2
DaemonSet
Deploy (β)
ConfigMap
None
One more thing
Readiness & liveness probes
DEMO! DEMO! DEMO!
AWS export AWS_DEFAULT_PROFILE=myawsprofile export KUBE_AWS_ZONE=eu-west-1c export MASTER_SIZE=m3.medium export NODE_SIZE=m3.medium ...
# config/aws/default-config.sh export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash
or GKE gcloud config set project k8s-jobandtalent gcloud container clusters
get-credentials cluster-1
Cluster thingies kubectl cluster-info kubectl config view
Your first cattle kubectl run nginx --image=nginx:1.9.12 # Thanks Kelsey!
kubectl expose deployment nginx --port=80 --type=LoadBalancer
kubectl get services <<< NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes
10.3.240.1 <none> 443/TCP 25m nginx 10.3.247.144 146.148.8.48 80/TCP 1m
kubectl exec -it nginx...
Let's yamlized it cat examples/k8s/*.yml
kubectl create -f ... # Change ... for your yaml
:)
Rolling upgrade kubectl rolling-update hello-rc -f api-rc2.yml
Or... (since 1.2) # edit file kubectl replace -f ...
# where ... is your yaml
And {auto,}scaling kubectl scale rc hello-rc --replicas=5 kubectl autoscale rc
hello-rc --min=X --max=Y
Thanks! @agonzalezro