Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Sprint 49
Description
Backgroud
From experience of kylin user, like OLX group, DXY.cn and eBay, they choose to deploy kylin and its dependency in Kubernetes . And their approach/practice is proved works well in production env and these deployment template could be share in Kylin community.
This pic is an example of Kylin on Kubernetes 's architecture.
Following are some of the patch lists:
Proposal
At high level, I proposed to provided two deployment templates, one for quick-start purpose, another for production/distributed deployment.
Quick-start template is for one node deployment with an ALL kylin instance.
Production template is for multi-nodes deployment with a few of ALL/job/query kylin instances; and some other service like memcached and filebeat will help to solve log collection/query cache/session sharing.
Following is the structure of provided deployment template:
- config is the place of store configuration file of Hadoop/Kylin ;
- docker is the place which you can build hadoop-client and kylin-client docker image yourself.
- kubernetes is the place for storing deployment template.
apache-kylin:k8s/ (kubernetes*) $ tree -L 3 [16:31:09] . ├── config │ ├── production │ │ ├── filebeat │ │ ├── hadoop │ │ ├── kerberos │ │ ├── kylin-all │ │ ├── kylin-job │ │ ├── kylin-more │ │ ├── kylin-query │ │ ├── sso │ │ ├── streaming-receiver │ │ └── tomcat │ └── quickstart │ ├── hadoop │ └── kylin ├── docker │ ├── build.sh │ ├── hadoop-client │ │ ├── CDH-5.7 │ │ ├── README.MD │ │ ├── apache-hadoop2.7 │ │ └── provided-binary │ └── kylin-client │ ├── Dockerfile │ ├── apache-kylin-x.x.x-bin-cdh57 │ ├── bin │ ├── build.sh │ └── crontab.txt └── kubernetes ├── production │ ├── check-deploy.sh │ ├── cleanup.sh │ ├── deploy-kylin.sh │ └── deployment └── quickstart ├── check-cluster.sh ├── cleanup.sh ├── deploy-kylin.sh └── deployment
Credits
Attachments
Attachments
Issue Links
- contains
-
KYLIN-4181 Schedule Kylin using Kubernetes
- Closed
1.
|
Kylin on kubernetes in a quickstart env | Closed | Xiaoxiang Yu |
|
|||||||||
2.
|
Kylin on kubernetes in a production env | Closed | Xiaoxiang Yu |
|
|||||||||
3.
|
Provide documentation for Kylin on kubernetes | Closed | Xiaoxiang Yu |
|