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 Scalability: Federation and ClusterAPI
Search
Katie Gamanji
January 14, 2020
Technology
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes Scalability: Federation and ClusterAPI
Katie Gamanji
January 14, 2020
More Decks by Katie Gamanji
See All by Katie Gamanji
Level Unlocked: GitOps to the Edge and Infrastructure Provisioning
k_gamanji
1
120
ClusterAPI: A Guide to Get Started
k_gamanji
0
43
Kubernetes scalability: Federation & Cluster API
k_gamanji
0
180
Kubernetes scalability: VPA, Federation & Cluster API
k_gamanji
0
120
Pixel - Fintech Hackathon
k_gamanji
0
35
Other Decks in Technology
See All in Technology
コードレビューをなくして見えたもの
henteko
0
140
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3.2k
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
620
GCASアップデート(202607-202610)
techniczna
1
220
業務でAWSをあまり使っていない私が、AWSへのモチベを保つ方法
smt7174
0
180
現場を動かすAIエージェント#2_製造業現場でのAI活用から見た、ハマる罠と実践知
kintotechdev
2
190
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
320
AI AgentによるEmbedded SREの取り組み
tgidgd
1
360
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
1
720
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
530
BALLAS Technology Deck
ballas_inc
0
210
AIコーディングはじめました
miso
0
150
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Facilitating Awesome Meetings
lara
57
7.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
A designer walks into a library…
pauljervisheath
211
25k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
We Are The Robots
honzajavorek
0
440
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Designing Powerful Visuals for Engaging Learning
tmiket
1
650
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
What's in a price? How to price your products and services
michaelherold
247
13k
KATA
mclloyd
PRO
35
16k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.8k
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