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
Intro to Kubernetes
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jacob Tomlinson
October 29, 2015
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to Kubernetes
Jacob Tomlinson
October 29, 2015
Transcript
30 slides
Jacob Tomlinson Senior Developer / Engineer
None
Docker
$ docker run mongo
$ docker run -d --name mongo1 --restart always -- log-driver=syslog
--log-opt address=tcp:// 192.168.0.42:123 -v /data/:/data/ -v /home/me/file:/ file -p 27017: 27017 mongo
#!/bin/bash docker run -d --name mongo1 --restart always --log-driver=syslog --log-
opt address=tcp://192.168.0.42:123 -v /data/:/data/ -v /home/me/file:/file - p 27017: 27017 mongo docker run -d --name webapp1 --restart always --log-driver=syslog --log- opt address=tcp://192.168.0.42:123 -v /home/me/file:/file -p 8000: 8000 myorg/webapp docker run -d --name webapp2 --restart always --log-driver=syslog --log- opt address=tcp://192.168.0.42:123 -v /home/me/file:/file -p 8001: 8000 myorg/webapp docker run -d --name webapp3 --restart always --log-driver=syslog --log- opt address=tcp://192.168.0.42:123 -v /home/me/file:/file -p 8002: 8000 myorg/webapp docker run -d --name nginx --restart always --log-driver=syslog --log-opt address=tcp://192.168.0.42:123 -p 80: 80 nginx
Shipyard
None
None
Describe
Pods
apiVersion: v1 kind: Pod metadata: name: mongo spec: containers: -
name: mongo image: mongo ports: - containerPort: 27017
apiVersion: v1 kind: Pod metadata: name: mongo spec: containers: -
name: mongo image: mongo ports: - containerPort: 27017
Replication
apiVersion: v1 kind: ReplicationController metadata: name: webapp spec: replicas: 3
managing selector: app: webapp template: metadata: labels: app: webapp spec: containers: - name: webapp image: myorg/webapp ports: - containerPort: 8000
apiVersion: v1 kind: ReplicationController metadata: name: webapp spec: replicas: 3
managing selector: app: webapp template: metadata: labels: app: webapp spec: containers: - name: webapp image: myorg/webapp ports: - containerPort: 8000
apiVersion: v1 kind: ReplicationController metadata: name: webapp spec: replicas: 3
managing selector: app: webapp template: metadata: labels: app: webapp spec: containers: - name: webapp image: myorg/webapp ports: - containerPort: 8000
apiVersion: v1 kind: ReplicationController metadata: name: webapp spec: replicas: 3
managing selector: app: webapp template: metadata: labels: app: webapp spec: containers: - name: webapp image: myorg/webapp ports: - containerPort: 8000
Services
apiVersion: v1 kind: Service metadata: name: nginx-service spec: ports: -
port: 8000 targetPort: 80 protocol: TCP selector: app: nginx
apiVersion: v1 kind: Service metadata: name: nginx-service spec: ports: -
port: 8000 targetPort: 80 protocol: TCP selector: app: nginx
Fail Fast, Fail Cheap
Cattle Not Pets
Stateless Applications
Forced
Scalability
Patching? Host problems?
None
Embrace
www.informaticslab.co.uk www.jacobtomlinson.co.uk @_jacobtomlinson Questions?
More Decks by Jacob Tomlinson
See All by Jacob Tomlinson
Documenting your open source projects for machines
jacobtomlinson
0
76
EffVer - Version your code by the effort required to upgrade
jacobtomlinson
0
190
Tech Exeter - Intro to Kubernetes 10 Year Update
jacobtomlinson
0
130
Who Builds the PyData Ecosystem?
jacobtomlinson
0
190
The Art of Wrangling Your GPU Python Environments
jacobtomlinson
0
170
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
580
Dask on HPC in 2024 - Lightning Talk
jacobtomlinson
0
150
GPU Acceleration in the PyData community
jacobtomlinson
0
160
Dask on HPC in 2024
jacobtomlinson
0
190
Other Decks in Technology
See All in Technology
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
13
9k
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
2
1.2k
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
1
240
kubellの最新データ分析環境
kubell_hr
2
200
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
0
310
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
270
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
210
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
3
640
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
160
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
260
AI×アジャイルで、石橋を高速で叩きながら渡る~電力会社がゼロから築いた会員サイト改善プロセス~ / 20261112 Ayami Kanazawa & Shigeru Hirai
shift_evolve
PRO
1
110
ぼくのClaude Codeの使い方
falken
PRO
5
7.6k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630
Building a Scalable Design System with Sketch
lauravandoore
464
34k
エンジニアに許された特別な時間の終わり
watany
109
250k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Fireside Chat
paigeccino
43
4.1k
Ethics towards AI in product and experience design
skipperchong
2
470
WENDY [Excerpt]
tessaabrams
15
41k
The SEO Collaboration Effect
kristinabergwall1
1
620
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
670
Thoughts on Productivity
jonyablonski
76
5.5k