SlideShare ist ein Scribd-Unternehmen logo
1 von 45
Downloaden Sie, um offline zu lesen
Hong Kong Open Source Conference 2022
AlviStack
Hong Kong Based Kubernetes Distribution
Edison Wong
2022-06-11
Wong Hoi Sing, Edison
●
2005: Drupal Developer & Contributor
– https://drupal.org/user/33940
●
2008: HKDUG Co-founder
– https://groups.drupal.org/drupalhk
●
2010: CEO, PantaRei Design
– hswong3i@pantarei-design.com
●
2020: HKOSCON 2022 Speaker
– https://hkoscon.org/2020/topics/ansible-vm-kubernetes
●
2022: Most Active GitHub user in Hong Kong
– https://commits.top/hong_kong.html
Outline
●
What is AlviStack?
●
How AlviStack Works?
●
Why Should I try AlviStack?
●
Demo
●
Roadmap
●
Q&A
What is AlviStack?
●
1st
Hong Kong based Kubernetes Distribution
– https://github.com/alvistack/ansible-collection-kubernetes
●
CNCF conformance test passed
– https://github.com/cncf/k8s-conformance/pull/1896
●
DevOps with Ansible
●
Production ready
●
Infra and OS independent
●
Apache License 2.0
What is AlviStack? (cont.)
●
GitHub project since 2017
– https://github.com/alvistack/
– Repositories: 509
●
Open Build Service Packages: 733
– https://build.opensuse.org/project/show/home:alvistack
●
Vagrant Boxes: 54
– https://app.vagrantup.com/alvistack
●
Docker Image: 75
– https://hub.docker.com/u/alvistack
What is AlviStack? (cont.)
●
Supported OS: 16
– Ubuntu 22.04, 21.10, 20.04, 18.04
– CentOS 7, 8 Stream, 9 Stream
– openSUSE Leap 15.3, Leap 15.4, Tumbleweed
– Debian 10, 11, Testing
– Fedora 35, 36, Rawhide
– RHEL 7, 8, 9
What is AlviStack? (cont.)
●
Submitting as CNCF certified distribution
– Conformance test with sonobuoy
– Join Linux Foundation and CNCF
– Interview with CNCF China director
– Etc…
How AlviStack Works?
●
Packaging with OBS
●
DevOps with Ansible
●
CI with Vagrant
Packaging with OBS
●
Kubernetes installation is complicated
– Kubernetes package repo conflict with Kubic CRI-O repo
– Missing package dependency for legacy LTS OS
– Latest Kubernetes tool chain may broken and you would
like to rollback to previous release (!?)
– Manual deployment with static binary is always a bad idea
for daily operation management (??)
Packaging with OBS (cont.)
●
openSUSE Open Build Service (OBS)
– Handle both RPM and DEB packaging
– Auto rebuild when dependent package get updated
– Provide repo management and package signing
– (HACK) Support multiple version of package within
Single-Fat-Repo
Packaging with OBS (cont.)
●
With OBS we package for
– Ansible, Kubernetes, CRI-O, Podman, etc
– Update legacy tool chain from OS
●
Hotfix if required
– Bug report to upstream
– But never wait for upstream (well, sometime endlessly...)
●
Greatly simplify package delivery, dependency management,
configuration changes, install and upgrade, etc etc etc...
DevOps with Ansible
●
Ansible is great BUT…
– Kubespary conflict with ceph-ansible...
– Most Ansible Roles are not reusable (ALL-or-
NOTHING)
– Some OS (e.g. openSUSE) support are not
generally available...
DevOps with Ansible (cont.)
●
AlviStack copy-cat from Kubespray and ceph-
ansible at the beginning, but improve with:
– Split all Ansible Role as independent and reusable,
e.g. OS bootstrap, SSHD, Python, Ansible, etc
– Add missing OS support
– Individually CI with Vagrant + Libvirt + multiple OS
DevOps with Ansible (cont.)
●
Once individual Ansible Role get ready, now
reuse as:
– Bare metal or VM deployment with Ansible
Collection
– Vagrant Box and Docker Image provision with
Packer + Ansible Provisioner
DevOps with Ansible (cont.)
●
Production ready Kubernetes with
– CRI: CRI-O + crun (i.e. without Docker)
– CNI: Cilium with network policy support
– CSI: csi-cephfs with PVC RWX support
– Ingress Nginx + cert-manager support
CI with Vagrant
●
CI for Ceph + Kubernetes is complicated
– Ceph OSD need a real block device for provision
– Kubernetes need flexible cgroup and network support
– Multiple instances is required for cluster test
●
Most CI platform (e.g. Github Action, GitLab Runner)
default docker-based solution is not suitable
CI with Vagrant (cont.)
●
AlviStack combine:
– Github as public repo
– GitLab CI as CI agent
– Self-hosted GitLab Runner with nested virtualization support
– 1st
layer Vagrant Box running each CI individually
– 2nd
layer Vagrant Box for different OS or multiple instances
– (HACK) ALL Vagrant Box running on tmpfs (in-memory!!)
– (HACK) Shared Vagrant Box and GitLab cache with Ceph FS
CI with Vagrant (cont.)
●
All CI steps could be implemented with
local development environment
●
Test cases also written in Ansible and
manage with Molecule
Why Should I try AlviStack?
●
Design for Hong Kong
●
Infra Independent
●
OS Independent
●
Zero Config with Auto Detect
●
Cost Effective Operation
Design for Hong Kong
●
Most HK customer have no choose with
their own infra and OS, e.g.
– Private cloud with VMWare ESXi or OpenStack...
– Public cloud with EKS or AKS or GKE...
– RHEL or Ubuntu or openSUSE or etc etc etc…
Design for Hong Kong (cont.)
●
Most HK customer do not care HOW your DR
works BUT asking for 99.99 SLA…
– Yes, Kubernetes is the best answer now a day
– But No, customer only looking for their
application running smoothly, e.g. a Drupal
website as official homepage
Infra Independent
●
AlviStack only require standard VM and
networking, e.g. CPU, RAM, Disk,
Networking
●
AlviStack support cooperate network
with outgoing HTTP/HTTPS proxy
OS Independent
●
Support legacy LTS OS, e.g.
– Ubuntu 18.04, 20.04
●
Support recent LTS OS, e.g.
– Ubuntu 22.04
●
(Limited) Support upstream rolling release, e.g.
– Debian Testing
Zero Config with Auto Detect
●
Default configuration is design for
– 2 core CPU
– 8GB RAM
– All-in-one with CephFS and Kubernetes
●
Auto detect hostname, disk, network interface, etc etc etc…
●
Support override for advanced customization
Cost Effective Operation
●
100% Open Source Software
●
Unified user experience
●
Support scale up from All-in-one to multi-
master to additional worker node
●
No vendor lock-in to specific infra or OS
Demo
●
Bootstrap Host
●
Bootstrap Ansible and Molecule
●
Deploy Kubernetes
●
Run Sonobuoy
Roadmap
●
(WIP) Join Linux Foundation and CNCF
– Submit AlviStack as CNCF sandbox project
●
(WIP) New company (AlviStack) formation for customer paid support service
– Submit new company for HKSTP incubation
●
Recruit co-maintainer with sponsorship
●
Partner with HKOS and CNCF China for community events, e.g.
– Training section
– Workshop
– Special Interest Groups (SIG)
– Case study sharing
Q&A
Contact Us
●
Address: Unit 326, 3/F, Building 16W, No.16 Science Park
West Avenue, Hong Kong Science Park, Shatin, N.T.
●
Phone: +852 3576 3812
●
Fax: +852 3753 3663
●
Email: sales@pantarei-design.com
●
Web: http://pantarei-design.com

