Choosing A Kubernetes
Integration Technology
That's Right For You
- David Jumani
First Born
Rugby
CloudStack Committer
Kubernetes Member
Developer @ ShapeBlue
About Me
Photo credits : @jissydavis
Run-Down
What is CKS & CAPC ?
How They work
Why Choose it ?
Differences
Use case
Demo
Why do they exist ?
● Confusing to set up
● Manual / Automated
● Hard to manage
● Expose
● Easy to get started
● Integrated
● Simple Management
● Central Access
Problem Solution
What is CloudStack Kubernetes Service
[CKS] ?
Managed Kubernetes Offering
Kubernetes as a Service
Seamless, One-click
Lifecycle
Create, Scale, Upgrade, Delete
What is CKS ?
What is CKS ?
How CKS works
Prerequisites :
● Enable CKS
cloud.kubernetes.service.enabled
● Register CKS ISO
○ Kubernetes Binaries
○ Images
○ Config files
How CKS works
How CKS works
Deploy
Cluster
SystemVM
Template
Virtual
Machine
CKS Binary
ISO
cloud-init
userdata
Bootstrapped
Node
Configure
components
Kubernetes
Cluster
Why CKS ?
Seamless
One-click
All In One
● CNI
● Autoscaler
● NW Provider
Quick & Easy
Simple
1
Managed Kubernetes
Offering
What is Cluster API Provider [CAPI] ?
Plethora of
Providers
Tailored Services
Differing
Implementations
Standardize
Default
Implementations
Unified Cluster
Management
Individual Cluster
Management
Custom Distros
Commonality
Problem
Solution
What is Cluster API Provider [CAPI] ?
How it solves the problem :
Defines Common Operations
Create, Scale, Upgrade, Delete
Default Implementation
Declarative
clusterctl
How does CAPI work ?
CAPI
Provider
Cluster
Definition Kubernetes
Cluster
CAPI
Provider
Cluster
Definition
What is CAPC ?
Cluster API Provider for Apache CloudStack
Kubernetes
Cluster
What is CAPC ?
CAPI
Provider
Cluster
Definition Kubernetes
Cluster
Cluster API Provider for Apache CloudStack
What is CAPC ?
Concepts:
How does CAPI work ?
Management Cluster
● Manages Lifecycle of
Workload Clusters
● CAPI
● Providers
● Resources, State
● Runs Anywhere
Workload Cluster
● Managed by MC
● Runs on your infra
● End user
Infrastructure
Provider
● Interface to the
underlying infra
● Pod on MC
Custom Resource
Definitions
● Extension of K8s API
● Define CAPI & infra
specific components
● Cluster, Machine
Eg: CloudStack Cluster,
AWS Machine
How does CAPI work ?
clusterctl generate
clusterctl describe
Management Cluster
Cluster
Config
Workload Clusters
clusterctl init
How does CAPC work ?
Prerequisites :
● Management Cluster
● Credentials
● CloudStack Provider
● Templates with k8s baked in
● Resource Ready (Network, IP, etc)
How does CAPI work ?
Cluster
Definition
CAPI
ACS
Provider
Management
Cluster
How does CAPI work ?
Cluster
Definition
CAPI
ACS
Provider
Management
Cluster
Cluster Resources
● Network
● Public IP
● Load Balancer
How does CAPI work ?
Cluster
Definition
CAPI
ACS
Provider
Management
Cluster
Cluster Resources
● Network
● Public IP
● Load Balancer
Cluster Nodes
● Deploy VMs
● Bootstrap : cloud-init
How does CAPI work ?
Cluster
Definition
CAPI
ACS
Provider
Management
Cluster
Cluster Resources
● Network
● Public IP
● Load Balancer
Cluster Nodes
● Deploy VMs
● Bootstrap : cloud-init
Cleanup Resources
Specialized Features :
● Host Affinity
● Cross Zone
● Additional Disk
● Custom Health Check
● VM Details
Why CAPC ?
Cross Platform
Unified Cluster
Management
Customizable Independent Plugin
Cluster API Provider for
CloudStack [CAPC]
● Learning curve
● Prerequisites
● Customization
● Specialized Features
● Cross Platform
● External integration
Key Differences
CloudStack Kubernetes
Service [CKS]
● Easier to get started
● One-Click
● Ready to use
● Essential Features
● CloudStack Specific
● Native Service
Cluster API Provider for
CloudStack [CAPC]
● Multiple Clouds
● Customize your cluster
● Specialized Requirements
● Independent product
Use Case
CloudStack Kubernetes
Service [CKS]
● Quick
● Ready to use
● Standard use case
● Out of the Box
Questions ?
Thank You !
davidjumani
david.njumani@gmail.com

