Session Description:
Currently Apache CloudStack supports two methods to deploy Kubernetes Clusters (CKS, CAPC). This session gives a demo on how to easily deploy CKS and CAPC on Apache CloudStack and will also give an overview of various use cases which will help you to choose the best deployment based on your requirement.
http://docs.cloudstack.apache.org/en/latest/plugins/cloudstack-kubernetes-service.html
https://cluster-api-cloudstack.sigs.k8s.io/getting-started.html
Speakers Bio:
For work, Kiran is a QR engineer at ShapeBlue. Kiran has experience in providing technical support on various issues related to CloudStack.
Vishesh is a software engineer at ShapeBlue. He has experience in developing and managing cloud infrastructure. He has a particular interest in databases and has worked extensively on them.
---------------------------------------------
On Friday 18th August, the Apache CloudStack India User Group 2023 took place in Bangalore, seeing CloudStack enthusiasts, experts, and industry leaders from across the country, discuss the open-source project. The meetup served as a vibrant platform to delve into the depths of Apache CloudStack, share insights, and forge new connections.
2. About me
• QA Engineer – ShapeBlue
• Have a decade experience in using and Providing Technical Support for Apache
CloudStack
• Open-source enthusiast
• Addicted to various Podcasts/Audiobooks
• Reach me at:
Twitter : @kiranchavala
Email : kiran.chavala@shapeblue.com
3. Agenda
What is CKS ?
How CKS works
Demo of CKS
What is CPAC?
How CPAC works
Demo of CPAC
Use case
4. What is CloudStack Kubernetes Service
[CKS] ?
Managed Kubernetes Offering
Kubernetes as a Service
Seamless, One-click
Lifecycle
Create, Scale, Upgrade, Delete
5. How CKS works
Prerequisites
Global settings
• Enable CKS (cloud.kubernetes.service.enabled)
• Endpoint URL (endpoint.url)) (http://<mgmt server ip>:8080/client/api)
• Register CKS ISO ( Kubernetes Binaries, Images, Config files )
6. • ./create-kubernetes-binaries-iso.sh OUTPUT_PATH KUBERNETES_VERSION CNI_VERSION CRICTL_VERSION
WEAVENET_NETWORK_YAML_CONFIG DASHBOARD_YAML_CONFIG [OPTIONAL_OUTPUT_FILENAME]
• 1.27.2, kubernetes version, see https://github.com/kubernetes/kubernetes/releases
• 1.3.0, CNI version, see https://github.com/containernetworking/plugins/releases
• 1.27.0, cri-tools version, see https://github.com/kubernetes-sigs/cri-tools/releases
• 1.11, weave addon for kubernetes, see https://github.com/weaveworks/weave/tree/master/prog/weave-kube
• 2.7.0, kubernetes dashboard version, see https://github.com/kubernetes/dashboard/release
• # ./create-kubernetes-binaries-iso.sh ./ 1.27.2 1.3.0 1.27.0
https://raw.githubusercontent.com/weaveworks/weave/master/prog/weave-kube/weave-daemonset-k8s-
1.11.yaml https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml
setup-v1.27.2
Generating Kubernetes ISO
Steps to register the ISO
11. About me
• Software Engineer – ShapeBlue
• Started working with Apache CloudStack recently
• Worked as DevOps Engineer at BlinkIt previously
• Open-source enthusiast
• Reach me at:
Twitter : @visheshj92
Email : vishesh.jindal@shapeblue.com
13. What is Cluster API?
How it solves the problem :
Defines Common Operations
Create, Scale, Upgrade, Delete
Default Implementation
Declarative
clusterctl
14. What is CAPC ?
Management Cluster Workload Clusters
Cluster
Definition
15. 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
16. Specialized Features :
● Host Affinity
● Cross Zone
● Additional Disk
● Custom Health Check
● VM Details
Why CAPC ?
Cross Platform
Unified Cluster
Management
Customizable EKS - A Integrated
18. ClusterAPIProvider for
CloudStack[CAPC]
● Learning curve
● Prerequisites
● Customization
● Specialized Features
● Cross Platform
● External integration
Key Differences
CloudStackKubernetes Service
[CKS]
● Easier to get started
● One-Click
● Ready to use
● Essential Features
● CloudStack Specific
● Native Service
19. Cluster API
Provider for CloudSt
ack[CAPC]
● Multiple Clouds
● Customize your cluster
● Specialized Requirements
● Independent product
Use Cases
CloudStack Kubernetes Service
[CKS]
● Quick
● Ready to use
● Standard use case
● Out of the Box