Weitere ähnliche Inhalte

Ähnlich wie [HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]

Openstack overview thomas-goirand
Openstack overview thomas-goirandOpenstack overview thomas-goirand
Openstack overview thomas-goirand
OpenCity Community
 
Infrastructure as code with Terraform
Infrastructure as code with TerraformInfrastructure as code with Terraform
Infrastructure as code with Terraform
Sam Bashton
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software Delivery
Docker, Inc.
 

Ähnlich wie [HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution] (20)

Let's Try Every CRI Runtime Available for Kubernetes
Let's Try Every CRI Runtime Available for KubernetesLet's Try Every CRI Runtime Available for Kubernetes
Let's Try Every CRI Runtime Available for Kubernetes
 
Docker London Meetup: Docker Engine Evolution
Docker London Meetup: Docker Engine EvolutionDocker London Meetup: Docker Engine Evolution
Docker London Meetup: Docker Engine Evolution
 
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special EditionIntroduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
 
Openstack overview thomas-goirand
Openstack overview thomas-goirandOpenstack overview thomas-goirand
Openstack overview thomas-goirand
 
Introduction to Docker at the Azure Meet-up in New York
Introduction to Docker at the Azure Meet-up in New YorkIntroduction to Docker at the Azure Meet-up in New York
Introduction to Docker at the Azure Meet-up in New York
 