Choosing A Kubernetes Integration Technology That's Right For You

  • 1.
    Choosing A Kubernetes IntegrationTechnology That's Right For You - David Jumani
  • 2.
    First Born Rugby CloudStack Committer KubernetesMember Developer @ ShapeBlue About Me Photo credits : @jissydavis
  • 3.
    Run-Down What is CKS& CAPC ? How They work Why Choose it ? Differences Use case Demo
  • 4.
    Why do theyexist ? ● Confusing to set up ● Manual / Automated ● Hard to manage ● Expose ● Easy to get started ● Integrated ● Simple Management ● Central Access Problem Solution
  • 5.
    What is CloudStackKubernetes Service [CKS] ? Managed Kubernetes Offering Kubernetes as a Service Seamless, One-click Lifecycle Create, Scale, Upgrade, Delete
  • 6.
  • 7.
  • 8.
    How CKS works Prerequisites: ● Enable CKS cloud.kubernetes.service.enabled ● Register CKS ISO ○ Kubernetes Binaries ○ Images ○ Config files
  • 9.
  • 10.
    How CKS works Deploy Cluster SystemVM Template Virtual Machine CKSBinary ISO cloud-init userdata Bootstrapped Node Configure components Kubernetes Cluster
  • 11.
    Why CKS ? Seamless One-click AllIn One ● CNI ● Autoscaler ● NW Provider Quick & Easy Simple 1 Managed Kubernetes Offering
  • 12.
    What is ClusterAPI Provider [CAPI] ? Plethora of Providers Tailored Services Differing Implementations Standardize Default Implementations Unified Cluster Management Individual Cluster Management Custom Distros Commonality Problem Solution
  • 13.
    What is ClusterAPI Provider [CAPI] ? How it solves the problem : Defines Common Operations Create, Scale, Upgrade, Delete Default Implementation Declarative clusterctl
  • 14.
    How does CAPIwork ? CAPI Provider Cluster Definition Kubernetes Cluster
  • 15.
    CAPI Provider Cluster Definition What is CAPC? Cluster API Provider for Apache CloudStack Kubernetes Cluster
  • 16.
    What is CAPC? CAPI Provider Cluster Definition Kubernetes Cluster Cluster API Provider for Apache CloudStack
  • 17.
  • 18.
    Concepts: How does CAPIwork ? Management Cluster ● Manages Lifecycle of Workload Clusters ● CAPI ● Providers ● Resources, State ● Runs Anywhere Workload Cluster ● Managed by MC ● Runs on your infra ● End user Infrastructure Provider ● Interface to the underlying infra ● Pod on MC Custom Resource Definitions ● Extension of K8s API ● Define CAPI & infra specific components ● Cluster, Machine Eg: CloudStack Cluster, AWS Machine
  • 19.
    How does CAPIwork ? clusterctl generate clusterctl describe Management Cluster Cluster Config Workload Clusters clusterctl init
  • 20.
    How does CAPCwork ? Prerequisites : ● Management Cluster ● Credentials ● CloudStack Provider ● Templates with k8s baked in ● Resource Ready (Network, IP, etc)
  • 21.
    How does CAPIwork ? Cluster Definition CAPI ACS Provider Management Cluster
  • 22.
    How does CAPIwork ? Cluster Definition CAPI ACS Provider Management Cluster Cluster Resources ● Network ● Public IP ● Load Balancer
  • 23.
    How does CAPIwork ? Cluster Definition CAPI ACS Provider Management Cluster Cluster Resources ● Network ● Public IP ● Load Balancer Cluster Nodes ● Deploy VMs ● Bootstrap : cloud-init
  • 24.
    How does CAPIwork ? Cluster Definition CAPI ACS Provider Management Cluster Cluster Resources ● Network ● Public IP ● Load Balancer Cluster Nodes ● Deploy VMs ● Bootstrap : cloud-init Cleanup Resources
  • 25.
    Specialized Features : ●Host Affinity ● Cross Zone ● Additional Disk ● Custom Health Check ● VM Details Why CAPC ? Cross Platform Unified Cluster Management Customizable Independent Plugin
  • 26.
    Cluster API Providerfor CloudStack [CAPC] ● Learning curve ● Prerequisites ● Customization ● Specialized Features ● Cross Platform ● External integration Key Differences CloudStack Kubernetes Service [CKS] ● Easier to get started ● One-Click ● Ready to use ● Essential Features ● CloudStack Specific ● Native Service
  • 27.
    Cluster API Providerfor CloudStack [CAPC] ● Multiple Clouds ● Customize your cluster ● Specialized Requirements ● Independent product Use Case CloudStack Kubernetes Service [CKS] ● Quick ● Ready to use ● Standard use case ● Out of the Box
  • 28.
  • 29.