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
56
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
32
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
26
Other Decks in Technology
See All in Technology
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
120
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
130
セキュリティ はじめの一歩
nikinusu
0
1.5k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
580
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
データの整合性を保ちたいだけなんだ
shoheimitani
7
2.9k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
3
1.2k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
260
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.3k
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
180
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
63
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
49k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
71
The SEO identity crisis: Don't let AI make you average
varn
0
64
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
290
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
How to make the Groovebox
asonas
2
1.9k
Paper Plane (Part 1)
katiecoart
PRO
0
4k
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