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 Operators: Managing complex software...
Search
Josh Wood
February 05, 2017
Technology
210
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes Operators: Managing complex software with software
FOSDEM '17, Université Libre du Bruxelles, Brussels, Belgium:
https://fosdem.org/2017/
Josh Wood
February 05, 2017
More Decks by Josh Wood
See All by Josh Wood
OpenShift and Kubernetes
joshix
0
230
SRE Principle and Operator Practice
joshix
0
920
Operator Hub and your Kubernetes Cluster
joshix
0
530
Operators are about automation
joshix
0
170
Automating Stateful Applications with Kubernetes Operators
joshix
0
220
Developing Apps on OpenShift
joshix
0
89
Intro to building Kubernetes Operators
joshix
1
140
Kubernetes Operators for App Developers
joshix
0
110
Kubernetes Operators
joshix
0
150
Other Decks in Technology
See All in Technology
Account Factory for Terraformによる 標準化されたアカウント発行の自動化
pensuke628
0
120
Databricksメトリクスビューはじめてのもくもく会
taka_aki
0
160
全社共通データ基盤をつくる。ソニーのDatabricks活用とデータガバナンス設計の裏側
sony
0
300
【データ横丁主催】AI Agentがコンテキストを使って仕事をした後、何が残るのか― 組織の経験を次の判断に引き継ぐ「Agent Memory」
shisyu_gaku
2
320
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
180
GitHub Agentic Workflows を触ってみる
htkym
2
920
インバスケット試験対策アプリを 作って見えたAIエージェント構築 ナレッジ2選
shichijoyuhi
1
110
企業の現実世界をグラフで写し取る
sansantech
PRO
0
240
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
570
AI駆動開発で仕様はどこまで書くべきか? ― 人とAIの責務境界から考える開発プロセスの実践
takahiromatsui
1
290
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
190
AIに書かせて、プラットフォームで縛る ― EKSプラットフォームで実践した責任境界と権限設計
elmodev09
1
1.1k
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
410
Become a Pro
speakerdeck
PRO
31
6.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
KATA
mclloyd
PRO
35
16k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
520
Evolving SEO for Evolving Search Engines
ryanjones
0
300
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
840
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
450
Odyssey Design
rkendrick25
PRO
2
850
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
380
Transcript
Kubernetes Operators: Managing Complex Software with Software Josh Wood DocOps
at CoreOS @joshixisjosh9
Overview Scaling Stateless Apps
$ kubectl scale replicas=3 ... ReplicaSet
ReplicaSet
ReplicaSet
None
Overview What about apps that…store data
$ kubectl run db --image=quay.io/my/db Creating a Database is Easy
• Resize/Upgrade - coordination for availability • Reconfigure - tedious
generation / templating • Backup - requires coordination on instances • Healing - restore backups, rejoin Managing a Distributed Database is Harder
If only k8s knew...: Extend Kubernetes
$ cat my-db-cluster.yaml spec: clusterSize: 3 readReplicas: 2 version: v4.0.1
The Goal
Introducing Operators
None
None
etcd Overview • Distributed key-value store • Primary datastore of
Kubernetes • Auto-leader election for availability
Operator Construction • Operators build on Kubernetes concepts • Resources:
who what where ; desired state • Controllers: Observe, Analyze, Act to reconcile resources
Third Party Resources • TPRs extend the Kubernetes API with
new API object types • Akin to a database table’s schema - the data model • Designed with custom automation mechanisms in mind • https://kubernetes.io/docs/user-guide/thirdpartyresources/
$ kubectl create -f https://coreos.com/operators/etcd/latest/deployment.yaml etcd Operator
$ cat deployment.yaml spec: clusterSize: 3 version: v3.1.0 etcd Operator
Resource
etcd Operator
etcd Operator Open-source github.com/coreos/etcd-operator
Kubernetes self-hosting etcd Easy HA Setups on Kubernetes Automated backup
to object store Chaos Monkey Testing for 1.0 etcd Operator - Future Work
Prometheus Operator • Operates Prometheus on k8s • Handles common
tasks: ◦ Create/Destroy ◦ Monitor Configuration ◦ Services Targets via Labels • Configured by resources
None
None
Prometheus Operator Open-source github.com/coreos/prometheus-operator
• Read more at coreos.com/blog • Test and Extend the
open source Operators • Build and Discuss other Operators (redis, postgres, MySQL) Next Steps
https://coreos.com/blog/introducing-operators.html https://coreos.com/blog/introducing-the-etcd-operator.html https://github.com/coreos/etcd-operator https://coreos.com/blog/the-prometheus-operator.html https://github.com/coreos/prometheus-operator https://github.com/kubernetes/minikube URLs
CoreOS runs the world’s containers We’re hiring:
[email protected]
[email protected]
90+
Projects on GitHub, 1,000+ Contributors coreos.com Support plans, training and more OPEN SOURCE ENTERPRISE
coreos.com/fest @coreosfest May 31 - June 1, 2017 San Francisco
[email protected]
@joshixisjosh9 joshix.com QUESTIONS? Thanks! We’re hiring: coreos.com/careers Let’s talk!
CoreOS-User google group More events: coreos.com/community LONGER CHAT?