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 & Cluster API
Search
Katie Gamanji
September 27, 2019
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Kubernetes scalability: Federation & Cluster API
Kubernetes scalability: Federation & Cluster API for Cloud Native London conference 2019
Katie Gamanji
September 27, 2019
More Decks by Katie Gamanji
See All by Katie Gamanji
Level Unlocked: GitOps to the Edge and Infrastructure Provisioning
k_gamanji
1
120
Kubernetes Scalability: Federation and ClusterAPI
k_gamanji
0
63
ClusterAPI: A Guide to Get Started
k_gamanji
0
39
Kubernetes scalability: VPA, Federation & Cluster API
k_gamanji
0
110
Pixel - Fintech Hackathon
k_gamanji
0
29
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.1k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
Technical Leadership for Architectural Decision Making
baasie
3
560
Designing for humans not robots
tammielis
254
26k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
730
Practical Orchestrator
shlominoach
191
12k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
490
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
Transcript
Katie Gamanji Cloud Platform Engineer Condé Nast International @k_gamanji katie-gamanji
Kubernetes scalability: Federation & Cluster API @k_gamanji katie-gamanji
Condé Nast International has set the benchmark for print and
digital publishing with a heritage of more than 110 years.
None
Markets 11 Websites 62 Unique users 200m Digital readership 1.1bn
None
None
Federation v2 Cluster API
Federation v2 Cluster API
Federation v2 Cluster API
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
Cluster API
Unique users Unique users Total digital readership 9m 62m 360m
Russia China
Cluster API Provision of declarative APIs for cluster creation, configuration,
and management.
Cluster API SIG-cluster-lifecycle: • Initial release: April 2019 • API:
v1alpha2
Cluster API • Cluster - CIDRs for pods and services
+ DNS suffix • Machine - kubelet and control plane versions • MachineSet • MachineDeployment
1 / 3
Management cluster Target clusters 2 / 3 • core •
bootstrap • infrastructure providers
Management cluster Target clusters 3 / 3 • core •
bootstrap • infrastructure providers
Cluster API DEMO https://asciinema.org/a/caUpnqVCUz2PP1Fui wPiDQfkj
Building blocks Cloud agnostic Experimental Takeaways
Federation v2 Cluster API
References Federation v2 • https://github.com/kubernetes-sigs/ federation-v2 ClusterAPI • https://cluster-api.sigs.k8s.io
https://www.condenastinternational.com/careers @k_gamanji katie-gamanji
None