how to deploy kuberdock hassle-free
TRANSCRIPT
![Page 1: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/1.jpg)
HOW TO DEPLOY KuberDock hassle-free
![Page 2: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/2.jpg)
KuberDock + cPanel + WHMCS
PLUGIN
API <WHMCS>/includes/api.php
CLI utility (KCLI) MASTER SERVER
Billing controlPOD control
![Page 3: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/3.jpg)
• 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
![Page 4: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/4.jpg)
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
![Page 5: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/5.jpg)
https://www.youtube.com/watch?v=4jjYubmGkS4
Video: installing KD Master
![Page 6: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/6.jpg)
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
![Page 7: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/7.jpg)
If everything is ok with node installation the status of nodes will change from PENDING to RUNNING
Node installation - contd
![Page 8: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/8.jpg)
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
![Page 9: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/9.jpg)
https://youtu.be/eu7YXZS84Kw
Video: Integrating billing system (WHMCS) with KuberDock - installing addon
![Page 10: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/10.jpg)
https://youtu.be/8YjKhdcvw9Y
Video: Integrating billing system (WHMCS) with KuberDock - adding packages
![Page 11: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/11.jpg)
• 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
![Page 12: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/12.jpg)
https://youtu.be/sW5qNHlb224
Video: Integrating billing system (WHMCS) with KuberDock - setting up Kube types to supply apps with resources to run
![Page 13: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/13.jpg)
https://www.youtube.com/watch?v=Nnlfsld2NCw
Integrating cPanel with KuberDock
![Page 14: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/14.jpg)
https://www.youtube.com/watch?v=c87nBFKmhYY
Adding PA to cPanel
![Page 15: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/15.jpg)
https://www.youtube.com/watch?v=32jrXbPMYEI
Starting PA from cPanel
![Page 16: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/16.jpg)
• 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
![Page 17: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/17.jpg)
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
![Page 18: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/18.jpg)
KuberDock + cPanel + WHMCS
PLUGIN
CLI utility (KCLI) MASTER SERVER
Billing controlPOD control
API <WHMCS>/includes/api.php
![Page 19: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/19.jpg)
THANK YOU!Alexandre Parubochyi,
Sales Engineer for KuberDock Project
[email protected] docs.kuberdock.com
kuberdock.com
![Page 20: How to deploy KuberDock hassle-free](https://reader036.vdocument.in/reader036/viewer/2022081512/587772391a28ab5b568b5f07/html5/thumbnails/20.jpg)
Q&A
Twitter.com/KuberDockVisit CloudLinux.com/kuberdock