State of Big Data on ARM64 / AArch64 - Apache Bigtop
State of Big Data on ARM64 / AArch64 - Apache BigtopState of Big Data on ARM64 / AArch64 - Apache Bigtop
State of Big Data on ARM64 / AArch64 - Apache Bigtop
 
Running Containerized Node.js Services on AWS Elastic Beanstalk
Running Containerized Node.js Services on AWS Elastic BeanstalkRunning Containerized Node.js Services on AWS Elastic Beanstalk
Running Containerized Node.js Services on AWS Elastic Beanstalk
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniWorkshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
 
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionIntroduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" Edition
 
Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3
Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3 Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3
Puppet Camp Seattle 2014: Docker and Puppet: 1+1=3
 
Introduction to Kubernetes Workshop
Introduction to Kubernetes WorkshopIntroduction to Kubernetes Workshop
Introduction to Kubernetes Workshop
 
Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...
Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...
Deploy Multinode GitLab Runner in openSUSE 15.1 Instances with Ansible Automa...
 
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
OSDC 2016 | rkt and Kubernetes: What’s new with Container Runtimes and Orches...
 
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
OSDC 2016 - rkt and Kubernentes what's new with Container Runtimes and Orches...
 
Persistent Storage in Openshift using GlusterFS
Persistent Storage in Openshift using GlusterFSPersistent Storage in Openshift using GlusterFS
Persistent Storage in Openshift using GlusterFS
 
Infrastructure as code with Terraform
Infrastructure as code with TerraformInfrastructure as code with Terraform
Infrastructure as code with Terraform
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software Delivery
 
OpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet UpOpenStack Cinder Best Practices - Meet Up
OpenStack Cinder Best Practices - Meet Up
 
Getting started with kubernetes
Getting started with kubernetesGetting started with kubernetes
Getting started with kubernetes
 

Mehr von Wong Hoi Sing Edison

Mehr von Wong Hoi Sing Edison (20)

