Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetes Scalability: Federation and ClusterAPI
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Katie Gamanji
January 14, 2020
Technology
0
57
Kubernetes Scalability: Federation and ClusterAPI
Katie Gamanji
January 14, 2020
Tweet
Share
More Decks by Katie Gamanji
See All by Katie Gamanji
Level Unlocked: GitOps to the Edge and Infrastructure Provisioning
k_gamanji
1
110
ClusterAPI: A Guide to Get Started
k_gamanji
0
33
Kubernetes scalability: Federation & Cluster API
k_gamanji
0
160
Kubernetes scalability: VPA, Federation & Cluster API
k_gamanji
0
100
Pixel - Fintech Hackathon
k_gamanji
0
27
Other Decks in Technology
See All in Technology
情シスのための生成AI実践ガイド2026 / Generative AI Practical Guide for Business Technology 2026
glidenote
0
200
OpenClawで回す組織運営
jacopen
3
700
JAWSDAYS2026 [C02] 楽しく学ぼう!AWSとは?AWSの歴史 入門
hiragahh
0
120
Exadata Database Service on Dedicated Infrastructure(ExaDB-D) UI スクリーン・キャプチャ集
oracle4engineer
PRO
8
7.2k
Evolution of Claude Code & How to use features
oikon48
1
590
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
140
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
5
610
堅牢.py#2 LT資料
t3tra
0
140
「Blue Team Labs Online」入門 - みんなで挑むログ解析バトル
v_avenger
0
150
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
200
聲の形にみるアクセシビリティ
tomokusaba
0
170
Shifting from MCP to Skills / ベストプラクティスの変遷を辿る
yamanoku
4
820
Featured
See All Featured
The Language of Interfaces
destraynor
162
26k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
270
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
410
Designing for humans not robots
tammielis
254
26k
A Modern Web Designer's Workflow
chriscoyier
698
190k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
950
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
300
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
How to Talk to Developers About Accessibility
jct
2
150
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
310
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
540
Transcript
Kubernetes scalability: Federation & Cluster API @k_gamanji katie-gamanji
Katie Gamanji Cloud Platform Engineer Condé Nast @k_gamanji katie-gamanji
Kubernetes scalability: Federation & Cluster API @k_gamanji katie-gamanji
Condé Nast Platform Federation V2 ClusterAPI
Condé Nast Platform Federation V2 ClusterAPI
Condé Nast Platform Federation V2 ClusterAPI
Condé Nast Platform Federation V2 ClusterAPI
Has set the benchmark for print and digital publishing with
a heritage of more than 110 years.
None
Markets 12 Websites 86 Unique users 336m Digital readership 1.6bn
October 2019
None
None
Migrated websites 22/35 Digital readership 268m November 2019
Federation v2
Federation v2 Mechanism for managing applications and services in multiple
Kubernetes clusters tracked by the Kubernetes cluster registry.
Federation v2 SIG multicluster: • Federation ◦ v1 - deprecated
◦ v2 (alpha) - requires v1.13 • Cluster registry ◦ maintain list of clusters and associated metadata
1 / 4
Host cluster Member clusters 2 / 4
Host cluster Member clusters Cluster registry Federation APIs 3 /
4
Host cluster Member clusters Control plane 4 / 4 Applications
& services
Federation v2 Cluster placement • targeted clusters by the federation
Configuration overrides • patches to federated resources
Federation v2 Cluster Placement • clusters spec: placement: clusters: -
name: cluster2 - name: cluster1 • clusterSelector spec: clusterSelector: matchLabels: region: eu-central-1
Federation v2 Configuration overrides • Replace (default), add or remove
spec: overrides: - clusterName: cluster1 clusterOverrides: - path: "/spec/replicas" value: 5
apiVersion: types.kubefed.io/v1beta1 kind: FederatedDeployment metadata: name: nginx-deployment spec: template: spec:
replicas: 3 [...] placement: clusters: - cluster2 - cluster1 overrides: - clusterName: cluster2 clusterOverrides: - path: "/spec/replicas" value: 7
Federation v2 DEMO https://asciinema.org/a/caUpnqVCUz2PP1Fui wPiDQfkj
Resource management Namespace scoped control plane Conditional scalability Takeaways Higher
level behaviour
ClusterAPI
None
Russia China Unique users 10m Unique users 53m Total digital
readership 335m
K8s Bootstrap Tools Kubeadm Kubespray Kops Tectonic
ClusterAPI Provision of declarative APIs for cluster creation, configuration, and
management.
ClusterAPI SIG-cluster-lifecycle: • Initial release: April 2019 • API: v1alpha2
1 / 4
Management cluster Target clusters 2 / 4 Controller managers
3 / 4: Controller Managers Infrastructure Providers Bootstrap Providers ClusterAPI
CRDs + +
Management cluster Target clusters 4 / 4 Controller managers
ClusterAPI - CRDs • Cluster - CIDRs for pods and
services + DNS suffix • Machine - kubelet and control plane versions • MachineSet • MachineDeployment
ClusterAPI DEMO https://asciinema.org/a/DaMKYCSaHWu qFq1l4pEAZMKsR
Building blocks Cloud agnostic Experimental Takeaways
Condé Nast Platform Federation V2 ClusterAPI
References Federation v2 • https://medium.com/@k_gamanji/k8s-feder ation-v2-a-guide-on-how-to-get-started-ec9 cc26b1fa7 ClusterAPI • https://medium.com/@k_gamanji/clustera
pi-a-guide-on-how-to-get-started-ff9a81262 945
https://www.condenast.com/careers @k_gamanji katie-gamanji
None