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
63
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
39
Kubernetes scalability: Federation & Cluster API
k_gamanji
0
170
Kubernetes scalability: VPA, Federation & Cluster API
k_gamanji
0
110
Pixel - Fintech Hackathon
k_gamanji
0
29
Other Decks in Technology
See All in Technology
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
130
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
350
推論の観測、できていますか? 〜 Google Cloud Gemini Enterprise Agent Platformで 3つの Gemini モデルを実測して踏んだ、評価の罠 〜
shukob
PRO
0
180
AIで仕事のやり方を変える
matsu7874
3
1k
深夜のクラウド懺悔室 1:29:300 or 1:0:0
kazzpapa3
1
230
作品が生態系になった ─ Mini Tokyo 3D から世界へ
nagix
0
150
20260912_スクフェス三河
kgnkhkr
0
250
GoにおけるFFIのこれまでとこれから
goccy
4
2.1k
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
150
From Vanilla Kubernetes to a Batteries-Included Platform: Developer Experience at 1,300+ Clusters
yosshi_
0
680
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
1
300
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
150
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
The SEO Collaboration Effect
kristinabergwall1
1
550
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
A better future with KSS
kneath
240
18k
Believing is Seeing
oripsolob
1
210
Balancing Empowerment & Direction
lara
6
1.3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Paper Plane
katiecoart
PRO
2
53k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
970
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Raft: Consensus for Rubyists
vanstee
141
7.7k
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