[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
 
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
 
[20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team][20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team]
 
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management SystemBarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
 
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
 
DruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cmsDruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cms
 
drustack a mobile-friendly web content management system (cms)
drustack   a mobile-friendly web content management system (cms)drustack   a mobile-friendly web content management system (cms)
drustack a mobile-friendly web content management system (cms)
 
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile DevelopmentCUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
 
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
Open Innovation Lab (OIL) - 20150227 - GIT Intro WorkshopOpen Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop
 
IT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong KongIT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong Kong
 
OSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for DummyOSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for Dummy
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GIT
 
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management SystemBarcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
 
Hong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8thHong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8th
 
Entrepreneurship Talk
Entrepreneurship TalkEntrepreneurship Talk
Entrepreneurship Talk
 
Open Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11thOpen Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11th
 
Barcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GITBarcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GIT
 
Barcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWSBarcamp Macau 2014 - Introduction to AWS
Barcamp Macau 2014 - Introduction to AWS
 
Open Innovation Lab (OIL) - 2014 Sep 26th
Open Innovation Lab (OIL) - 2014 Sep 26thOpen Innovation Lab (OIL) - 2014 Sep 26th
Open Innovation Lab (OIL) - 2014 Sep 26th
 

Kürzlich hochgeladen

The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 

Kürzlich hochgeladen (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 

[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]

  • 1. Hong Kong Open Source Conference 2022 AlviStack Hong Kong Based Kubernetes Distribution Edison Wong 2022-06-11
  • 2. Wong Hoi Sing, Edison ● 2005: Drupal Developer & Contributor – https://drupal.org/user/33940 ● 2008: HKDUG Co-founder – https://groups.drupal.org/drupalhk ● 2010: CEO, PantaRei Design – hswong3i@pantarei-design.com ● 2020: HKOSCON 2022 Speaker – https://hkoscon.org/2020/topics/ansible-vm-kubernetes ● 2022: Most Active GitHub user in Hong Kong – https://commits.top/hong_kong.html
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. Outline ● What is AlviStack? ● How AlviStack Works? ● Why Should I try AlviStack? ● Demo ● Roadmap ● Q&A
  • 10. What is AlviStack? ● 1st Hong Kong based Kubernetes Distribution – https://github.com/alvistack/ansible-collection-kubernetes ● CNCF conformance test passed – https://github.com/cncf/k8s-conformance/pull/1896 ● DevOps with Ansible ● Production ready ● Infra and OS independent ● Apache License 2.0
  • 11. What is AlviStack? (cont.) ● GitHub project since 2017 – https://github.com/alvistack/ – Repositories: 509 ● Open Build Service Packages: 733 – https://build.opensuse.org/project/show/home:alvistack ● Vagrant Boxes: 54 – https://app.vagrantup.com/alvistack ● Docker Image: 75 – https://hub.docker.com/u/alvistack
  • 12. What is AlviStack? (cont.) ● Supported OS: 16 – Ubuntu 22.04, 21.10, 20.04, 18.04 – CentOS 7, 8 Stream, 9 Stream – openSUSE Leap 15.3, Leap 15.4, Tumbleweed – Debian 10, 11, Testing – Fedora 35, 36, Rawhide – RHEL 7, 8, 9
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. What is AlviStack? (cont.) ● Submitting as CNCF certified distribution – Conformance test with sonobuoy – Join Linux Foundation and CNCF – Interview with CNCF China director – Etc…
  • 20. How AlviStack Works? ● Packaging with OBS ● DevOps with Ansible ● CI with Vagrant
  • 21. Packaging with OBS ● Kubernetes installation is complicated – Kubernetes package repo conflict with Kubic CRI-O repo – Missing package dependency for legacy LTS OS – Latest Kubernetes tool chain may broken and you would like to rollback to previous release (!?) – Manual deployment with static binary is always a bad idea for daily operation management (??)
  • 22.
  • 23. Packaging with OBS (cont.) ● openSUSE Open Build Service (OBS) – Handle both RPM and DEB packaging – Auto rebuild when dependent package get updated – Provide repo management and package signing – (HACK) Support multiple version of package within Single-Fat-Repo
  • 24.
  • 25. Packaging with OBS (cont.) ● With OBS we package for – Ansible, Kubernetes, CRI-O, Podman, etc – Update legacy tool chain from OS ● Hotfix if required – Bug report to upstream – But never wait for upstream (well, sometime endlessly...) ● Greatly simplify package delivery, dependency management, configuration changes, install and upgrade, etc etc etc...
  • 26.
  • 27. DevOps with Ansible ● Ansible is great BUT… – Kubespary conflict with ceph-ansible... – Most Ansible Roles are not reusable (ALL-or- NOTHING) – Some OS (e.g. openSUSE) support are not generally available...
  • 28. DevOps with Ansible (cont.) ● AlviStack copy-cat from Kubespray and ceph- ansible at the beginning, but improve with: – Split all Ansible Role as independent and reusable, e.g. OS bootstrap, SSHD, Python, Ansible, etc – Add missing OS support – Individually CI with Vagrant + Libvirt + multiple OS
  • 29. DevOps with Ansible (cont.) ● Once individual Ansible Role get ready, now reuse as: – Bare metal or VM deployment with Ansible Collection – Vagrant Box and Docker Image provision with Packer + Ansible Provisioner
  • 30. DevOps with Ansible (cont.) ● Production ready Kubernetes with – CRI: CRI-O + crun (i.e. without Docker) – CNI: Cilium with network policy support – CSI: csi-cephfs with PVC RWX support – Ingress Nginx + cert-manager support
  • 31. CI with Vagrant ● CI for Ceph + Kubernetes is complicated – Ceph OSD need a real block device for provision – Kubernetes need flexible cgroup and network support – Multiple instances is required for cluster test ● Most CI platform (e.g. Github Action, GitLab Runner) default docker-based solution is not suitable
  • 32. CI with Vagrant (cont.) ● AlviStack combine: – Github as public repo – GitLab CI as CI agent – Self-hosted GitLab Runner with nested virtualization support – 1st layer Vagrant Box running each CI individually – 2nd layer Vagrant Box for different OS or multiple instances – (HACK) ALL Vagrant Box running on tmpfs (in-memory!!) – (HACK) Shared Vagrant Box and GitLab cache with Ceph FS
  • 33.
  • 34. CI with Vagrant (cont.) ● All CI steps could be implemented with local development environment ● Test cases also written in Ansible and manage with Molecule
  • 35. Why Should I try AlviStack? ● Design for Hong Kong ● Infra Independent ● OS Independent ● Zero Config with Auto Detect ● Cost Effective Operation
  • 36. Design for Hong Kong ● Most HK customer have no choose with their own infra and OS, e.g. – Private cloud with VMWare ESXi or OpenStack... – Public cloud with EKS or AKS or GKE... – RHEL or Ubuntu or openSUSE or etc etc etc…
  • 37. Design for Hong Kong (cont.) ● Most HK customer do not care HOW your DR works BUT asking for 99.99 SLA… – Yes, Kubernetes is the best answer now a day – But No, customer only looking for their application running smoothly, e.g. a Drupal website as official homepage
  • 38. Infra Independent ● AlviStack only require standard VM and networking, e.g. CPU, RAM, Disk, Networking ● AlviStack support cooperate network with outgoing HTTP/HTTPS proxy
  • 39. OS Independent ● Support legacy LTS OS, e.g. – Ubuntu 18.04, 20.04 ● Support recent LTS OS, e.g. – Ubuntu 22.04 ● (Limited) Support upstream rolling release, e.g. – Debian Testing
  • 40. Zero Config with Auto Detect ● Default configuration is design for – 2 core CPU – 8GB RAM – All-in-one with CephFS and Kubernetes ● Auto detect hostname, disk, network interface, etc etc etc… ● Support override for advanced customization
  • 41. Cost Effective Operation ● 100% Open Source Software ● Unified user experience ● Support scale up from All-in-one to multi- master to additional worker node ● No vendor lock-in to specific infra or OS
  • 42. Demo ● Bootstrap Host ● Bootstrap Ansible and Molecule ● Deploy Kubernetes ● Run Sonobuoy
  • 43. Roadmap ● (WIP) Join Linux Foundation and CNCF – Submit AlviStack as CNCF sandbox project ● (WIP) New company (AlviStack) formation for customer paid support service – Submit new company for HKSTP incubation ● Recruit co-maintainer with sponsorship ● Partner with HKOS and CNCF China for community events, e.g. – Training section – Workshop – Special Interest Groups (SIG) – Case study sharing
  • 44. Q&A
  • 45. Contact Us ● Address: Unit 326, 3/F, Building 16W, No.16 Science Park West Avenue, Hong Kong Science Park, Shatin, N.T. ● Phone: +852 3576 3812 ● Fax: +852 3753 3663 ● Email: sales@pantarei-design.com ● Web: http://pantarei-design.com