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
Katie Gamanji
January 14, 2020
Technology
0
53
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
100
ClusterAPI: A Guide to Get Started
k_gamanji
0
28
Kubernetes scalability: Federation & Cluster API
k_gamanji
0
130
Kubernetes scalability: VPA, Federation & Cluster API
k_gamanji
0
97
Pixel - Fintech Hackathon
k_gamanji
0
19
Other Decks in Technology
See All in Technology
20250304_赤煉瓦倉庫_DeepSeek_Deep_Dive
hiouchiy
2
140
[OpsJAWS Meetup33 AIOps] Amazon Bedrockガードレールで守る安全なAI運用
akiratameto
1
140
Охота на косуль у древних
ashapiro
0
140
Amazon Athenaから利用時のGlueのIcebergテーブルのメンテナンスについて
nayuts
0
130
株式会社Awarefy(アウェアファイ)会社説明資料 / Awarefy-Company-Deck
awarefy
3
12k
人生を左右する「即答」のススメ: 一瞬の判断を間違えないためにするべきこと
takasyou
7
900
"TEAM"を導入したら最高のエンジニア"Team"を実現できた / Deploying "TEAM" and Building the Best Engineering "Team"
yuj1osm
1
240
開発者体験を定量的に把握する手法と活用事例
ham0215
0
150
目標と時間軸 〜ベイビーステップでケイパビリティを高めよう〜
kakehashi
PRO
8
1.1k
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
810
AI-Driven-Development-20250310
yuhattor
3
290
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
270
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Visualization
eitanlees
146
15k
Automating Front-end Workflow
addyosmani
1369
200k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Become a Pro
speakerdeck
PRO
26
5.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Scaling GitHub
holman
459
140k
Designing for Performance
lara
605
68k
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