how to deploy kuberdock hassle-free
TRANSCRIPT
HOW TO DEPLOY KuberDock hassle-free
KuberDock + cPanel + WHMCS
PLUGIN
API <WHMCS>/includes/api.php
CLI utility (KCLI) MASTER SERVER
Billing controlPOD control
• Choose deploy without CEPH if you don’t want to maintain CEPH-cluster.• Choose deploy with CEPH if you want to provide better reliability for users’ data.• AWS deployment is described at http://docs.kuberdock.com/amazon_aws_installation_guide.htm
How to deploy KuberDock Master
[root@194-44-0-145 ~]# yum install wget
[root@194-44-0-145 ~]# wget http://repo.cloudlinux.com/kuberdock/deploy.sh
[root@194-44-0-145 ~]# bash ./deploy.sh
JUST 3 COMMANDS ARE REQUIRED TO DEPLOY KUBERDOCK MASTER
More detailed info about Master installation options can be found at
http://docs.kuberdock.com/master_installation_guide.htm
How to choose backend for flanneld – networking setup
More detailed info about each backend can be found here
https://github.com/coreos/flannel#backends
As of KuberDock 1.1 flanneld is used to set up networking.
Three different backends are supported:
• Vxlan backend. (use during KD master deploy) It allows to connect hosts that
has no direct L2 connectivity. If vxlan backend is used, kernel uses UDP port 8472 for sending
encapsulated packets.
• Host-gw backend is only for cases where you know that all hosts that could be connected to KD cluster has direct L2 connectivity with KD. This is a default backend for KuberDock version 1.1.
• AWS-VPC backend is only for AWS environment as it uses a native AWS mechanisms for routing. It is
automatically chosen at deploy time in AWS environments unless another backend is explicitly set.
~$ deploy.sh –vxlan-backend
https://www.youtube.com/watch?v=4jjYubmGkS4
Video: installing KD Master
Adding new Node is pretty simple - create
keys using ssh-keygen, and place them to
a Node. Then just enter Name and select
Kube type in KuberDock UI.
Node installation
ssh-copy-id -i /var/lib/nginx/.ssh/id_rsa.pub root@your_node
More detailed info about Master installation options can be found at
http://docs.kuberdock.com/node_installation_guide.htm
If everything is ok with node installation the status of nodes will change from PENDING to RUNNING
Node installation - contd
If you need to access your services
from the outside - use IP Pool.
New users can be added and edited
in few clicks. It’s so easy to manage
users and track their activity
Managing IPs and users
https://youtu.be/eu7YXZS84Kw
Video: Integrating billing system (WHMCS) with KuberDock - installing addon
https://youtu.be/8YjKhdcvw9Y
Video: Integrating billing system (WHMCS) with KuberDock - adding packages
• Set Billing type while editing Product/Service to set billing type: PAYG or Fixed price:
o PAYG(Pay as you go) – user can start his pod or application without immediately paying for it. The payment will be performed as soon as WHMCS gets statistic data (each 24 hours).
o Fixed price – user needs to pay before using application.
WHMCS - pricing options
https://youtu.be/sW5qNHlb224
Video: Integrating billing system (WHMCS) with KuberDock - setting up Kube types to supply apps with resources to run
https://www.youtube.com/watch?v=Nnlfsld2NCw
Integrating cPanel with KuberDock
https://www.youtube.com/watch?v=c87nBFKmhYY
Adding PA to cPanel
https://www.youtube.com/watch?v=32jrXbPMYEI
Starting PA from cPanel
• Predefined applications are defined in
KuberDock UI by admin the same way as
they are defined in control panel.
• Users can still be added automatically by
billing system.
• Users login to KuberDock UI and launch
predefined applications.
Using KuberDock WITHOUT
control panel
Using KuberDock without Billing:
open Settings page by Administrator and select “No Billing” in “Select your billing
system” dropdown menu.
All price are set to 0 when using KuberDock without billing. There are no checks whether user have money or not - pod is just instantly created and started.
How to use KuberDock without billing
KuberDock + cPanel + WHMCS
PLUGIN
CLI utility (KCLI) MASTER SERVER
Billing controlPOD control
API <WHMCS>/includes/api.php
THANK YOU!Alexandre Parubochyi,
Sales Engineer for KuberDock Project
[email protected] docs.kuberdock.com
kuberdock.com
Q&A
Twitter.com/KuberDockVisit CloudLinux.com/kuberdock